kun-galgame-vue/src/views/403/403.vue

67 lines
1.2 KiB
Vue
Raw Normal View History

2023-05-01 15:58:54 +00:00
<script setup lang="ts"></script>
<template>
<!-- 根容器 -->
<div class="root">
<!-- 内容区容器 -->
<div class="container">
<p>403</p>
<p>您没有权限访问该界面</p>
<button>点击返回主页</button>
</div>
</div>
</template>
2023-05-02 15:22:46 +00:00
<style lang="less" scoped>
2023-05-01 15:58:54 +00:00
* {
list-style: none;
padding: 0;
margin: 0;
text-decoration: none;
}
*::-webkit-scrollbar {
display: none;
}
.root {
height: 100vh;
width: 100vw;
min-width: 700px;
min-height: 600px;
background: linear-gradient(
2023-05-02 15:22:46 +00:00
@kungalgame-trans-pink-1,
@kungalgame-trans-blue-1
2023-05-01 15:58:54 +00:00
);
display: flex;
flex-direction: column;
align-items: center;
}
.container {
margin: auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
p {
margin: 7px;
}
p:first-child {
font-size: 50px;
font-weight: bold;
2023-05-02 15:22:46 +00:00
color: @kungalgame-red-5;
2023-05-01 15:58:54 +00:00
}
button {
2023-05-02 15:22:46 +00:00
border: 1px solid @kungalgame-blue-4;
2023-05-01 15:58:54 +00:00
width: 200px;
height: 30px;
font-size: 17px;
2023-05-02 15:22:46 +00:00
background-color: @kungalgame-trans-blue-1;
2023-05-01 15:58:54 +00:00
cursor: pointer;
}
button:hover {
2023-05-02 15:22:46 +00:00
background-color: @kungalgame-blue-4;
color: @kungalgame-white;
2023-05-01 15:58:54 +00:00
transition: 0.2s;
}
</style>