-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathapp.vue
72 lines (70 loc) · 1.39 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
64
65
66
67
68
69
70
71
72
<template>
<div class="app_out_box">
<n-config-provider
:locale="zhCN"
:date-locale="dateZhCN"
:theme-overrides="themeOverrides"
>
<n-message-provider>
<NuxtPage></NuxtPage>
</n-message-provider>
</n-config-provider>
</div>
</template>
<script>
import { defineComponent } from "vue";
import { NConfigProvider, NMessageProvider } from "naive-ui";
import { zhCN, dateZhCN } from "naive-ui";
import "@/utils/clickEffect";
import "@/static/css/reset.css";
import "@/static/css/media.less";
export default defineComponent({
components: {
NConfigProvider,
NMessageProvider,
},
setup() {
return {
zhCN,
dateZhCN,
themeOverrides: {
common: {
primaryColor: "#1e80ff",
primaryColorHover: "#1e80e1",
primaryColorPressed: "#1e80c8",
},
},
};
},
});
</script>
<style>
html {
font-size: 100px;
cursor: url(./static/img/cursor.png), default !important;
background-color: #f1f1f1;
}
body {
font-size: 16px;
cursor: url(./static/img/cursor.png), default !important;
}
a,
.cussor {
cursor: url(./static/img/link_select.cur), auto;
}
a:active {
cursor: url(./static/img/person_select.cur), auto;
}
p {
cursor: url(./static/img/normal_select.cur), auto;
}
#__nuxt {
min-height: 100vh;
}
.app_out_box {
min-height: 100vh;
}
.n-config-provider {
min-height: 100vh;
}
</style>