From 0172db43802ec9f097a66d565fb6fe5d064e38f0 Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Mon, 1 May 2023 23:06:46 +0800 Subject: [PATCH] deleted layout --- src/App.vue | 4 ++-- src/layout/Home/index.vue | 11 ----------- src/layout/KUNGalgameMain.vue | 11 ----------- src/router/index.ts | 5 +++-- src/views/Home/KUNGalgameMainPage.vue | 2 +- 5 files changed, 6 insertions(+), 27 deletions(-) delete mode 100644 src/layout/Home/index.vue delete mode 100644 src/layout/KUNGalgameMain.vue diff --git a/src/App.vue b/src/App.vue index 02996e23..9621b9ac 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,10 +1,10 @@ diff --git a/src/layout/Home/index.vue b/src/layout/Home/index.vue deleted file mode 100644 index 9930c2dc..00000000 --- a/src/layout/Home/index.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/layout/KUNGalgameMain.vue b/src/layout/KUNGalgameMain.vue deleted file mode 100644 index 6e9b41b4..00000000 --- a/src/layout/KUNGalgameMain.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index 78811692..6a5d683f 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -8,12 +8,13 @@ import { /** 常驻路由 */ export const constantRoutes: RouteRecordRaw[] = [ { - name: "topic", + name: "Topic", path: "/topic", + // 路由懒加载 component: () => import("@/views/topic/KUNGalgameTopicPage.vue"), }, { - name: "kun", + name: "KUN", path: "/", component: () => import("@/views/Home/KUNGalgameMainPage.vue"), }, diff --git a/src/views/Home/KUNGalgameMainPage.vue b/src/views/Home/KUNGalgameMainPage.vue index d1f06c37..4d8341ed 100644 --- a/src/views/Home/KUNGalgameMainPage.vue +++ b/src/views/Home/KUNGalgameMainPage.vue @@ -24,7 +24,7 @@ import MainPageFooter from "./footer/MainPageFooter.vue"; background-repeat: no-repeat; background-position: center; background-size: cover; - min-width: 700px; + min-width: 800px; font-family: "adobe-clean", "Source Sans Pro", -apple-system, "BlinkMacSystemFont", "Segoe UI,Roboto", sans-serif; }