From dc8f932ecbcef2284f9649e6eb86da1ec5aa0bca Mon Sep 17 00:00:00 2001 From: fuxiaochun Date: Tue, 15 Aug 2023 17:41:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=8C=E4=B8=9A=E6=B4=9E=E5=AF=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/Header.vue | 2 ++ src/layouts/index.vue | 2 ++ src/router/index.js | 6 +++--- src/views/business/{ => insight}/detail.vue | 2 +- src/views/business/{insight.vue => insight/index.vue} | 0 src/views/business/{ => insight}/list.vue | 2 +- 6 files changed, 9 insertions(+), 5 deletions(-) rename src/views/business/{ => insight}/detail.vue (98%) rename src/views/business/{insight.vue => insight/index.vue} (100%) rename src/views/business/{ => insight}/list.vue (97%) diff --git a/src/layouts/Header.vue b/src/layouts/Header.vue index 7ddb6f9..908e547 100644 --- a/src/layouts/Header.vue +++ b/src/layouts/Header.vue @@ -120,6 +120,8 @@ const jump = (url)=>{ color: #FFF; padding: 10px; box-sizing: border-box; + position: relative; + z-index: 9; .logo{ width: 230px; display: flex; diff --git a/src/layouts/index.vue b/src/layouts/index.vue index f37387d..f8d55e1 100644 --- a/src/layouts/index.vue +++ b/src/layouts/index.vue @@ -26,6 +26,8 @@ import Footer from './Footer.vue'; flex: 1; width: 100%; overflow-y: auto; + position: relative; + z-index: 1; } } \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index c103267..3475d4d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -63,7 +63,7 @@ const router = createRouter({ title: 'AI商情-行业洞察', group: 'business' }, - component: () => import("@/views/business/insight.vue"), + component: () => import("@/views/business/insight/index.vue"), }, { path: 'business/insight/category/:cid', @@ -72,7 +72,7 @@ const router = createRouter({ title: 'AI商情-行业洞察', group: 'business' }, - component: () => import("@/views/business/list.vue"), + component: () => import("@/views/business/insight/list.vue"), }, { path: 'business/insight/detail/:cid/:id', @@ -81,7 +81,7 @@ const router = createRouter({ title: 'AI商情-行业洞察', group: 'business' }, - component: () => import("@/views/business/detail.vue"), + component: () => import("@/views/business/insight/detail.vue"), }, ] } diff --git a/src/views/business/detail.vue b/src/views/business/insight/detail.vue similarity index 98% rename from src/views/business/detail.vue rename to src/views/business/insight/detail.vue index b21597f..1334c85 100644 --- a/src/views/business/detail.vue +++ b/src/views/business/insight/detail.vue @@ -1,7 +1,7 @@