Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 10:59:21 +08:00

perf: dashboard 页面占位图自适应宽度

This commit is contained in:
pany 2024-11-28 11:32:28 +08:00
parent 86ec9766dd
commit 0fe9d6072b
2 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,7 @@ import SvgAdmin from "../images/admin.svg?component" // vite-svg-loader 插件
<template>
<div class="app-container center">
<SvgAdmin class="svg" />
<p>欢迎来到 Admin 角色专属首页</p>
<p>欢迎来到Admin角色专属首页</p>
</div>
</template>
@ -17,6 +17,7 @@ import SvgAdmin from "../images/admin.svg?component" // vite-svg-loader 插件
align-items: center;
.svg {
width: 600px;
max-width: 100%;
}
}
</style>

View File

@ -5,7 +5,7 @@ import SvgEditor from "../images/editor.svg?component" // vite-svg-loader 插件
<template>
<div class="app-container center">
<SvgEditor class="svg" />
<p>欢迎来到 Editor 角色专属首页</p>
<p>欢迎来到Editor角色专属首页</p>
</div>
</template>
@ -17,6 +17,7 @@ import SvgEditor from "../images/editor.svg?component" // vite-svg-loader 插件
align-items: center;
.svg {
width: 600px;
max-width: 100%;
}
}
</style>