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.
1 lines
1.6 KiB
1 lines
1.6 KiB
<view><view class="edgeInsetTop"></view><view class="cu-form-group"><view class="title">选择银行</view><picker value="{{index}}" range="{{bankList}}" range-key="bankName" data-event-opts="{{[['change',[['bankChange',['$event']]]]]}}" bindchange="__e"><view class="picker"><block wx:if="{{index>-1}}"><view class="flex justify-end align-center"><image src="{{'/static/images/bank/'+bankList[index].bankCode+'.png'}}"></image><view class="margin-left-xs">{{bankList[index].bankName}}</view></view></block><block wx:else><view>请选择</view></block></view></picker></view><view class="cu-form-group"><view class="title">银行账号</view><input type="text" placeholder="填写银行卡 / 支付宝微信账号" data-event-opts="{{[['input',[['__set_model',['$0','cardCode','$event',[]],['bankData']]]]]}}" value="{{bankData.cardCode}}" bindinput="__e"/></view><view class="cu-form-group"><view class="title">持卡姓名</view><input type="text" maxlength="4" placeholder="持账户人姓名" data-event-opts="{{[['input',[['__set_model',['$0','username','$event',[]],['bankData']]]]]}}" value="{{bankData.username}}" bindinput="__e"/></view><view class="cu-form-group"><view class="title">手机号码</view><input type="number" maxlength="11" placeholder="持账户人手机号" data-event-opts="{{[['input',[['__set_model',['$0','mobile','$event',[]],['bankData']]]]]}}" value="{{bankData.mobile}}" bindinput="__e"/></view><view class="padding-bj flex flex-direction margin-top"><button data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="cu-btn wanl-bg-orange lg" bindtap="__e">完成</button></view></view> |