feat(projects): 登录页面实现

This commit is contained in:
Soybean
2021-09-11 02:34:36 +08:00
parent 5c01006306
commit f1e7cf608e
47 changed files with 780 additions and 153 deletions

View File

@ -8,10 +8,11 @@
<script lang="ts" setup>
import { computed } from 'vue';
import { useAppStore, useThemeStore } from '@/store';
import { useAppTitle } from '@/hooks';
const app = useAppStore();
const theme = useThemeStore();
const showTitle = computed(() => !app.menu.collapsed && theme.navStyle.mode !== 'vertical-mix');
const title = import.meta.env.VITE_APP_TITLE as string;
const title = useAppTitle();
</script>
<style scoped></style>

View File

@ -1,6 +1,9 @@
<template>
<div>
<h3 class="text-center text-18px text-error">菜单</h3>
<div class="flex-center h-48px">
<router-link to="/login" class="text-primary text-18px">登录页</router-link>
</div>
</div>
</template>

View File

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

View File

@ -1,5 +1,4 @@
import BasicLayout from './BasicLayout/index.vue';
import BlankLayout from './BlankLayout/index.vue';
import BlankChildLayout from './BlankChildLayout/index.vue';
export { BasicLayout, BlankLayout, BlankChildLayout };
export { BasicLayout, BlankLayout };