-
Notifications
You must be signed in to change notification settings - Fork 13
/
App.vue
76 lines (70 loc) · 1.54 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
73
74
75
76
<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
}
}
</script>
<style lang="scss">
@import '@/uni_modules/sky-nutui/components/sky-nutui/app.scss';
.demo {
height: 100%;
background: #f7f8fa;
overflow-x: hidden;
overflow-y: auto;
padding: 0 17px 17px 17px;
&.full {
padding: 0 0 0 0;
.h2 {
padding-left: 27px;
}
}
&.bg-w {
background: #fff;
}
&::-webkit-scrollbar {
width: 0;
background: transparent;
}
> .h2 {
margin-top: 30px;
margin-bottom: 10px;
font-size: 14px;
color: rgba(144, 156, 164, 1);
padding: 0 10px;
font-weight: normal;
}
> p {
font-size: 12px;
}
.card {
padding: 25px 18px;
background: rgba(255, 255, 255, 1);
}
}
/*每个页面公共css */
button {
background-color: #f8f8f8;
border-radius: 0;
box-sizing: border-box;
display: inline-block;
margin-left: 0;
margin-right: 0;
overflow: hidden;
padding-left: 0;
padding-right: 0;
position: relative;
text-align: center;
text-decoration: none;
}
button:after {
border: none;
height: 0;
}
</style>