Template
1
0
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:
pany 2024-11-28 11:18:02 +08:00
parent 0ac0719e21
commit 86ec9766dd
6 changed files with 24 additions and 6 deletions

View File

@ -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>

View File

@ -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>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 65 KiB

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