Activity.wxss
1.3 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
.item {
border-radius: 8rpx;
width: 328rpx;
height: 520rpx;
margin-bottom: 32rpx;
position: relative;
overflow: hidden;
}
.text-center {
display: flex;
align-items: center;
justify-content: center;
}
.item .img {
width: 100%;
height: 328rpx;
}
.item .info {
padding: 16rpx 14rpx 20rpx;
background: #F7F8FA;
}
.item .title {
width: 100%;
box-sizing: border-box;
font-size: 28rpx;
color: #2D2D2E;
line-height: 40rpx;
height: 80rpx;
}
.text-two-line {
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.item .price-box {
margin-top: 12rpx;
width: 100%;
height: 64rpx;
position: relative;
}
.item .price-box .price {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
display: flex;
align-items: center;
font-weight: 500;
}
.item .price-box .price .num {
width: calc(100% - 80rpx);
color: #fff;
font-size: 40rpx;
box-sizing: border-box;
padding-left: 4rpx;
display: flex;
align-items: baseline;
}
.item .price-box .price .num .unit {
font-size: 24rpx;
margin: 0 4rpx;
}
.item .price-box .price .num .up {
transform: translateY(-2rpx);
}
.item .price-box .price .text {
width: 80rpx;
height: 100%;
font-size: 28rpx;
color: #FC5B32;
}