更改静态资源host
This commit is contained in:
@@ -20,6 +20,10 @@ Component({
|
||||
type: String,
|
||||
value: '示例备注',
|
||||
},
|
||||
static_host: {
|
||||
type: String,
|
||||
value: 'static_host',
|
||||
},
|
||||
upload_cell_note_show:{
|
||||
type: Boolean,
|
||||
value: true,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</view>
|
||||
<view class="upload-cell-input">
|
||||
<van-uploader disabled="{{disabled}}" multiple="{{is_multiple}}" preview-full-image="{{true}}" file-list="{{ fileList }}" max-count="{{max_count}}" deletable="{{ deletable }}" bind:after-read="afterRead" bind:delete="delete" >
|
||||
<van-image width="100" height="100" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/upload_button.png" />
|
||||
<van-image width="100" height="100" src="{{static_host}}/applet/doctor/static/images/yishi/upload_button.png" />
|
||||
</van-uploader>
|
||||
</view>
|
||||
<view class="error_box" wx:if="{{ has_error_content != '' }}" >
|
||||
|
||||
Reference in New Issue
Block a user