GoodsItem.wxss
1.23 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
.goods-item {
background: #ffffff;
}
.goods-img {
width: 276rpx;
height: 280rpx;
border-radius: 8rpx 8rpx 0 0;
-webkit-border-radius: 8rpx 8rpx 0 0;
-moz-border-radius: 8rpx 8rpx 0 0;
-ms-border-radius: 8rpx 8rpx 0 0;
-o-border-radius: 8rpx 8rpx 0 0;
}
.goods-content-box {
padding: 20rpx;
}
.goods-title-box {
display: flex;
}
.goods-title-tips {
width: 60rpx;
height: 28rpx;
border-radius: 4rpx;
font-weight: 400;
font-size: 20rpx;
color: #ffffff;
line-height: 28rpx;
text-align: center;
}
.goods-title-tips-new {
background: #70b2ff;
}
.goods-title-tips-miao {
background: #f94a36;
}
.goods-title-text {
max-width: 176rpx;
font-weight: 500;
font-size: 26rpx;
color: #333333;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.goods-msg {
font-weight: 400;
font-size: 20rpx;
color: #d79736;
margin-top: 8rpx;
}
.goods-price-box {
display: flex;
align-items: baseline;
margin-top: 12rpx;
}
.goods-new-price-box {
font-weight: 600;
color: #ec3c1f;
}
.goods-new-price-icon {
font-size: 24rpx;
}
.goods-new-price-text {
font-size: 40rpx;
}
.goods-old-price-box {
font-weight: 400;
font-size: 22rpx;
color: #999999;
text-decoration: line-through;
}