提交 7195f4c3 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 e2ae9b07
...@@ -9,6 +9,7 @@ import AppMain from './Main.vue' ...@@ -9,6 +9,7 @@ import AppMain from './Main.vue'
import AppFooter from './Footer.vue' import AppFooter from './Footer.vue'
withDefaults(defineProps<{ sidebar?: boolean; footer?: boolean; header?: boolean }>(), { withDefaults(defineProps<{ sidebar?: boolean; footer?: boolean; header?: boolean }>(), {
header: true,
sidebar: false, sidebar: false,
footer: false footer: false
}) })
......
import type { RouteRecordRaw } from 'vue-router' import type { RouteRecordRaw } from 'vue-router'
import AppLayout from '@/components/layout/Index.vue'
import { useAppConfig } from '@/composables/useAppConfig'
const appConfig = useAppConfig()
export const routes: Array<RouteRecordRaw> = [ export const routes: Array<RouteRecordRaw> = [
{ {
path: '/register', path: '/register',
component: AppLayout, component: () => import('./views/Index.vue')
props: { sidebar: false, footer: false, header: false },
children: [{ path: '', component: () => import('./views/Index.vue') }]
} }
] ]
...@@ -97,9 +97,9 @@ const goPage = function () { ...@@ -97,9 +97,9 @@ const goPage = function () {
<template> <template>
<div class="register-home" v-if="step === 0"> <div class="register-home" v-if="step === 0">
<img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/pages/assa/register-logo.png" class="logo" /> <img src="https://webapp-pub.ezijing.com/pages/assa/register-logo.png" class="logo" />
<div class="pop"> <div class="pop">
<img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/pages/assa/register-pop.png" /> <img src="https://webapp-pub.ezijing.com/pages/assa/register-pop.png" />
<div class="btn-box"> <div class="btn-box">
<div class="btn1" @click="step = 1">立即报名</div> <div class="btn1" @click="step = 1">立即报名</div>
<div class="btn2" @click="goPage">赛事通知</div> <div class="btn2" @click="goPage">赛事通知</div>
...@@ -183,7 +183,7 @@ const goPage = function () { ...@@ -183,7 +183,7 @@ const goPage = function () {
</div> </div>
<div class="register-success" v-if="dialogVisible"> <div class="register-success" v-if="dialogVisible">
<div class="content"> <div class="content">
<img src="https://webapp-pub.oss-cn-beijing.aliyuncs.com/pages/assa/register-cg.png" /> <img src="https://webapp-pub.ezijing.com/pages/assa/register-cg.png" />
<div class="text-box"> <div class="text-box">
<h2>资料提交成功</h2> <h2>资料提交成功</h2>
<p>工作人员将会审核您的提交,请留意短信通知!</p> <p>工作人员将会审核您的提交,请留意短信通知!</p>
...@@ -199,7 +199,7 @@ const goPage = function () { ...@@ -199,7 +199,7 @@ const goPage = function () {
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url(https://webapp-pub.oss-cn-beijing.aliyuncs.com/pages/assa/register-bg.png); background: url(https://webapp-pub.ezijing.com/pages/assa/register-bg.png);
background-size: cover; background-size: cover;
.logo { .logo {
position: absolute; position: absolute;
...@@ -253,7 +253,7 @@ const goPage = function () { ...@@ -253,7 +253,7 @@ const goPage = function () {
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
background: url(https://webapp-pub.oss-cn-beijing.aliyuncs.com/pages/assa/register-bg.png); background: url(https://webapp-pub.ezijing.com/pages/assa/register-bg.png);
background-size: cover; background-size: cover;
} }
h1 { h1 {
...@@ -322,7 +322,4 @@ const goPage = function () { ...@@ -322,7 +322,4 @@ const goPage = function () {
} }
} }
} }
.app-layout {
background: #fff !important;
}
</style> </style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论