更改静态资源host
This commit is contained in:
@@ -18,6 +18,7 @@ Page({
|
||||
btn_disabled: true,
|
||||
sfz_show: false,
|
||||
sub_visible: false,
|
||||
static_host: api.getStaticHost()
|
||||
},
|
||||
|
||||
onLoad(){
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
data-file_multiple="true"
|
||||
bindUploadFile="doUploadFile"
|
||||
bindDeleteFile="doDeleteFile"
|
||||
static_host="{{static_host}}"
|
||||
/>
|
||||
|
||||
<m-upload-cell
|
||||
@@ -30,6 +31,7 @@
|
||||
data-file_multiple="true"
|
||||
bindUploadFile="doUploadFile"
|
||||
bindDeleteFile="doDeleteFile"
|
||||
static_host="{{static_host}}"
|
||||
/>
|
||||
|
||||
<van-cell-group border="{{ false }}">
|
||||
@@ -50,7 +52,7 @@
|
||||
<van-button custom-style="height:130rpx;margin-top:20rpx;border-radius: 20rpx;border: 1px dashed #999;width:100%;font-size:30rpx;background-color: #fff;color: #3CC7C0;" icon="edit">点击签名</van-button>
|
||||
</view>
|
||||
<view style="margin-top:20rpx;border-radius: 20rpx;border: 1px dashed #999;" class="sign_img" wx:if="{{sign_image.length > 0}}">
|
||||
<image mode="heightFix" style="transform: rotate(-0deg);width: 100%;" src="{{sign_image[0].url}}"></image>
|
||||
<image bindtap="{{btn_disabled?'':'go'}}" data-url="/Pages/yishi/signcanvas/index" mode="heightFix" style="transform: rotate(-0deg);width: 100%;" src="{{sign_image[0].url}}"></image>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -69,6 +71,7 @@
|
||||
data-file_multiple="true"
|
||||
bindUploadFile="doUploadFile"
|
||||
bindDeleteFile="doDeleteFile"
|
||||
static_host="{{static_host}}"
|
||||
/>
|
||||
<view class="sign_box">
|
||||
<view class="sign_note">提示:平台会在1~3个工作日内审核您提交的资料,审核结果会第一时间通知您。</view>
|
||||
@@ -89,10 +92,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/sfz1.png" />
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/sfz1.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/sfz2.png" />
|
||||
<van-image lazy-load slot="loading" type="spinner" fit="widthFix" width="420rpx" src="{{static_host}}/applet/doctor/static/images/yishi/cert/sfz2.png" />
|
||||
</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
|
||||
Reference in New Issue
Block a user