更改静态资源host
This commit is contained in:
@@ -39,7 +39,8 @@ Page({
|
||||
sub_disabled: false,
|
||||
from: "",
|
||||
now_filed_focus: 'save_durg_prescription_product_num',
|
||||
page_meta_show: true
|
||||
page_meta_show: true,
|
||||
static_host: api.getStaticHost()
|
||||
},
|
||||
changeFocus(e){
|
||||
let next_filed_focus = e.currentTarget.dataset.next_filed_focus;
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
width="300rpx"
|
||||
height="300rpx"
|
||||
fit="contain"
|
||||
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/search_drugs.png"
|
||||
src="{{static_host}}/applet/doctor/static/images/yishi/search_drugs.png"
|
||||
/>
|
||||
</view>
|
||||
<view class="search_drug_list_noempty" wx:if="{{ !search_drug_list_empty }}">
|
||||
|
||||
Reference in New Issue
Block a user