Xing Jinwen | ff16b1e | 2025-06-05 00:29:26 +0800 | [diff] [blame^] | 1 | <template> |
2 | <div id="app"> | ||||
3 | <router-view /> | ||||
4 | </div> | ||||
5 | </template> | ||||
6 | |||||
7 | <script> | ||||
8 | export default { | ||||
9 | name: 'App' | ||||
10 | } | ||||
11 | </script> | ||||
12 | |||||
13 | <style> | ||||
14 | #app { | ||||
15 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif; | ||||
16 | -webkit-font-smoothing: antialiased; | ||||
17 | -moz-osx-font-smoothing: grayscale; | ||||
18 | margin: 0; | ||||
19 | padding: 0; | ||||
20 | height: 100vh; | ||||
21 | width: 100%; | ||||
22 | } | ||||
23 | |||||
24 | * { | ||||
25 | margin: 0; | ||||
26 | padding: 0; | ||||
27 | box-sizing: border-box; | ||||
28 | } | ||||
29 | |||||
30 | body { | ||||
31 | margin: 0; | ||||
32 | padding: 0; | ||||
33 | height: 100vh; | ||||
34 | overflow-x: hidden; | ||||
35 | } | ||||
36 | </style> |