-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.wxss
More file actions
214 lines (182 loc) · 3.31 KB
/
Copy pathapp.wxss
File metadata and controls
214 lines (182 loc) · 3.31 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
/**app.wxss**/
view, text, input, button, textarea {
/* font-family: "思源黑体"; */
font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
}
button::after {
border: none;
}
button {
border-radius: 0;
padding: 0;
background-color: transparent;
line-height: 0;
/* background: #fff; */
outline: none;
-webkit-tap-highlight-color: transparent;
}
.button-hover {
background-color: transparent;
}
/* 上小线 */
.t-line {
position: absolute;
top: 0rpx;
left: -116%;
width: 332%;
height: 1px;
background-color: #d2d2d2;
transform: scale(0.3);
-webkit-transform: scale(0.3);
-moz-transform: scale(0.3);
-ms-transform: scale(0.3);
}
/* 下小线 */
.b-line {
position: absolute;
bottom: 0rpx;
left: -116%;
width: 332%;
height: 1px;
background-color: #d2d2d2;
transform: scale(0.3);
-webkit-transform: scale(0.3);
-moz-transform: scale(0.3);
-ms-transform: scale(0.3);
}
/* 右小线 */
.r-line {
position: absolute;
top: -50%;
right: 0;
width: 1px;
height: 200%;
background-color: #d2d2d2;
transform: scale(0.5);
-webkit-transform: scale(0.5);
-moz-transform: scale(0.5);
-ms-transform: scale(0.5);
}
/* 封装05 文本超出隐藏 */
.hd-text {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/* 封装05-1 两行或多行文本超出隐藏 */
.more_row_hidden {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
/* 封装10 顶部横线 */
.top-line {
width: 100%;
height: 2rpx;
position: fixed;
left: 0;
top: 0;
background-color: #e9e9e9;
z-index: 2;
}
/* 封装11 不出现滚动条 */
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
/* 惯性滚动 ios端媲美原生app体验*/
.scroll-fn {
-webkit-overflow-scrolling: touch;
}
/*加载中 */
.bottom_jiazai image {
width: 30rpx;
height: 30rpx;
vertical-align: middle;
margin-top: -5rpx;
margin-right: 10rpx;
}
.bottom_jiazai {
position: relative;
font-size: 12px;
text-align: center;
color: #999;
line-height: 30px;
z-index: 1;
}
.bottom_jiazai view {
position: absolute;
width: 75%;
height: 1px;
top: 14px;
left: 50%;
margin-left: -37.5%;
z-index: -1;
}
.bottom_jiazai .no {
padding: 0px 8px;
}
/* 弹窗 */
.window {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
flex-direction: column;
transition: all 0.3s;
z-index: 200;
}
/* 让元素居中 */
.center {
display: flex;
justify-content: center;
align-items: center;
}
/* 弹窗 动画 */
@keyframes animate{
0%{
transform: translate(-50%,-50%) scale(0);
}
70%{
transform: translate(-50%,-50%) scale(1.05);
}
100%{
transform: translate(-50%,-50%) scale(1);
}
}
@keyframes back{
0%{
transform: translate(-50%,-50%) scale(1);
}
30%{
transform: translate(-50%,-50%) scale(1.05);
}
100%{
transform: translate(-50%,-50%) scale(0);
}
}
/* 页面没有信息 */
.none-box{
position: absolute;
left: 50%;
top: 50%;
width: 100%;
height: 280rpx;
transform: translate(-50%,-50%);
}
.none-img image{
width: 100%;
height: 195rpx;
}
.none-txt{
font-size: 26rpx;
color: #999999;
text-align: center;
}