|
@@ -38,20 +38,22 @@
|
|
|
{{ form.contentType==='IMAGE_CONTENT'?'图文展示':form.contentType==='VIDEO'?'视频展示':'跳转链接' }}
|
|
|
</a-form-model-item>
|
|
|
<div v-if="form.contentType==='IMAGE_CONTENT'">
|
|
|
- <a-form-model-item label="内容" prop="productRangeList" >
|
|
|
+ <a-form-model-item label="内容" prop="content" >
|
|
|
<div class="box" v-html="form.content"></div>
|
|
|
</a-form-model-item>
|
|
|
</div>
|
|
|
<div v-if="form.contentType==='VIDEO'">
|
|
|
- <video
|
|
|
- ref="videoPlayer"
|
|
|
- width="230"
|
|
|
- height="150"
|
|
|
- controls
|
|
|
- loop
|
|
|
- controlsList="nodownload">
|
|
|
- <source :src="form.content" type="video/mp4">
|
|
|
- </video>
|
|
|
+ <a-form-model-item label="内容" prop="content" >
|
|
|
+ <video
|
|
|
+ ref="videoPlayer"
|
|
|
+ width="230"
|
|
|
+ height="150"
|
|
|
+ controls
|
|
|
+ loop
|
|
|
+ controlsList="nodownload">
|
|
|
+ <source :src="form.content" type="video/mp4">
|
|
|
+ </video>
|
|
|
+ </a-form-model-item>
|
|
|
</div>
|
|
|
<div v-if="form.contentType==='LINK'">
|
|
|
<a-form-model-item label="基本规则" prop="ruleType">
|