<form bindsubmit='onSubmit'>
  <view class="weui-cells__group weui-cells__group_form p10">
    <view class="weui-cells weui-cells_form br8 mt0">
      <view class="weui-cell">
        <view class="weui-cell__hd">
          <label class="weui-label">持卡人</label>
        </view>
        <view class="weui-cell__bd">
          <view class="va-center">
            <view class="weui-cell__bd">
              <input name="realName" value="{{user.realName}}" bindinput="userNameFull" class="weui-input tr" placeholder="请输入持卡人" placeholder-class="weui-input__placeholder" style="pointer-events: none;" />
            </view>
            <i class="iconfont icon-shuoming f20 c6 db" style="padding-left:8px;" bindtap="showNotice"></i>
          </view>
        </view>
      </view>
      <view class="weui-cell">
        <view class="weui-cell__hd">
          <label class="weui-label" style="width:60px;">卡号</label>
        </view>
        <view class="weui-cell__bd">
          <view class="va-center">
            <view class="weui-cell__bd">
              <input name="cardNum" value="{{cardNum}}" class="weui-input tr" bindinput="cardNumFull" placeholder="请输入持卡人本人的银行卡号" placeholder-class="weui-input__placeholder" />
            </view>
            <i class="iconfont icon-zhaoxiangji f20 c6 db" style="padding-left:8px;" bindtap="uploadBankImage"></i>
          </view>
        </view>
      </view>
      <!-- <view class="weui-cell">
        <view class="weui-cell__hd"><label class="weui-label">银行</label></view>
        <view class="weui-cell__bd">
          <input name="bankName" value="{{bankName}}" class="weui-input tr"  bindinput="bankNameFull" placeholder="请输入银行名称" placeholder-class="weui-input__placeholder" />
        </view>
      </view> -->
      <view class="weui-cell">
        <view class="weui-cell__hd">
          <label class="weui-label">开户省市</label>
        </view>
        <view class="weui-cell__bd">
          <view class="va-center">
            <view class="weui-cell__bd">
              <!-- <picker mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}">
            <view class="picker  tr">

              <block wx:if="{{multiIndex[0] == -1}}">
                <view class="cccc tr dib">
                  请选择开户省市
                </view>
              </block>
              <block wx:else>
                <view class="c3 tr dib">{{multiArray[0][multiIndex[0]]}}{{multiArray[1][multiIndex[1]]}}</view>
              </block>
            </view>
          </picker> -->
              <picker mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndexTemp}}" range="{{multiArrayTemp}}">
                <view class="picker tr">
                  <view wx:if="{{multiSelected}}" style="text-align: left;  display: inline-block">{{multiArray[0][multiIndex[0]]}}，{{multiArray[1][multiIndex[1]]}}</view>
                  <view wx:else style="text-align: left;  display: inline-block;color: #b2b2b2;">请选择地区</view>
                </view>
              </picker>
              <!-- <input name="bankCity" value="{{bankCity}}" class="weui-input tr" placeholder="请选择开户省市" placeholder-class="weui-input__placeholder" /> -->
            </view>
            <i class="iconfont icon-you f16 c9" style="padding-left:8px;"></i>
          </view>
        </view>
      </view>
    </view>
  </view>
  <!-- cardNumif && userNameif && bankNameif && multiIndexif -->
  <!-- {{cardNumif}} && {{userNameif}} && {{bankNameif}} && {{multiIndexif}} -->
  <button type='mini' formType='submit' class="loginOut ysd-basebg-color" style="font-weight:400;margin-top:70px;margin-bottom:30px;">确认绑定</button>
</form>
<scroll-view class="fadeIn" wx:if="{{noticeShow}}" style="position: relative;z-index: 999;">
  <view class="weui-mask"></view>
  <view class="weui-dialog">
    <view class="weui-dialog__hd">
      <strong class="weui-dialog__title">持卡人说明</strong>
    </view>
    <view class="weui-dialog__bd">
      <view>为了您的资金安全，目前仅支持绑定 您本人的银行卡。</view>
    </view>
    <view class="display-flex pb20 v-center">
      <view class="flex-1 lflex p020" hover-class="thover">
        <button class="btnFlex" bindtap="close">知道了</button>
      </view>
    </view>
  </view>
</scroll-view>
<view class="f12 tc c045 mt36 display-flex">
  <!-- <switch checked="{{switch1Checked}}" class="dib" color="#027AFF" style="transform:scale(.5)" bindchange="switch1Change" /> -->
  <radio-group class="dib">
    <radio checked="{{switch1Checked}}" catchtap="switch1Change" value="0" class="dib" color="#1890ff" style="transform:scale(.7)" />
  </radio-group>
  我已阅读并同意
  <navigator url="../serviceTerm/index" class="aLink">《服务协议》</navigator>
  及
  <navigator url="../secret/index" class="aLink">《隐私政策》</navigator>
</view>