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