From fdf8ea21889dbb63a5bac3de5d5fc17f2865ba99 Mon Sep 17 00:00:00 2001 From: Wik-T <812952667@qq.com> Date: Mon, 10 Jan 2022 09:11:08 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E8=A7=86=E9=A2=91=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E6=B7=BB=E5=8A=A0=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yy-video-player/yy-video-player.nvue | 1 - .../mineCouponsDestails.vue | 23 ++++++++++++++++--- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/components/yy-video-player/yy-video-player.nvue b/components/yy-video-player/yy-video-player.nvue index e39a22a..5e8fa25 100644 --- a/components/yy-video-player/yy-video-player.nvue +++ b/components/yy-video-player/yy-video-player.nvue @@ -46,7 +46,6 @@ export default { }, processBarColor:{ type:String, - default:"#39BFFD" } }, data() { diff --git a/pages/user/mineCouponsDestails/mineCouponsDestails.vue b/pages/user/mineCouponsDestails/mineCouponsDestails.vue index 6a82452..cc7c5de 100644 --- a/pages/user/mineCouponsDestails/mineCouponsDestails.vue +++ b/pages/user/mineCouponsDestails/mineCouponsDestails.vue @@ -43,8 +43,9 @@ - 视频教程 - + 视频教程 + 播放视频教学 + @@ -77,7 +78,8 @@ couponsDetails: '', salesEndTime: '', couponId: '', - videourl: '' //视频地址 + videourl: '' ,//视频地址 + isplayvideo: false //视频播放 } }, filters: { @@ -148,6 +150,10 @@ // uni.navigateTo({ // url: '../../goods/goods?id='+e // }); + }, + //播放视频 + playvideo(){ + this.isplayvideo = true; } } } @@ -220,5 +226,16 @@ background-color: red; color: #FFFFFF; border-radius: 0px; + } + .btnplay{ + width: 120px; + text-align: center; + height: 40px; + line-height: 40px; + color: #FFFFFF; + background-color: #089bf5; + border-radius: 5px; + margin-left: 5%; + margin-top: 20px; }