refactor(projects): 路由组件导入拆分

This commit is contained in:
Soybean
2021-10-19 18:51:36 +08:00
parent 7654b2adf3
commit 3edf46eb52
24 changed files with 266 additions and 194 deletions

View File

@ -1,6 +1,6 @@
<template>
<div
class="flex-1 flex-col-stretch p-10px bg-[#f5f7f9] dark:bg-black"
class="flex-1 flex-col-stretch p-10px bg-[#F6F9F8] dark:bg-black"
:class="{ 'overflow-hidden': routeProps.fullPage }"
>
<router-view v-slot="{ Component, route }">

View File

@ -1,6 +1,6 @@
<template>
<n-layout-footer>
<div class="flex-center h-48px text-[#333639] dark:text-[#ffffffd1]">Copyright ©2021 Soybean Admin</div>
<div class="flex-center h-48px bg-white text-[#333639] dark:text-[#ffffffd1]">Copyright ©2021 Soybean Admin</div>
</n-layout-footer>
</template>

View File

@ -1,6 +1,6 @@
<template>
<n-scrollbar ref="scrollbar" class="h-full" :x-scrollable="true" :content-class="routeProps.fullPage ? 'h-full' : ''">
<div class="inline-block w-full h-full">
<div class="inline-block w-full h-full bg-[#F6F9F8]">
<router-view v-slot="{ Component, route: itemRoute }">
<transition :name="theme.pageStyle.animateType" mode="out-in" appear>
<keep-alive :include="cacheRoutes">