index.scss
1.44 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
.platform-container {
width: 100%;
box-sizing: border-box;
padding: 0 20rpx;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
// columns: 2;
// column-gap: 22rpx;
}
.platform-container .left, .platform-container .right {
display: inline-block;
vertical-align: top;
width: calc(50% - 10rpx);
}
.element {
width: 100%;
background: #FFFFFF;
border-radius: 16rpx;
margin-bottom: 20rpx;
.banner {
width: 100%;
height: 344rpx;
border-radius: 16rpx;
}
.title {
font-weight: 400;
font-size: 28rpx;
color: #0A0D14;
padding: 0 20rpx;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
margin-top: 20rpx;
}
.footer {
display: table-cell;
vertical-align: bottom;
padding: 0 20rpx;
.unit {
font-weight: 600;
font-size: 24rpx;
color: #FF6038;
line-height: 64rpx;
}
.price {
font-weight: 600;
font-size: 36rpx;
color: #FF6038;
}
.tip {
font-weight: 400;
font-size: 20rpx;
color: #858A94;
margin-left: 8rpx;
}
}
}