12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <view class="container">
- <view class="bank-list">
- <view
- class="bank-card"
- wx:for="{{bankCards}}"
- wx:key="id"
- >
- <view class="card-header">
- <view class="bank-name-group">
- <text class="bank-name">{{item.bankName}}</text>
- <text class="card-type-tag">{{item.cardType}}</text>
- </view>
- <view wx:if="{{item.isDefault}}" class="default-tag">默认</view>
- </view>
- <view class="card-number">{{item.cardNumber}}</view>
- <view class="card-actions">
- <view class="action-buttons">
- <button
- class="edit-btn"
- data-id="{{item.id}}"
- bindtap="editBankCard"
- >
- 编辑
- </button>
- <button
- class="delete-btn"
- data-id="{{item.id}}"
- bindtap="deleteBankCard"
- >
- 删除
- </button>
- </view>
- </view>
- </view>
- </view>
- <button
- class="add-card-btn"
- bindtap="addBankCard"
- >
- + 添加收款账户
- </button>
- </view>
|