From 642f98807c2638ad7392dba184fe603f8e26034f Mon Sep 17 00:00:00 2001 From: rd <1344903914@qq.com> Date: Fri, 15 Aug 2025 17:33:29 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../routes/modules/creativeGenerationWorkshop.ts | 2 ++ .../explore/detail/style.scss | 13 +++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/router/routes/modules/creativeGenerationWorkshop.ts b/src/router/routes/modules/creativeGenerationWorkshop.ts index da6447f..6c60759 100644 --- a/src/router/routes/modules/creativeGenerationWorkshop.ts +++ b/src/router/routes/modules/creativeGenerationWorkshop.ts @@ -119,6 +119,7 @@ const COMPONENTS: AppRouteRecordRaw[] = [ requiresAuth: false, requireLogin: false, hideFooter: true, + hideSidebar: true, roles: ['*'], }, component: () => import('@/views/creative-generation-workshop/explore/list/index.vue'), @@ -131,6 +132,7 @@ const COMPONENTS: AppRouteRecordRaw[] = [ requiresAuth: false, requireLogin: false, hideFooter: true, + hideSidebar: true, roles: ['*'], }, component: () => import('@/views/creative-generation-workshop/explore/detail/index.vue'), diff --git a/src/views/creative-generation-workshop/explore/detail/style.scss b/src/views/creative-generation-workshop/explore/detail/style.scss index c1fa1fe..df1a2e2 100644 --- a/src/views/creative-generation-workshop/explore/detail/style.scss +++ b/src/views/creative-generation-workshop/explore/detail/style.scss @@ -1,8 +1,17 @@ .explore-page { + &::before { + content: ''; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: #fff; + z-index: -1; + } position: relative; - // padding-top: $navbar-height; min-width: 1200px; - height: 100vh; + min-height: 100vh; background: #fff; display: flex; flex-direction: column;