index.wxml 886 Bytes
<view class="container">
  <form>
    <view class="apply-info">
      <block wx:for="{{formDataList}}" wx:key="index">
          <block wx:if="{{!item.isHidden}}">
            <GlsxFormItem
              switch-item-class="switch-item-class"
              switch-active-class="switch-active-class"
              switch-class="switch-class"
              lable-class="lable-class"
              inline="{{inline}}"
              textPostion="{{textPostion}}"
              formItem="{{item}}"
              formObj="{{formDataObj}}"
              bind:getFormItemValue="getFormItemValue"
              bind:customClick="customClick"
              themeStyle="{{themeStyle}}"
            >
              <slot name="{{item.name}}"></slot>
              <slot name="{{item.lableStyle}}"></slot>
            </GlsxFormItem>
          </block>
      </block>
    </view>
  </form>
</view>