From 989f1e87f41da71c0a39a8b64da801bd2e64b3cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8D=93=E7=85=9C?= <2210102150@qq.com> Date: Thu, 17 Jul 2025 15:23:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=97=AE=E8=AF=84=E5=88=86?= =?UTF-8?q?=E4=BC=9A=E7=82=B9=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/study/coursenew.vue | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/src/views/study/coursenew.vue b/src/views/study/coursenew.vue index 2160c115..9008c175 100644 --- a/src/views/study/coursenew.vue +++ b/src/views/study/coursenew.vue @@ -717,6 +717,7 @@ configUrl=urlPre+configUrl.substring(configUrl.indexOf(':')+1); this.scormUrl=configUrl+pars;//播放的首页 + console.log('scormUrl',this.scormUrl); } }); @@ -1762,6 +1763,23 @@ width: 420px; } } + + @media screen and (max-width: 1200px) { + .course-playbox, + .course-infobox { + flex-direction: column; + } + .course-player, + .course-info { + min-width: 100%; + padding-right: 0; + } + .course-control, + .course-teacher { + width: 100%; + margin-top: 20px; + } + } .course-infobox { margin-top: 20px; display: flex; @@ -1881,13 +1899,10 @@ } .player-box { - position: absolute; - // top: 62px; - // left: 184px; - width: 300px; - left: 50%; - top: 50%; - transform: translate(-50%, -50%); + position: relative; + width: 100%; + max-width: 300px; + margin: 20px auto; height: 187px; background: rgba(74, 74, 74, .5); border-radius: 33px;