<view class='customField-customField {{className}}' style='{{style}}' ref='saveChildRef0'>
  <view class='content'>
    <view class='content_item'>
      <view
        a:for='{{list}}'
        a:if='{{item.isShow===1}}'
        a:key='{{index}}'
        class='border'
        ref-numbers='{{list}}'
      >
        <view a:if="{{item.customType==='下拉选择'&&item.isShow===1}}" class='cu-form-group'>
          <view class='title'>
            <text class="{{item.customNameVal?'text-green':'text-red'}}">
              *
            </text>
            <text>
              {{item.customName}}
            </text>
          </view>
          <picker
            disabled='{{item.isEditable === 0}}'
            data-index='{{index}}'
            value='{{item.customNameVal}}'
            range='{{item.configurationOption}}'
            range-key="{{'name'}}"
            onChange='getSelect'
          >
            <view class='picker'>
              {{item.customNameVal?item.customNameVal:item.prompt ||'请选择'}}
              <!-- <van-icon class='icon' name='arrow' ref='saveChildRef1'></van-icon> -->
            </view>
          </picker>
        </view>
        <view a:if="{{item.customType==='文本' &&item.isShow===1}}" class='cu-form-group'>
          <view class='title'>
            <text class="{{item.customNameVal?'text-green':'text-red'}}">
              *
            </text>
            <text>
              {{item.customName}}
            </text>
          </view>
          <custom-input
            disabled='{{item.isEditable === 0}}'
            type='text'
            value='{{item.customNameVal}}'
            placeholder="{{item.prompt || '请填写内容'}}"
            data-index='{{index}}'
            onInput='getValue'
          >
          </custom-input>
        </view>
        <view a:if="{{item.customType==='日期'&&item.isShow===1}}" class='cu-form-group'>
          <view class='title'>
            <text class="{{item.customNameVal ?'text-green':'text-red'}}">
              *
            </text>
            <text>
              {{item.customName}}
            </text>
          </view>
          <picker
            disabled='{{item.isEditable === 0}}'
            data-index='{{index}}'
            class='picker'
            mode='date'
            value='{{item.customNameVal}}'
            start='2015-01-01'
            end='2100-01-01'
            onChange='getValue'
          >
            <view class='picker'>
              {{item.customNameVal?item.customNameVal:item.prompt ||'请选择日期'}}
            </view>
          </picker>
        </view>
        <view a:if="{{item.customType==='时间'&&item.isShow===1}}" class='cu-form-group'>
          <view class='title'>
            <text class="{{item.customNameVal?'text-green':'text-red'}}">
              *
            </text>
            <text>
              {{item.customName}}
            </text>
          </view>
          <picker
            disabled='{{item.isEditable === 0}}'
            data-index='{{index}}'
            class='picker'
            mode='time'
            value='{{item.customNameVal}}'
            start='00:00'
            end='23:59'
            onChange='getValue'
          >
            <view class='picker'>
              {{item.customNameVal?item.customNameVal:item.prompt ||'请选择时间'}}
            </view>
          </picker>
        </view>
        <view a:if="{{item.customType==='图片'&&item.isShow===1}}" class='cu-form-group height'>
          <view class='title'>
            <text class="{{item.customNameVal?'text-green':'text-red'}}">
              *
            </text>
            <text>
              {{item.customName}}
            </text>
          </view>
          <view a:if='{{item.customNameVal}}' class='img_box'>
            <image
              src='{{item.customNameVal}}'
              class='img'
              data-src='{{item.customNameVal}}'
              onTap='antmoveAction'
              data-antmove-tap='previewImg'
            >
            </image>
            <image
              src='/static/images/delete_img.png'
              class='DelImg'
              data-index='{{index}}'
              data-type='vvv'
              catchTap='antmoveAction'
              data-antmove-tap='DelImg'
            >
            </image>
          </view>
          <image
            a:else
            class='upload'
            data-index='{{index}}'
            src='/static/images/default_img.png'
            onTap='antmoveAction'
            data-antmove-tap='doUploadAvatar'
          >
          </image>
        </view>
        <view a:if="{{(item.customType==='省市区'||item.customType==='省市区街道')&&item.isShow===1}}">
          <view class='cu-form-group'>
            <view class='title'>
              <text class="{{item.customNameVal?'text-green':'text-red'}}">
                *
              </text>
              <text>
                {{item.customName}}
              </text>
            </view>
            <area-picker
              content='{{item.customNameVal}}'
              hasStreet="{{item.customType==='省市区街道'}}"
              data-index='{{index}}'
              onValue='getAddress'
              ref='saveChildRef2'
            >
            </area-picker>
          </view>
        </view>
      </view>
    </view>
  </view>
</view>