forked from Starlight-Dev-Team/fanbook-bot-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
63 lines (58 loc) · 1.06 KB
/
app.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<script lang="ts" setup>
import {
LayoutContent,
LayoutFooter,
LayoutHeader,
} from '@arco-design/web-vue';
import '@arco-design/web-vue/dist/arco.css';
import { checkAuth } from './middleware/guard.global';
checkAuth(useRoute());
</script>
<template>
<Teleport to='head'>
<title>Fanbook 机器人工具</title>
</Teleport>
<LayoutHeader>
<NuxtLayout name='header' />
</LayoutHeader>
<LayoutContent>
<NuxtPage />
</LayoutContent>
<LayoutFooter>
<NuxtLayout name='footer' />
</LayoutFooter>
</template>
<style>
* {
margin: 0;
padding: 0;
}
*::-webkit-scrollbar {
display: none;
}
#__nuxt {
display: flex;
min-height: 100vh;
flex-direction: column;
}
header, footer {
user-select: none;
}
footer {
display: flex;
width: 100vw;
margin-bottom: 8px !important;
align-self: baseline;
flex-direction: column;
justify-content: center;
}
.arco-typography b {
font-weight: bold;
}
body.mobile .arco-modal.arco-modal-simple {
max-width: 75vw;
}
body.mobile .arco-modal:not(.arco-modal-simple) {
max-width: 90vw;
}
</style>