<!--pages/mine/wxml/shopregistration/shopregistration.wxml-->
<view class='container'>
  <form bindsubmit="formSubmit" id="container" bindreset="formReset" report-submit='true'>
    <view class='count'>
      <view class='phone'>
        <view>
          注册店铺名称
        </view>
        <input name="shopname" placeholder="请填写店铺名称" maxlength="20">

        </input>
      </view>
      <view class="phone">
        <view class="section__title">店铺类型 ： </view>
        <picker bindchange="bindPickerChange" range="{{array}}"  value="{{array[index]}}" name="choice">
          <view class="picker">
            {{array[index]}}
          </view>
        </picker>
        <image src="/images/up.png"></image>
      </view>
       <!-- <view class="phone">
        <picker bindchange="bindPickerChanges" range="{{newarray}}"  value="{{newarray[indexs]}}" name="twolevelmenu">
          <view class="picker">
            {{newarray[indexs]}}
          </view>
        </picker>
        <image src="/../images/up.png"></image>
      </view> -->
      <view class='phone'>
        <view>
          注册人联系方式
        </view>
        <input name="shopphone" type='number' placeholder="请填写联系方式" maxlength="15">

        </input>
      </view>

      <view class='phone'>
        <view>
          注册人身份证
        </view>
        <input name="ID" type='number' placeholder="请填写身份证号" maxlength="18">

        </input>
      </view>
      <view class='phone'>
        <view>
          注册人真实姓名
        </view>
        <input name="realname" placeholder="请填写真实姓名" maxlength="20">

        </input>
      </view>
      <view class='phone'>
        <view>
          注册人联系地址
        </view>
        <input name="shopaddress" placeholder="请填写联系地址" maxlength="255"></input>
      </view>
      <view class='phone'>
        <view>
          开户银行
        </view>
         <picker  bindchange="bindPickerChangebank" range="{{bankarray}}"  value="{{bankindex}}" name="bankname">
          <view class="picker">
            {{bankarray[bankindex]}}
          </view>
        </picker>
        <image src="/images/up.png"></image>
      </view>
      <view class='phone'>
        <view>
          银行账号
        </view>
        <input name="bankcode" placeholder="请填写银行账号" maxlength="19"></input>
      </view>

      <view class='phone'>
        <view>
          开户人姓名
        </view>
        <input name="bankusername" placeholder="请填写开户人姓名" maxlength="20"></input>
      </view>
      <!-- <view class="up-load-img">
        <view class="img-front img-box">
          <view class="img-title">
            <view>身份证正面照</view>
          </view>
          <view class="img-tips">
            <icon type="info" size="15" color="#fca677"></icon>
            <view>请使用手机横向拍摄以保证图片正常显示</view>
          </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">
            <view>身份证反面照</view>
          </view>
          <view class="img-tips">
            <icon type="info" size="15" color="#fca677"></icon>
            <view>请使用手机横向拍摄以保证图片正常显示</view>
          </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">
            <view>手持身份证照</view>
          </view>
          <view class="img-tips">
            <icon type="info" size="15" color="#fca677"></icon>
            <view>请使用手机横向拍摄以保证图片正常显示</view>
          </view>
          <view class="img-photo">
            <image src="{{completePhoto}}" mode="aspectFill"></image>
            <button bindtap='onSelectPhoto' data-btnName="complete">点击选择图片</button>
          </view>
        </view>
      </view> -->
      <button class='btn' type="warn" size="{{defaultSize}}" loading="{{loading}}" plain="{{plain}}" formType="submit" hover-class="other-button-hover"> 确认注册</button>
    </view>
  </form>
</view>