xiebaomin 1 vuosi sitten
vanhempi
commit
0916a26659
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      pages/goods/components/cm-product-doc.vue

+ 3 - 2
pages/goods/components/cm-product-doc.vue

@@ -52,6 +52,7 @@
                                 :id="'myVideo' + index"
                                 :src="myDecrypt([item.fileUrl])[0]"
                                 :style="videoStyle['myVideo' + index]"
+                                referrer-policy='origin'
                                 controls
                                 show-fullscreen-btn
                                 show-mute-btn
@@ -180,7 +181,7 @@ export default {
                 false, // 正常访问
                 { text: '请登录后查看!', btn: '去登录', redirect: '/pages/login/login' },
                 { text: '请升级成为会员机构后方可查看!', btn: '去升级', redirect: '/pages/login/apply' },
-                { text: '请升级成为医美会员机构后方可查看!', btn: '去升级', redirect: '/pages/login/apply' },
+                { text: '医美资质机构可查看完整内容!', btn: '升级医美资质', redirect: '/pages/login/apply' },
                 { text: '需抵扣100采美豆方可查看!', btn: '去查看', redirect: 10 },
                 { text: '无权限查看!', btn: '确认' }
             ]
@@ -270,7 +271,7 @@ export default {
                 rh = (rw * h) / w
             }
             // 使用set向videoStyle添加样式信息
-            this.$set(this.videoStyle, e.currentTarget.id, `width:${rw}rpx;height:${rh}rpx;`)
+            this.$set(this.videoStyle, e.currentTarget.id, `width:${rw}rpx;height:${400}rpx;`)
         },
         // 视频播放
         handlePlayer(id, info) {