保存进度!
This commit is contained in:
59
code/web/IT工具综合平台/src/views/ErrorPage.vue
Normal file
59
code/web/IT工具综合平台/src/views/ErrorPage.vue
Normal file
@@ -0,0 +1,59 @@
|
||||
<!--
|
||||
* @Author: Kane
|
||||
* @Date: 2023-02-04 22:28:13
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2023-02-04 23:36:48
|
||||
* @FilePath: /IT工具综合平台/src/views/ErrorPage.vue
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
-->
|
||||
<template>
|
||||
<el-scrollbar style="height:100vh;width:100vw;">
|
||||
<div class="container">
|
||||
<img src="../assets/skull.png" />
|
||||
<span>妖秀啊</span>
|
||||
</div>
|
||||
</el-scrollbar>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "ErrorPage",
|
||||
setup()
|
||||
{
|
||||
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: top;
|
||||
}
|
||||
|
||||
.container img {
|
||||
margin: 30px auto 0px auto;
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.container span {
|
||||
display: block;
|
||||
margin: 15px auto 0 auto;
|
||||
font-family: "rgaqsya";
|
||||
font-size: 5em;
|
||||
color: grey;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: "rgaqsay";
|
||||
src: url("../assets/fonts/FZSJ-RUGAQSAY.TTF");
|
||||
}
|
||||
</style>
|
@@ -2,8 +2,8 @@
|
||||
* @Author: Kane
|
||||
* @Date: 2023-01-06 15:30:12
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2023-02-04 16:56:36
|
||||
* @FilePath: /IT工具综合平台/src/views/overview/Desktop.vue
|
||||
* @LastEditTime: 2023-02-04 22:38:47
|
||||
* @FilePath: /IT工具综合平台/src/views/overview/desktop.vue
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
@@ -61,10 +61,12 @@
|
||||
</el-row>
|
||||
</el-form>
|
||||
<el-button type="danger" @click="testRequest">测试</el-button>
|
||||
<el-button type="danger" @click="testError">错误</el-button>
|
||||
</template>
|
||||
|
||||
<script >
|
||||
import { reactive, onBeforeMount } from "vue";
|
||||
import { useRouter } from "vue-router";
|
||||
import { query_requirement_status } from "@/utils/api/requirement/requirement.js";
|
||||
|
||||
export default {
|
||||
@@ -73,6 +75,7 @@ export default {
|
||||
{
|
||||
let start_date = reactive(new Date());
|
||||
let end_date = reactive(new Date());
|
||||
const router = useRouter();
|
||||
|
||||
onBeforeMount(() =>
|
||||
{
|
||||
@@ -100,10 +103,16 @@ export default {
|
||||
});
|
||||
};
|
||||
|
||||
const testError = () =>
|
||||
{
|
||||
router.push("/error-page");
|
||||
};
|
||||
|
||||
return {
|
||||
start_date,
|
||||
end_date,
|
||||
testRequest,
|
||||
testError,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user