瀏覽代碼

修改bug

chenrui 2 年之前
父節點
當前提交
4f6c8ba24e
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      src/views/promotionManagement/promotionInfo/promotionShowModal.vue

+ 3 - 2
src/views/promotionManagement/promotionInfo/promotionShowModal.vue

@@ -11,8 +11,8 @@
     <div class="promotionDesc-con">
       <img src="@/assets/iphone.png" alt="图片走丢了" srcset="">
       <div class="promotionDescCon" v-show="showType=='IMAGE_CONTENT'" v-html="mainContent"></div>
-      <div class="promotionDescCon" v-show="showType=='VIDEO'">
-        <video width="100%" height="auto">
+      <div class="promotionDescCon" v-show="showType=='VIDEO'" >
+        <video width="100%" height="auto" controls loop controlsList="nodownload">
           <source :src="mainContent" type="video/mp4"></source>
         </video>
       </div>
@@ -82,6 +82,7 @@ export default {
       width:340px;
       margin:0 auto;
       position:relative;
+      text-align: center;
       img{
          width:81%;
          height:auto;