mirror of
https://github.com/un-pany/v3-admin-vite.git
synced 2025-04-20 10:59:21 +08:00
feat: 新增 dashboard 页面占位图
This commit is contained in:
parent
0ac0719e21
commit
86ec9766dd
@ -1,14 +1,22 @@
|
||||
<script lang="ts" setup>
|
||||
import SvgAdmin from "../images/admin.svg?component" // vite-svg-loader 插件的功能
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="app-container center">
|
||||
<el-empty description="欢迎来到 admin 角色专属首页" />
|
||||
<SvgAdmin class="svg" />
|
||||
<p>欢迎来到 Admin 角色专属首页</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.center {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
.svg {
|
||||
width: 600px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -1,14 +1,22 @@
|
||||
<script lang="ts" setup>
|
||||
import SvgEditor from "../images/editor.svg?component" // vite-svg-loader 插件的功能
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="app-container center">
|
||||
<el-empty description="欢迎来到 editor 角色专属首页" />
|
||||
<SvgEditor class="svg" />
|
||||
<p>欢迎来到 Editor 角色专属首页</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.center {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
.svg {
|
||||
width: 600px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
1
src/pages/dashboard/images/admin.svg
Normal file
1
src/pages/dashboard/images/admin.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 65 KiB |
1
src/pages/dashboard/images/editor.svg
Normal file
1
src/pages/dashboard/images/editor.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 16 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Loading…
x
Reference in New Issue
Block a user