<view class='container'>
  <view class='main'>
    <!-- 信息输入框 -->
    <view class="section">
      <input placeholder='手机号码' type='number' maxlength='11' bindinput='onMobileInput'></input>
    </view>
    <view class="section" wx:if="{{needRealName}}">
      <input placeholder='真实姓名' type='text' bindinput='onRealNameInput'></input>
    </view>
    <view class="section" wx:if="{{needIdCardNo}}">
      <input placeholder='身份证号码' type='text' maxlength='18' bindinput='onIdCardNoInput' ></input>
    </view>
    <view wx:if="{{neddIdCardPic}}">
      <view class='upload' bindtap='uploadIdCardFront'>
        <image wx:if="{{_identityCardPicFront}}" src='{{_identityCardPicFront}}'></image>
        <text wx:else>上传身份证人像面</text>
      </view>
      <view class='upload' bindtap='uploadIdCardBack'>
        <image wx:if="{{_identityCardPicBack}}" src='{{_identityCardPicBack}}'></image>
        <text wx:else>上传身份证国徽面</text>
      </view>
      <view class='upload' bindtap='uploadIdCardHold'>
        <image wx:if="{{_identityCardPicHold}}" src='{{_identityCardPicHold}}'></image>
        <text wx:else>上传手持身份证照片</text>
      </view>
    </view>
    

    <!-- 提交申请栏 -->
    <view class='submit-btn' bindtap='submitDisterApply'>
      <text>提交申请</text>
    </view>
    <!--end 提交申请栏 -->
  </view>
</view>