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

58 lines
1.1 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-25 07:55:30 +00:00
<style lang="scss" scoped>
2023-05-01 15:58:54 +00:00
.root {
height: 100vh;
width: 100vw;
min-width: 700px;
min-height: 600px;
background: linear-gradient(
2023-06-05 06:32:08 +00:00
var(--kungalgame-trans-pink-1),
var(--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-06-05 06:32:08 +00:00
color: var(--kungalgame-red-5);
2023-05-01 15:58:54 +00:00
}
button {
2023-06-05 06:32:08 +00:00
border: 1px solid var(--kungalgame-blue-4);
2023-05-01 15:58:54 +00:00
width: 200px;
height: 30px;
font-size: 17px;
2023-06-05 06:32:08 +00:00
background-color: var(--kungalgame-trans-blue-1);
2023-05-01 15:58:54 +00:00
cursor: pointer;
}
button:hover {
2023-06-05 06:32:08 +00:00
background-color: var(--kungalgame-blue-4);
color: var(--kungalgame-white);
2023-05-01 15:58:54 +00:00
transition: 0.2s;
}
</style>