File tree Expand file tree Collapse file tree 6 files changed +24
-6
lines changed
Expand file tree Collapse file tree 6 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 1+ <script lang="ts" setup>
2+ import SvgAdmin from " ../images/admin.svg?component" // vite-svg-loader 插件的功能
3+ < / script >
4+
15<template >
26 < div class = " app-container center" >
3- <el-empty description =" 欢迎来到 admin 角色专属首页" />
7+ < SvgAdmin class = " svg" / >
8+ <p >欢迎来到 Admin 角色专属首页< / p >
49 < / div >
510< / template >
611
712< style lang = " scss" scoped >
813.center {
9- height : 100% ;
1014 display : flex ;
15+ flex - direction : column ;
1116 justify - content : center ;
1217 align - items : center ;
18+ .svg {
19+ width : 600px ;
20+ }
1321}
1422< / style >
Original file line number Diff line number Diff line change 1+ <script lang="ts" setup>
2+ import SvgEditor from " ../images/editor.svg?component" // vite-svg-loader 插件的功能
3+ < / script >
4+
15<template >
26 < div class = " app-container center" >
3- <el-empty description =" 欢迎来到 editor 角色专属首页" />
7+ < SvgEditor class = " svg" / >
8+ <p >欢迎来到 Editor 角色专属首页< / p >
49 < / div >
510< / template >
611
712< style lang = " scss" scoped >
813.center {
9- height : 100% ;
1014 display : flex ;
15+ flex - direction : column ;
1116 justify - content : center ;
1217 align - items : center ;
18+ .svg {
19+ width : 600px ;
20+ }
1321}
1422< / style >
You can’t perform that action at this time.
0 commit comments