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.
30 lines
1.6 KiB
30 lines
1.6 KiB
<!--pages/client/bank-list/index.wxml-->
|
|
<cu-custom bgColor="bg-white" isBack="{{true}}">
|
|
<view slot="content">我的银行卡</view>
|
|
</cu-custom>
|
|
|
|
<scroll-view scroll-y style="height: {{height}}rpx;padding:0rpx 32rpx">
|
|
<view wx:for="{{bankList}}" wx:key="index" class="item-bank" data-index="{{index}}" bindtap="showActionSheet">
|
|
<view class="flex">
|
|
<view class="cu-avatar slg round" style="background-image:url({{item.bankIcon}});"></view>
|
|
<view style="margin-left: 12rpx;flex: 1">
|
|
<view class="bank-name">{{item.bankName ? item.bankName : item.cardName}}</view>
|
|
<view class="bank-type">{{item.cardType=='PC'?'"预付费卡':(item.cardType=='SCC'?'准贷记卡':(item.cardType=='CC'?'信用卡':'储蓄卡'))}}</view>
|
|
</view>
|
|
<image style="width:32rpx;height:32rpx;" src="/assets/image/icon_bank.png" wx:if="{{item.isDefault==1}}"></image>
|
|
</view>
|
|
<view style="margin-left: 72rpx;margin-top:24rpx">
|
|
<text class="bank-suffix" style="margin-right: 12rpx">****</text>
|
|
<text class="bank-suffix" style="margin-right: 12rpx">****</text>
|
|
<text class="bank-suffix" style="margin-right: 12rpx">****</text>
|
|
<text class="bank-suffix">{{item.cardNoSuffix}}</text>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-center add-bank" data-index="{{-1}}" bindtap="showActionSheet">
|
|
<text class="cuIcon-add text-black" style="font-size:48rpx"></text>
|
|
<text class="text-black" style="font-size:28rpx;margin-left:12rpx">添加银行卡</text>
|
|
</view>
|
|
</scroll-view>
|
|
|
|
<van-dialog id="van-dialog" />
|
|
<van-action-sheet show="{{ show }}" actions="{{ actions }}" bind:close="onClose" bind:select="onSelect" z-index="22" />
|