app.wxss
1.1 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
/**app.wxss**/
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
box-sizing: border-box;
}
/**app.wxss**/
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
box-sizing: border-box;
}
/**app.wxss**/
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
box-sizing: border-box;
}
page,
view,
text,
swiper,
swiper-item,
image,
navigator {
padding: 0;
margin: 0;
box-sizing: border-box;
}
/* 主题颜色通过变量来实现,less存在变量这个知识,原生的css和wxss也支持变量 */
page {
--themeColor: #eb4450;
}
/* 定义统一字体大小,如果设计稿大小是375px
1px=2rpx
14px=28rpx
实现字体大小的变化*/
/* page {
font-size: 28rpx;
} */
.fs28{
font-size: 28rpx;
}
.flex_between {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.flex{
display: flex;
align-items: center;
}