| | |
| | | isAuth: false, |
| | | }, |
| | | }, |
| | | { |
| | | path: '/', |
| | | name: '主页', |
| | | redirect: '/index', |
| | | }, |
| | | ]; |
| | |
| | | { |
| | | path: '/', |
| | | component: () => import('@/layout/index.vue'), |
| | | redirect: '/index', |
| | | redirect: '/home', |
| | | children: [ |
| | | { |
| | | path: 'index', |
| | | path: 'home', |
| | | name: '首页', |
| | | meta: { |
| | | i18n: 'dashboard', |
| | |
| | | @font-face { |
| | | font-family: "Source Han Sans CN"; |
| | | src: url("/src/assets/fonts/SourceHanSansCN-Regular.otf") format("opentype"); |
| | | src: url("@/assets/fonts/SourceHanSansCN-Regular.otf") format("opentype"); |
| | | font-weight: 400; |
| | | font-style: normal; |
| | | } |
| | | |
| | | @font-face { |
| | | font-family: "Source Han Sans CN"; |
| | | src: url("/src/assets/fonts/SourceHanSansCN-Medium.otf") format("opentype"); |
| | | src: url("@/assets/fonts/SourceHanSansCN-Medium.otf") format("opentype"); |
| | | font-weight: 500; |
| | | font-style: normal; |
| | | } |
| | | |
| | | @font-face { |
| | | font-family: "Source Han Sans CN"; |
| | | src: url("/src/assets/fonts/SourceHanSansCN-Bold.otf") format("opentype"); |
| | | src: url("@/assets/fonts/SourceHanSansCN-Bold.otf") format("opentype"); |
| | | font-weight: 700; |
| | | font-style: normal; |
| | | } |
| | |
| | | /* 额外的标题字体 */ |
| | | @font-face { |
| | | font-family: "YouSheBiaoTiHei"; |
| | | src: url("/src/assets/fonts/YouSheBiaoTiHei.ttf") format("truetype"); |
| | | src: url("@/assets/fonts/YouSheBiaoTiHei.ttf") format("truetype"); |
| | | font-weight: normal; |
| | | font-style: normal; |
| | | } |