|
|
@ -7,27 +7,31 @@ |
|
|
<text class="text-xxl">安全绑卡,快捷支付</text> |
|
|
<text class="text-xxl">安全绑卡,快捷支付</text> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="cu-form-group margin-top"> |
|
|
|
|
|
<view class="title">持卡人姓名:</view> |
|
|
|
|
|
<input id="name" maxlength="16" style="width:65%" value="{{form.name}}" placeholder="请输入持卡人姓名" bindinput="bindForm"></input> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="cu-form-group"> |
|
|
|
|
|
<view class="title">身份证号码:</view> |
|
|
|
|
|
<input id="idno" maxlength="20" style="width:65%" value="{{form.idno}}" placeholder="请输入身份证号码" bindinput="bindForm"></input> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="cu-form-group"> |
|
|
|
|
|
<view class="title">银行卡卡号:</view> |
|
|
|
|
|
<input id="cardNo" maxlength="24" style="width:65%; flex:1" type="number" value="{{form.cardNo}}" bindinput="bindForm" |
|
|
|
|
|
placeholder="请输入银行卡卡号" bindinput="bindForm"></input> |
|
|
|
|
|
<text class="cuIcon-scan text-blue" style="font-size:48rpx" bindtap="scanCard"/> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="cu-form-group" wx:if="{{form.cardName}}"> |
|
|
|
|
|
<image class="cu-avatar sm round" src="{{'https://medou.oss-cn-shenzhen.aliyuncs.com/bank/' + form.cardName + '.png'}}"></image> |
|
|
|
|
|
<view style="margin-left:24rpx;flex:1">{{bankName}}</view> |
|
|
|
|
|
<view class="text-gray" style="margin-left:24rpx">{{cardType}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
<van-field id="name" maxlength="16" value="{{form.name}}" label="持卡人姓名:" placeholder="请输入持卡人姓名" bind:change="bindForm"/> |
|
|
|
|
|
<van-field id="idno" maxlength="20" label="身份证号码:" placeholder="请输入身份证号码" bind:change="bindForm"/> |
|
|
|
|
|
<van-field id="cardNo" maxlength="20" type="number" label="银行卡卡号:" placeholder="请输入银行卡卡号" bind:change="bindForm"> |
|
|
|
|
|
<text slot="button" class="cuIcon-scan text-blue" style="font-size:48rpx" bindtap="scanCard"/> |
|
|
|
|
|
</van-field> |
|
|
|
|
|
|
|
|
|
|
|
<van-cell wx:if="{{form.cardName}}"> |
|
|
|
|
|
<view slot="title" class="flex"> |
|
|
|
|
|
<image class="cu-avatar sm round" src="{{'https://medou.oss-cn-shenzhen.aliyuncs.com/bank/' + form.cardName + '.png'}}"></image> |
|
|
|
|
|
<view style="margin-left:24rpx;flex:1">{{bankName}}</view> |
|
|
|
|
|
<view class="text-gray" style="margin-left:24rpx">{{cardType}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</van-cell> |
|
|
|
|
|
|
|
|
<view class="cu-form-group margin-top" wx:if="{{form.type == 4}}"> |
|
|
|
|
|
|
|
|
<view style="height:24rpx"></view> |
|
|
|
|
|
<van-field id="phone" maxlength="11" label="手机号:" type="number" placeholder="请输入银行预留手机号码" wx:if="{{form.type == 4}}" bind:change="bindForm"/> |
|
|
|
|
|
<van-field id="verificationCode" maxlength="20" type="number" label="验证码:" placeholder="请输入验证码" wx:if="{{form.type == 4}}" bind:change="bindForm"> |
|
|
|
|
|
<van-button slot="button" size="small" round plain type="info" custom-style="width:220rpx" disabled="{{codeEnable}}" bind:click="fetchCaptcha"> |
|
|
|
|
|
<van-count-down class="count-down" time="{{ 60000 }}" use-slot auto-start="{{false}}" bind:change="onCountChange" bind:finish="onFinished"> |
|
|
|
|
|
<text class="text-sm">{{second}}</text> |
|
|
|
|
|
</van-count-down> |
|
|
|
|
|
</van-button> |
|
|
|
|
|
</van-field> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <view class="cu-form-group margin-top" wx:if="{{form.type == 4}}"> |
|
|
<view class="title">手机号:</view> |
|
|
<view class="title">手机号:</view> |
|
|
<input id="phone" maxlength="11" type="number" placeholder="请输入银行预留手机号码" bindinput="bindForm"></input> |
|
|
<input id="phone" maxlength="11" type="number" placeholder="请输入银行预留手机号码" bindinput="bindForm"></input> |
|
|
</view> |
|
|
</view> |
|
|
@ -41,7 +45,7 @@ |
|
|
<text class="text-sm">{{second}}</text> |
|
|
<text class="text-sm">{{second}}</text> |
|
|
</van-count-down> |
|
|
</van-count-down> |
|
|
</van-button> |
|
|
</van-button> |
|
|
</view> |
|
|
|
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
<view style="margin-top:20rpx;padding:80rpx 32rpx"> |
|
|
<view style="margin-top:20rpx;padding:80rpx 32rpx"> |
|
|
<van-button block type="info" bind:click="submitForm">{{form.type == 4 ? '提交' : '下一步'}}</van-button> |
|
|
<van-button block type="info" bind:click="submitForm">{{form.type == 4 ? '提交' : '下一步'}}</van-button> |
|
|
|