|
|
@ -56,6 +56,7 @@ |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-form-model-item label="商品视频" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="goodsVideo"> |
|
|
|
<a-form-model-item label="商品视频" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="goodsVideo"> |
|
|
|
<j-upload v-model="model.goodsVideo" ></j-upload> |
|
|
|
<j-upload v-model="model.goodsVideo" ></j-upload> |
|
|
|
|
|
|
|
<video v-if="model.goodsVideo" :src="video" style="border:1px solid #d9d9d9;width:100%;" autoplay="autoplay"/> |
|
|
|
</a-form-model-item> |
|
|
|
</a-form-model-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="24"> |
|
|
|
<a-col :span="24"> |
|
|
@ -191,6 +192,9 @@ |
|
|
|
formDisabled(){ |
|
|
|
formDisabled(){ |
|
|
|
return this.disabled |
|
|
|
return this.disabled |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
video(){ |
|
|
|
|
|
|
|
return `${window._CONFIG['domianURL']}/sys/common/static/${this.model.goodsVideo}` |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
created () { |
|
|
|
created () { |
|
|
|
//备份model原始值 |
|
|
|
//备份model原始值 |
|
|
|