forked from EastWorld/wechat-app-mall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.wxss
80 lines (75 loc) · 1.52 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
71
72
73
74
75
76
77
78
79
80
@import 'weui/weui.wxss';
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
}
.space {
height:20rpx;
background-color: #F2f2f2;
}
.safeAreaOldPaddingBttom {
padding-bottom: env(safe-area-inset-bottom);
}
.safeAreaNewPaddingBttom{
padding-bottom: constant(safe-area-inset-bottom);
}
.safeAreaOldMarginBttom {
margin-bottom: env(safe-area-inset-bottom);
}
.safeAreaNewMarginBttom{
margin-bottom: constant(safe-area-inset-bottom);
}
.no-data {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.no-data .line {
width:132rpx;
height:2rpx;
background: #999;
}
.no-data .txt {
font-size:26rpx;
color:rgba(153,153,153,1);
margin: 0 16rpx;
}
.ad-img {
width: 100vw;
}
.badge {
position: absolute;
top: 0;
right: 0;
box-sizing: border-box;
padding: 6rpx;
color: #fff;
font-size: 18rpx;
display: flex;
justify-content: center;
align-items: center;
background-color: #e64340;
border: 1rpx solid #fff;
border-radius: 50%;
}
.vw100 {
width: 100vw !important;
}
page {
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei',
sans-serif;
}
.block-btn {
padding: 0 32rpx;
}
.safe-bottom-box {
position: fixed;
bottom: calc(env(safe-area-inset-bottom) / 2);
left: 0;
width: 100vw;
}