diff --git a/pageB/comment/index.vue b/pageB/comment/index.vue index 7cb3c9b..915cdbe 100644 --- a/pageB/comment/index.vue +++ b/pageB/comment/index.vue @@ -7,7 +7,7 @@ - + diff --git a/pageB/sdetails/index.vue b/pageB/sdetails/index.vue index 5f0c1f0..7fd93b2 100644 --- a/pageB/sdetails/index.vue +++ b/pageB/sdetails/index.vue @@ -121,6 +121,11 @@ + + + + + @@ -425,7 +430,7 @@ export default { }, // 拼团详情 pinTuanDetails() { - console.log(this.id); + // console.log(this.id); this.$u.api.getPinTuanDetails({ pintuan_id: this.pintuan_id, goods_id: this.id, @@ -676,6 +681,12 @@ export default { id: id }); }, + playVideo() { + console.log(this.goodsInfo.video); + // this.$u.route('pageC/merchant/index', { + // url: this.goodsInfo.video + // }); + } }, } @@ -1085,6 +1096,30 @@ export default { } .rich { width: 100%; + .goods-video { + position: relative; + .video-img { + width: 100%; + } + .blacks { + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + background-color: rgba(0, 0, 0, 0.35); + z-index: 8; + } + .video-play { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 100rpx; + height: 100rpx; + z-index: 9; + } + } } .group-tool { position: fixed;