From c3c0d2e40cea58fac263f9fe936058a0b4136995 Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Thu, 14 Aug 2025 09:49:55 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=A7=86=E9=A2=91=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E6=AF=94=E4=BE=8B=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- .../creative-generation-workshop/explore/detail/style.scss | 5 +++-- .../manuscript-writer/detail/style.scss | 5 +++-- .../manuscript/detail/style.scss | 5 +++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/App.vue b/src/App.vue index 1ce3d3e..d177a78 100644 --- a/src/App.vue +++ b/src/App.vue @@ -46,7 +46,7 @@ onMounted(() => { }); }); onUnmounted(() => { - sideBarStore.stopUnreadInfoPolling(); + sidebarStore.stopUnreadInfoPolling(); }); diff --git a/src/views/creative-generation-workshop/explore/detail/style.scss b/src/views/creative-generation-workshop/explore/detail/style.scss index 01e8a64..4b73d14 100644 --- a/src/views/creative-generation-workshop/explore/detail/style.scss +++ b/src/views/creative-generation-workshop/explore/detail/style.scss @@ -63,8 +63,9 @@ } .main-video-box { width: 320px; - height: auto; - background: #fff; + height: 472px; + background: #333; + aspect-ratio: 3 / 4; } .main-img-box { width: 347px; diff --git a/src/views/creative-generation-workshop/manuscript-writer/detail/style.scss b/src/views/creative-generation-workshop/manuscript-writer/detail/style.scss index f3fe2c6..c52763f 100644 --- a/src/views/creative-generation-workshop/manuscript-writer/detail/style.scss +++ b/src/views/creative-generation-workshop/manuscript-writer/detail/style.scss @@ -15,8 +15,9 @@ $footer-height: 68px; } .main-video-box { width: 320px; - height: auto; - background: #fff; + height: 472px; + background: #333; + aspect-ratio: 3 / 4; } .main-img-box { width: 320px; diff --git a/src/views/creative-generation-workshop/manuscript/detail/style.scss b/src/views/creative-generation-workshop/manuscript/detail/style.scss index f3fe2c6..c52763f 100644 --- a/src/views/creative-generation-workshop/manuscript/detail/style.scss +++ b/src/views/creative-generation-workshop/manuscript/detail/style.scss @@ -15,8 +15,9 @@ $footer-height: 68px; } .main-video-box { width: 320px; - height: auto; - background: #fff; + height: 472px; + background: #333; + aspect-ratio: 3 / 4; } .main-img-box { width: 320px;