更改静态资源host

This commit is contained in:
haomingming
2023-05-10 10:49:40 +08:00
parent 807698b89f
commit 7ef82dab29
51 changed files with 155 additions and 153 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ Page({
bank_card_id: "",
bank_img_path: "",
bank_name: "",
bank_card_code_mask: ""
bank_card_code_mask: "",
static_host: api.getStaticHost()
},
onShow(){
+1 -11
View File
@@ -11,7 +11,7 @@
</view>
<view class="bankcard_empty_box" wx:if="{{ banklist_empty }}">
<view class="bankcard_empty">
<van-image src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/bankcard_empty.png" fit="widthFix" width="500rpx" aria-label="空" />
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/bankcard_empty.png" fit="widthFix" width="500rpx" 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>
@@ -22,16 +22,6 @@
<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">
<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">
<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> -->
<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">