You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.9 KiB
60 lines
2.9 KiB
<!--pages/bank/edit/index.wxml-->
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">添加银行卡</view>
|
|
</cu-custom>
|
|
|
|
<view class="flex flex-center" style="padding:32rpx">
|
|
<text class="text-xxl">安全绑卡,快捷支付</text>
|
|
</view>
|
|
|
|
<view class="cu-list menu no-card sm-border">
|
|
<view class="cu-item">
|
|
<view class="flex content cu-item" style="font-size:28rpx">
|
|
<view style="min-width:170rpx">持卡人姓名:</view>
|
|
<input id="name" maxlength="16" style="width:65%" disabled="{{true}}" value="{{form.name}}" placeholder="请输入持卡人姓名" bindinput="bindForm"></input>
|
|
</view>
|
|
</view>
|
|
<view class="cu-item">
|
|
<view class="flex content cu-item" style="font-size:28rpx">
|
|
<view style="min-width:170rpx">银行卡卡号:</view>
|
|
<input id="cardNo" maxlength="24" style="width:65%" type="number" value="{{form.cardNo}}" bindblur="inputBlur" placeholder="请输入银行卡卡号" bindinput="bindForm"></input>
|
|
</view>
|
|
<!-- <ocr-navigator bind:onSuccess="blankSuccess" certificateType="bankCard">
|
|
<text class="cuIcon-scan text-blue" style="font-size:48rpx"/>
|
|
</ocr-navigator> -->
|
|
<text class="cuIcon-scan text-blue" style="font-size:48rpx" bindtap="scanCard"/>
|
|
</view>
|
|
<view class="cu-item" wx:if="{{form.cardName}}">
|
|
<view class="flex cu-item flex-center" style="font-size:28rpx">
|
|
<image class="cu-avatar sm round" src="{{'https://medou.oss-cn-shenzhen.aliyuncs.com/bank/' + form.cardName + '.png'}}"></image>
|
|
<view style="margin-left:24rpx">{{bankName}}</view>
|
|
<view class="text-gray" style="margin-left:24rpx">{{cardType}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="cu-list menu no-card sm-border margin-top" wx:if="{{form.type == 4}}">
|
|
<!-- <view class="cu-item">
|
|
<view class="flex content cu-item" style="font-size:28rpx">
|
|
<view style="min-width:170rpx">身份证号码:</view>
|
|
<input id="idno" maxlength="20" style="width:65%" type="idcard" bindblur="inputBlur" placeholder="请输入身份证号码" bindinput="bindForm"></input>
|
|
</view>
|
|
</view> -->
|
|
<view class="cu-item">
|
|
<view class="flex content cu-item" style="font-size:28rpx">
|
|
<view style="min-width:170rpx">手机号:</view>
|
|
<input id="phone" maxlength="11" type="number" placeholder="请输入银行预留手机号码" bindinput="bindForm"></input>
|
|
</view>
|
|
</view>
|
|
<view class="cu-item">
|
|
<view class="flex content cu-item" style="font-size:28rpx">
|
|
<view style="min-width:170rpx">验证码:</view>
|
|
<input id="verificationCode" maxlength="6" type="number" placeholder="请输入验证码" bindinput="bindForm"></input>
|
|
</view>
|
|
<wux-button outline type="positive" size="code" disabled="{{!codeEnable}}" bind:click="fetchCode">{{ second || '获取验证码' }}</wux-button>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="flex flex-direction" style="padding:80rpx 32rpx">
|
|
<wux-button block type="positive" bind:click="submitForm">{{form.type == 4 ? '提交' : '下一步'}}</wux-button>
|
|
</view>
|