更改静态资源host
This commit is contained in:
@@ -27,7 +27,8 @@ Component({
|
||||
},
|
||||
realname:"",
|
||||
idcard:"",
|
||||
avatar: "https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/default_photo.png",
|
||||
static_host: api.getStaticHost(),
|
||||
avatar: api.getStaticHost()+"/applet/doctor/static/images/default_photo.png",
|
||||
is_avatar: false,
|
||||
city_show: false,
|
||||
keshi_show: false,
|
||||
|
||||
@@ -123,10 +123,10 @@
|
||||
<view class="zhiye_popup">
|
||||
<view class="zhiye_popup_title">医师执业证示例</view>
|
||||
<view class="zhiye_popup_img">
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/zhiye1.png" />
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zhiye1.png" />
|
||||
</view>
|
||||
<view class="zhiye_popup_img">
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/zhiye2.png" />
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zhiye2.png" />
|
||||
</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
@@ -142,10 +142,10 @@
|
||||
<view class="zhiye_popup">
|
||||
<view class="zhiye_popup_title">医师资格证示例</view>
|
||||
<view class="zhiye_popup_img">
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/zige1.png" />
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zige1.png" />
|
||||
</view>
|
||||
<view class="zhiye_popup_img">
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/zige2.png" />
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zige2.png" />
|
||||
</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
@@ -161,7 +161,7 @@
|
||||
<view class="zhiye_popup">
|
||||
<view class="zhiye_popup_title">职称证示例</view>
|
||||
<view class="zhiye_popup_img">
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="https://img.applets.igandanyiyuan.com/applet/doctor/static/images/yishi/cert/zhicheng.png" />
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/zhicheng.png" />
|
||||
</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
@@ -310,6 +310,7 @@
|
||||
wx:if="{{indentity}}"
|
||||
disabled="{{(indentity && iden_auth_disabled)}}"
|
||||
is_multiple="true"
|
||||
static_host="{{static_host}}"
|
||||
/>
|
||||
|
||||
<m-upload-cell
|
||||
@@ -331,6 +332,7 @@
|
||||
wx:if="{{indentity}}"
|
||||
disabled="{{(indentity && iden_auth_disabled)}}"
|
||||
is_multiple="true"
|
||||
static_host="{{static_host}}"
|
||||
/>
|
||||
|
||||
<m-upload-cell
|
||||
@@ -352,6 +354,7 @@
|
||||
wx:if="{{indentity}}"
|
||||
disabled="{{(indentity && iden_auth_disabled)}}"
|
||||
is_multiple="true"
|
||||
static_host="{{static_host}}"
|
||||
/>
|
||||
|
||||
<view class="sub_button" wx:if="{{indentity}}">
|
||||
|
||||
Reference in New Issue
Block a user