-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.less
97 lines (79 loc) · 1.27 KB
/
index.less
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
@import (css) '~weui';
html, body {
height: 100%;
-webkit-tap-highlight-color: transparent;
}
body {
font-family: -apple-system-font, "Helvetica Neue", Helvetica, sans-serif;
}
ul {
list-style: none;
}
body, .page {
background-color: #EDEDED;
}
.page {
box-sizing: border-box;
}
.link {
color: #07C160;
}
/* layout */
.container {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow: hidden;
}
.page {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
opacity: 0;
z-index: 1;
// fix 滑动几次后可滚动区域会卡住的问题
&.js_show {
opacity: 1;
}
}
.page__hd {
padding: 40px;
}
.page__bd {
}
.page__bd_spacing {
padding: 0 16px;
}
.page__ft {
padding-top: 40px;
padding-bottom: 10px;
padding-bottom: calc(10px ~"+ constant(safe-area-inset-bottom)");
padding-bottom: calc(10px ~"+ env(safe-area-inset-bottom)");
text-align: center;
img {
height: 19px;
}
&.j_bottom {
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
}
.page__title {
text-align: left;
font-size: 20px;
font-weight: 400;
}
.page__desc {
margin-top: 4px;
color: rgba(0, 0, 0, .5);
text-align: left;
font-size: 14px;
}