Compare commits

...

2 Commits

Author SHA1 Message Date
songyang e9125881d2 更新首页背景图 2023-12-10 15:45:09 +08:00
songyang 31432758ef 更新登录页背景图 2023-12-10 15:27:49 +08:00
5 changed files with 9 additions and 10 deletions

11
components.d.ts vendored
View File

@ -8,18 +8,15 @@ export {}
declare module 'vue' {
export interface GlobalComponents {
ElButton: typeof import('element-plus/es')['ElButton']
ElCarousel: typeof import('element-plus/es')['ElCarousel']
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
ElCol: typeof import('element-plus/es')['ElCol']
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
ElForm: typeof import('element-plus/es')['ElForm']
ElFormItem: typeof import('element-plus/es')['ElFormItem']
ElImage: typeof import('element-plus/es')['ElImage']
ElInput: typeof import('element-plus/es')['ElInput']
ElMenu: typeof import('element-plus/es')['ElMenu']
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
ElPagination: typeof import('element-plus/es')['ElPagination']
ElTable: typeof import('element-plus/es')['ElTable']
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
ElTag: typeof import('element-plus/es')['ElTag']
ElRow: typeof import('element-plus/es')['ElRow']
EquipCard: typeof import('./src/components/equipCard.vue')['default']
EquipDetailTable: typeof import('./src/components/equipDetailTable.vue')['default']
FooterInfo: typeof import('./src/components/FooterInfo/index.vue')['default']

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

View File

@ -36,7 +36,7 @@ const routes: Array<RouteRecordRaw> = [
meta: {
title: '注册页',
keepAlive: true,
AuthFlag: false
AuthFlag: true,
}
},
{
@ -303,7 +303,7 @@ const router = createRouter({
// 使页面跳转后滚动条恢复至顶部
router.beforeEach((to, from, next) => {
const store = mainStore()
if (to.meta.isLogin) {
if (to.meta.isLogin && !to.meta.AuthFlag) {
if (store.token) {
next()
} else {

View File

@ -86,7 +86,7 @@
display: flex;
align-items: center;
justify-content: center;
background: url('../assets/img/home/2023_12_01_beijing2/login_bg.png') no-repeat;
background: url('../assets/img/home/2023_12_01_beijing2/login_bgnew.png') no-repeat;
background-size: cover;
.login-form {

View File

@ -225,6 +225,8 @@
display: flex;
align-items: center;
justify-content: center;
background: url('../assets/img/home/2023_12_01_beijing2/login_bgnew.png') no-repeat;
background-size: cover;
.register-form {
width: 500px;
// height: 360px;