更改静态资源host
This commit is contained in:
@@ -18,7 +18,8 @@ Page({
|
||||
confirmBtn: {
|
||||
"openType": "contact",
|
||||
"content": "确认",
|
||||
}
|
||||
},
|
||||
static_host: api.getStaticHost()
|
||||
},
|
||||
onShow(){
|
||||
this.getList();
|
||||
|
||||
@@ -5,33 +5,33 @@
|
||||
<view class="item_top">
|
||||
<view class="item_img" wx:if="{{item.link_params.inquiry_type == 1}}">
|
||||
<text style="margin-left: 10rpx;">在线问诊</text>
|
||||
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/online.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
|
||||
<van-image class="van_img" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/online.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
|
||||
</view>
|
||||
<view class="item_img" wx:if="{{item.link_params.inquiry_type == 2}}">
|
||||
<text style="margin-left: 10rpx;">快速问诊</text>
|
||||
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
|
||||
<van-image class="van_img" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
|
||||
</view>
|
||||
<view class="item_img" wx:if="{{item.link_params.inquiry_type == 3}}">
|
||||
<text style="margin-left: 10rpx;">公益问诊</text>
|
||||
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/yizhen.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
|
||||
<van-image class="van_img" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/yizhen.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
|
||||
</view>
|
||||
<view class="item_img" wx:if="{{item.link_params.inquiry_type == 4}}">
|
||||
<text style="margin-left: 10rpx;">问诊购药</text>
|
||||
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/drug.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
|
||||
<van-image class="van_img" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/drug.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
|
||||
</view>
|
||||
<view class="item_date">{{item.notice_send_time}}</view>
|
||||
</view>
|
||||
<view class="item_content">
|
||||
{{item.notice_brief_title}}
|
||||
<view class="hongdian" wx:if="{{item.read_status == 0}}">
|
||||
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/honhdian.png" fit="heightFix" height="20rpx" aria-label="qrcode" />
|
||||
<van-image src="{{static_host}}/applet/doctor/static/images/yishi/honhdian.png" fit="heightFix" height="20rpx" aria-label="qrcode" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-empty description="暂无数据" wx:if="{{list.length == 0}}" />
|
||||
<van-divider contentPosition="center" wx:if="{{list.length > 0 && current_page == last_page}}">到底了~</van-divider>
|
||||
<van-image bind:click="putMessageReadNoticeAll" style="position: fixed; right: 0;bottom: 262rpx;" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/service_notice/readall.png" fit="heightFix" height="84rpx" aria-label="role" />
|
||||
<van-image bind:click="putMessageReadNoticeAll" style="position: fixed; right: 0;bottom: 262rpx;" src="{{static_host}}/applet/doctor/static/images/yishi/service_notice/readall.png" fit="heightFix" height="84rpx" aria-label="role" />
|
||||
<view style="height: 50rpx;"></view>
|
||||
|
||||
<t-dialog
|
||||
|
||||
Reference in New Issue
Block a user