-
Notifications
You must be signed in to change notification settings - Fork 13
/
app.wxss
70 lines (61 loc) · 1.05 KB
/
app.wxss
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
/**app.wxss**/
page {
width: 100%;
height: 100%;
display: flex;
background: #f7f7f7;
flex-direction: column;
align-items: center;
}
.absTopLeft0 {
position: absolute;
top: 0rpx;
left: 0rpx;
}
/* 居中显示 */
.flex-center{
display: flex;
align-items: center;
justify-content: center;
}
/* 水平居中显示 */
.flex-row-center{
display: flex;
flex-direction: row;
align-items: center;
}
/* 垂直居中显示 */
.flex-column-center{
display: flex;
flex-direction: column;
align-items: center;
}
/* 垂直靠左显示 */
.flex-column-left{
display: flex;
flex-direction: column;
align-items: flex-start;
}
/* 水平靠左显示 */
.flex-row-left{
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: center
}
/* 垂直居下显示 */
.flex-column-end{
display: flex;
flex-direction: column;
justify-content: flex-end;
}
/* 取消scroll-view滑动条 */
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
/* 按钮点击效果 */
.btn-hover {
opacity: 0.7;
}