初始化项目

This commit is contained in:
2023-01-10 11:52:47 +08:00
parent c74db0d2b9
commit 2180adecb0
142 changed files with 16480 additions and 0 deletions

45
src/view/error/index.vue Normal file
View File

@@ -0,0 +1,45 @@
<template>
<div>
<div class="big">
<div class="inner">
<img src="../../assets/notFound.png">
<p>页面被神秘力量吸走了如果您是开源版请联系我们修复</p>
<p style="font-size:18px;line-height:40px;">常见问题为当前此角色无当前路由如果确定要使用本路由请到角色管理进行分配</p>
<p></p>
<img src="../../assets/qm.png" class="leftPic">
</div>
</div>
</div>
</template>
<script>
export default {
name: 'Error'
}
</script>
<style lang="scss">
.big{
width: 100%;
height: calc(100vh - 220px);
background-color: rgb(244,244,244);
position: relative;
}
.inner{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.inner p {
text-align: center;
font-size: 24px;
}
.inner .leftPic{
width: 60px;
height: 60px;
margin-left: 44%;
margin-top: 20px;
}
</style>

14
src/view/error/reload.vue Normal file
View File

@@ -0,0 +1,14 @@
<template>
<div />
</template>
<script>
import { useRouter } from 'vue-router'
export default {
name: 'Reload'
}
</script>
<script setup>
const router = useRouter()
router.go(-1)
</script>