优化页面
This commit is contained in:
@@ -17,7 +17,7 @@ Page({
|
||||
onShow(){
|
||||
|
||||
api.getDoctorBank().then(response => {
|
||||
if(response.data.total > 0){
|
||||
if(response.data.bank_card_id){
|
||||
this.setData({
|
||||
banklist_empty: false,
|
||||
bank_card_code_mask: response.data.bank_card_code_mask,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"te-nav-bar": "/commpents/te_navbar",
|
||||
"t-image": "tdesign-miniprogram/image/image",
|
||||
"van-image": "@vant/weapp/image/index",
|
||||
"t-icon": "tdesign-miniprogram/icon/icon",
|
||||
"van-button": "@vant/weapp/button/index"
|
||||
}
|
||||
|
||||
@@ -11,24 +11,24 @@
|
||||
</view>
|
||||
<view class="bankcard_empty_box" wx:if="{{ banklist_empty }}">
|
||||
<view class="bankcard_empty">
|
||||
<t-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard_empty.png" mode="heightFix" width="200rpx" aria-label="空" />
|
||||
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard_empty.png" fit="heightFix" width="200rpx" aria-label="空" />
|
||||
</view>
|
||||
<van-button data-url="/Pages/yishi/bindcard/index" bind:click="go" custom-style="font-size: 30rpx;border-radius: 10rpx;background-color:#3CC7C0;border: none;width: 92vw;margin: 50rpx auto;" type="primary" block>添加结算银行卡</van-button>
|
||||
<view class="note">提示:每人只能绑定一张银行卡,银行卡绑定成功后每月只能修改结算银行卡一次,请谨慎绑定。</view>
|
||||
</view>
|
||||
<view class="bankcard_list" wx:if="{{ !banklist_empty }}">
|
||||
<view class="bankcard_list_item">
|
||||
<t-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard/gs.png" mode="widthFix" width="100%" aria-label="空" />
|
||||
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard/gs.png" fit="widthFix" width="100%" aria-label="空" />
|
||||
<view class="bankcard_list_item_name">{{bank_name}}</view>
|
||||
<view class="bankcard_list_item_num">{{bank_card_code_mask}}</view>
|
||||
</view>
|
||||
<!-- <view class="bankcard_list_item">
|
||||
<t-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard/ny.png" mode="widthFix" width="100%" aria-label="空" />
|
||||
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard/ny.png" fit="widthFix" width="100%" aria-label="空" />
|
||||
<view class="bankcard_list_item_name">中国农业银行</view>
|
||||
<view class="bankcard_list_item_num">3034 **** **** **** 2698</view>
|
||||
</view> -->
|
||||
<!-- <view class="bankcard_list_item">
|
||||
<t-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard/js.png" mode="widthFix" width="100%" aria-label="空" />
|
||||
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/bankcard/js.png" fit="widthFix" width="100%" aria-label="空" />
|
||||
<view class="bankcard_list_item_name">中国建设银行</view>
|
||||
<view class="bankcard_list_item_num">3034 **** **** **** 2698</view>
|
||||
</view> -->
|
||||
|
||||
Reference in New Issue
Block a user