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; }