deleted layout

This commit is contained in:
KUN1007 2023-05-01 23:06:46 +08:00
parent 17ef2a86c9
commit 145344edf8
5 changed files with 6 additions and 27 deletions

View file

@ -1,10 +1,10 @@
<!-- App --> <!-- App -->
<script setup lang="ts"> <script setup lang="ts">
import KUNGalgameMain from './layout/KUNGalgameMain.vue'; import KUNGalgameMainPage from "./views/Home/KUNGalgameMainPage.vue";
</script> </script>
<template> <template>
<KUNGalgameMain/> <KUNGalgameMainPage />
</template> </template>
<style scoped></style> <style scoped></style>

View file

@ -1,11 +0,0 @@
<script setup lang='ts'>
</script>
<template>
</template>
<style scoped>
</style>

View file

@ -1,11 +0,0 @@
<script setup lang='ts'>
</script>
<template>
<router-view />
</template>
<style scoped>
</style>

View file

@ -8,12 +8,13 @@ import {
/** 常驻路由 */ /** 常驻路由 */
export const constantRoutes: RouteRecordRaw[] = [ export const constantRoutes: RouteRecordRaw[] = [
{ {
name: "topic", name: "Topic",
path: "/topic", path: "/topic",
// 路由懒加载
component: () => import("@/views/topic/KUNGalgameTopicPage.vue"), component: () => import("@/views/topic/KUNGalgameTopicPage.vue"),
}, },
{ {
name: "kun", name: "KUN",
path: "/", path: "/",
component: () => import("@/views/Home/KUNGalgameMainPage.vue"), component: () => import("@/views/Home/KUNGalgameMainPage.vue"),
}, },

View file

@ -24,7 +24,7 @@ import MainPageFooter from "./footer/MainPageFooter.vue";
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: cover; background-size: cover;
min-width: 700px; min-width: 800px;
font-family: "adobe-clean", "Source Sans Pro", -apple-system, font-family: "adobe-clean", "Source Sans Pro", -apple-system,
"BlinkMacSystemFont", "Segoe UI,Roboto", sans-serif; "BlinkMacSystemFont", "Segoe UI,Roboto", sans-serif;
} }