视频预览

zhc4dev
Gitea 2 years ago
parent d76fb04ef3
commit 4665e0dd1e
  1. 3
      ant-design-vue-jeecg/src/views/zygoods/modules/ZyGoodsForm.vue

@ -56,7 +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"/> <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">
@ -128,6 +128,7 @@
lx:'zy_cloths_type ,type_name,id', lx:'zy_cloths_type ,type_name,id',
ks:'zy_cloths_style,style_names,id', ks:'zy_cloths_style,style_names,id',
xh:'zy_style_model,model_number,id', xh:'zy_style_model,model_number,id',
autoplay:true,
model:{ model:{
customized:0, customized:0,
recommend:0, recommend:0,

Loading…
Cancel
Save