From 1f27471449b33ffd93a65c67d63d8ef26f4249c0 Mon Sep 17 00:00:00 2001 From: daihh Date: Fri, 18 Nov 2022 17:33:08 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E5=AD=A6=E4=B9=A0=E5=9B=BE?= =?UTF-8?q?=E6=96=87=E5=A2=9E=E5=8A=A0=20=E5=8D=8A=E6=8A=98=E6=95=88?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/video-player/video-player.vue | 2 ++ pages/study/courseStudy.vue | 25 +++++++++++++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/components/video-player/video-player.vue b/components/video-player/video-player.vue index 497d909..cc2ef8c 100644 --- a/components/video-player/video-player.vue +++ b/components/video-player/video-player.vue @@ -410,4 +410,6 @@ .speed-control .speed-control-list .li.current { color: var(--primaryColor); } + + diff --git a/pages/study/courseStudy.vue b/pages/study/courseStudy.vue index 96ac0c1..07765e2 100644 --- a/pages/study/courseStudy.vue +++ b/pages/study/courseStudy.vue @@ -77,9 +77,10 @@ - + - + + 查看更多∨ @@ -451,6 +452,7 @@ localTimeKey:'boeu-study-time' ,//本地存储的学习时长的key json格式 localTimeValue:0,//计算的时间 appendStudyOtherHandle:null, + articleMore:true } }, computed: { @@ -778,6 +780,7 @@ }, //更换播放内容 changePlayRes(con){ + this.articleMore=true; this.clearTimeHandle(); // console.log(con,'con'); if(this.videoPlayer){ @@ -1539,7 +1542,9 @@ } return statusObj[status] }, - + showMore(){ + this.articleMore=false; + } } } @@ -1938,4 +1943,18 @@ } } } + .about-gongsi-info{overflow: hidden; position: relative;} + .about-gongsi-info::after{ + content: ''; + position: absolute; + width: 100%; + height: 30px; + background: -webkit-gradient(linear, 0 0, 0 100%, from(rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 1))); + background: -moz-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)); + background: -o-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)); + background: linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#0ff, endColorstr=#fff, GradientType=0); + bottom: 0; + left: 0; + } \ No newline at end of file