更改静态资源host
This commit is contained in:
@@ -17,6 +17,7 @@ Page({
|
||||
data_list_4: [],
|
||||
data_list_5: [],
|
||||
message_inquiry_type: 2,
|
||||
static_host: api.getStaticHost()
|
||||
},
|
||||
onLoad() {
|
||||
console.log("wenzhen onload");
|
||||
|
||||
@@ -4,20 +4,20 @@
|
||||
<view class="top">
|
||||
<view class="top_left" bindtap="go" data-url="/Pages/yishi/service_notice/index">
|
||||
<t-badge dot offset="{{ [1, 1] }}" class="wrapper">
|
||||
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
|
||||
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/service_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
|
||||
</t-badge>
|
||||
服务通知
|
||||
</view>
|
||||
<view class="top_right" bindtap="go" data-url="/Pages/yishi/system_notice/index">
|
||||
<t-badge count="8" offset="{{ [1, 1] }}" class="wrapper">
|
||||
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
|
||||
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/system_notice.png" fit="heightFix" height="108rpx" aria-label="notice" />
|
||||
</t-badge>
|
||||
系统公告
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="empty" wx:if="{{ !has_data }}" >
|
||||
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/wnzhen_empty.png" fit="heightFix" height="108rpx" aria-label="empty" />
|
||||
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/wnzhen_empty.png" fit="heightFix" height="108rpx" aria-label="empty" />
|
||||
<view class="empty_note">您还未设置在线问诊价格</view>
|
||||
</view>
|
||||
<van-button color="#3CC7C0" custom-style="width: 92vw;margin: 0 auto;border-radius: 10rpx;" block wx:if="{{ !has_data }}">开通图文问诊</van-button>
|
||||
|
||||
Reference in New Issue
Block a user