<!--pages/mine/wxml/submitinfo/submitinfo.wxml-->
<view class="container">
  <view class="title">
    <text class="title-text">实名认证</text>
    <text>（请上传真实的个人信息，认证通过后将无法修改）</text>
  </view>
  <form bindsubmit='formSubmit'>
    <view class="user-info-form">
      <view class="input-box">
        <text>姓名</text>
        <input id="user-name" type="text" placeholder="请输入真实姓名" bindblur="onCheck" name="userName"></input>
        <icon type="warn" size="20" wx:if="{{userNameCheck}}"></icon>        
      </view>
      <view class="input-box">
        <text>身份证号</text>      
        <input id="user-idcard" type="idcard" placeholder="请输入身份证号" bindblur="onCheck" name="userIdcard"></input>      
        <icon type="warn" size="20" wx:if="{{userIdcardCheck}}"></icon>      
      </view>
      <view class="input-box">
        <text>联系电话</text>        
        <input id="user-phone" type="number" placeholder="请输入手机号码" bindblur="onCheck" name="userPhone"></input>        
        <icon type="warn" size="20" wx:if="{{userPhoneCheck}}"></icon>         
      </view>
      <view class="input-box">
        <text>所属企业</text>         
        <picker class="" bindchange="bindPickerChange" value="{{pickerIndex}}" range="{{AuctionCompanies}}" name="AuctionCompanies">
          <view class="picker">
            {{AuctionCompanies[pickerIndex]}}
          </view>
        </picker>        
        <icon type="warn" size="20" wx:if="{{pickerCheck}}"></icon>     
      </view>
    </view>
    <!-- <view class="up-load-img">
      <view class="img-front img-box">
        <view class="img-title">
          <text>身份证正面照</text>        
        </view>
        <view class="img-tips">
          <icon type="info" size="15" color="#fca677"></icon>
          <text>请使用手机横向拍摄以保证图片正常显示</text>      
        </view>
        <view class="img-photo">
          <image src="{{frontPhoto}}" mode="aspectFill"></image>
          <button bindtap='onSelectPhoto' data-btnName="front">点击选择图片</button>
        </view>
      </view>
      <view class="img-back img-box">
        <view class="img-title">
          <text>身份证反面照</text>        
        </view>
        <view class="img-tips">
          <icon type="info" size="15" color="#fca677"></icon>
          <text>请使用手机横向拍摄以保证图片正常显示</text>      
        </view>
        <view class="img-photo">
          <image src="{{backPhoto}}" mode="aspectFill"></image>
          <button bindtap='onSelectPhoto' data-btnName="back">点击选择图片</button>
        </view>
      </view>
      <view class="img-complete img-box">
        <view class="img-title">
          <text>手持身份证照</text>        
        </view>
        <view class="img-tips">
          <icon type="info" size="15" color="#fca677"></icon>
          <text>请使用手机横向拍摄以保证图片正常显示</text>      
        </view>
        <view class="img-photo">
          <image src="{{completePhoto}}" mode="aspectFill"></image>
          <button bindtap='onSelectPhoto' data-btnName="complete">点击选择图片</button>
        </view>
      </view>
    </view> -->
    <view class="prompt">
      <text class="prompt-line"></text>
      <text class="prompt-text">请确认以上信息准确无误</text>
    </view>
    <button type="primary" form-type="submit" disabled="{{buttonInfo}}">提交</button>
  </form>
</view>