配置修改
This commit is contained in:
parent
8670a0e655
commit
225bd76543
|
@ -45,6 +45,7 @@
|
|||
"intro.js": "^7.2.0",
|
||||
"lodash-es": "^4.17.21",
|
||||
"lodash.get": "^4.4.2",
|
||||
"marked": "^12.0.0",
|
||||
"md5": "^2.3.0",
|
||||
"mockjs": "^1.1.0",
|
||||
"nprogress": "^0.2.0",
|
||||
|
|
|
@ -77,6 +77,9 @@ dependencies:
|
|||
lodash.get:
|
||||
specifier: ^4.4.2
|
||||
version: 4.4.2
|
||||
marked:
|
||||
specifier: ^12.0.0
|
||||
version: 12.0.2
|
||||
md5:
|
||||
specifier: ^2.3.0
|
||||
version: 2.3.0
|
||||
|
@ -7730,6 +7733,12 @@ packages:
|
|||
object-visit: 1.0.1
|
||||
dev: true
|
||||
|
||||
/marked@12.0.2:
|
||||
resolution: {integrity: sha512-qXUm7e/YKFoqFPYPa3Ukg9xlI5cyAtGmyEIzMfW//m6kXwCy2Ps9DYf5ioijFKQ8qyuscrHoY04iJGctu2Kg0Q==}
|
||||
engines: {node: '>= 18'}
|
||||
hasBin: true
|
||||
dev: false
|
||||
|
||||
/mathml-tag-names@2.1.3:
|
||||
resolution: {integrity: sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==}
|
||||
dev: true
|
||||
|
|
|
@ -15,7 +15,7 @@ export const PAGE_NOT_FOUND_ROUTE: AppRouteRecordRaw = {
|
|||
children: [
|
||||
{
|
||||
path: '/:path(.*)*',
|
||||
name: PAGE_NOT_FOUND_NAME,
|
||||
name: 'ChildPageNotFound',
|
||||
component: EXCEPTION_COMPONENT,
|
||||
meta: {
|
||||
title: 'ErrorPage',
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="welcome-container">
|
||||
<div class="card">
|
||||
<h1>🎉 欢迎使用哈尔滨师范大学四六级管理平台</h1>
|
||||
<h1>🎉 欢迎使用哈尔滨师范大学英语四六级综合管理平台</h1>
|
||||
<!--<p class="description"> 这是一个基于 Vue 3 构建的现代化前端项目,助你快速开启开发之旅。 </p>-->
|
||||
|
||||
<div class="actions">
|
||||
|
@ -16,82 +16,82 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'welcomeInterface',
|
||||
components: {
|
||||
// 可引入你其他组件,例如:DownOutlined, RightOutlined, Tour
|
||||
export default {
|
||||
name: 'welcomeInterface',
|
||||
components: {
|
||||
// 可引入你其他组件,例如:DownOutlined, RightOutlined, Tour
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
message: '欢迎来到 Vue 3 项目首页',
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
goToDocs() {
|
||||
window.open('https://vuejs.org/guide/introduction.html', '_blank');
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
message: '欢迎来到 Vue 3 项目首页',
|
||||
};
|
||||
goToGithub() {
|
||||
window.open('https://github.com/vuejs', '_blank');
|
||||
},
|
||||
methods: {
|
||||
goToDocs() {
|
||||
window.open('https://vuejs.org/guide/introduction.html', '_blank');
|
||||
},
|
||||
goToGithub() {
|
||||
window.open('https://github.com/vuejs', '_blank');
|
||||
},
|
||||
startUsing() {
|
||||
this.$router.push('/home'); // 或使用 window.location.href
|
||||
},
|
||||
startUsing() {
|
||||
this.$router.push('/home'); // 或使用 window.location.href
|
||||
},
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.welcome-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 92vh;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(145deg, #f0f4ff, #ffffff);
|
||||
padding: 2rem;
|
||||
font-family: 'Segoe UI', sans-serif;
|
||||
}
|
||||
.welcome-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 92vh;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(145deg, #f0f4ff, #ffffff);
|
||||
padding: 2rem;
|
||||
font-family: 'Segoe UI', sans-serif;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: white;
|
||||
padding: 3rem;
|
||||
border-radius: 1.5rem;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
||||
max-width: 800px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.card {
|
||||
background-color: white;
|
||||
padding: 3rem;
|
||||
border-radius: 1.5rem;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
||||
max-width: 1000px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.card h1 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.card h1 {
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.description {
|
||||
font-size: 1.1rem;
|
||||
color: #555;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
.description {
|
||||
font-size: 1.1rem;
|
||||
color: #555;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.actions button {
|
||||
margin: 0 0.5rem;
|
||||
padding: 0.8rem 1.5rem;
|
||||
font-size: 1rem;
|
||||
border: none;
|
||||
border-radius: 0.8rem;
|
||||
background-color: #42b883;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
.actions button {
|
||||
margin: 0 0.5rem;
|
||||
padding: 0.8rem 1.5rem;
|
||||
font-size: 1rem;
|
||||
border: none;
|
||||
border-radius: 0.8rem;
|
||||
background-color: #42b883;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.actions button:hover {
|
||||
background-color: #339e6b;
|
||||
}
|
||||
.actions button:hover {
|
||||
background-color: #339e6b;
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: 2rem;
|
||||
color: #999;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
footer {
|
||||
margin-top: 2rem;
|
||||
color: #999;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue