forked from jeneser/douban
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.vue
64 lines (54 loc) · 853 Bytes
/
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
<template>
<div id="app">
<router-view class="view"></router-view>
<router-view class="view" name="subject"></router-view>
<router-view class="view" name="search"></router-view>
</div>
</template>
<script>
export default {
name: 'app'
}
</script>
<style lang="scss">
// Base setting and rest
html {
font-size: 62.5%;
}
#app {
max-width: 41.2rem;
margin: 0 auto;
}
.has-header {
margin-top: 4.8rem;
}
h2 {
font-size: 1.68rem;
font-weight: normal;
color: #111;
}
ul, li, a, h2 {
margin: 0;
padding: 0;
}
li {
list-style: none;
}
a {
text-decoration: none;
}
// Common style
.header-bar {
position: fixed;
left: 0;
right: 0;
top: 0;
z-index: 998;
display: flex;
align-items: center;
height: 4.8rem;
padding: 0 1.8rem;
background: #fff;
border-bottom: 0.1rem solid #f3f3f3;
}
</style>