goods.wxss
2.09 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/* components/Goods/Goods.wxss */
.text-hide{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.Goods{
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding: 16rpx 20rpx 0;
box-sizing: border-box;
border-radius: 24rpx 24rpx 0 0;
}
.Goods .left, .Goods .right {
display: inline-block;
vertical-align: top;
width: 50%;
}
.Goods .name {
color: #2D2D2E;
margin: 16rpx 0 ;
}
.left .item-box, .right .item-box{
margin-bottom: 20rpx;
border-radius: 8px;
overflow: hidden;
}
.left .item-box{
margin-right: 11rpx;
}
.right .item-box{
margin-left: 11rpx;
}
.item-box .preview{
width: 100%;
height: 344rpx;
border-radius: 24rpx;
overflow: hidden;
}
.item-box-content{
padding: 20rpx;
}
.item-box-title{
display: flex;
align-items: flex-start;
font-weight: 400;
font-size: 28rpx;
color: #0A0D14;
}
.item-box-title .item-box-title-image{
flex: 0 0 48rpx;
height: 32rpx;
margin-right: 12rpx;
margin-top: 5rpx;
}
.item-box-title .item-box-title-text{
font-size: 28rpx;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
word-break: break-all;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.item-box-time{
font-weight: 500;
font-size: 10px;
color: #858A94;
margin-top: 12rpx;
vertical-align: middle;
}
.item-box-time .text{
display: flex;
align-items: center;
}
.item-box-price{
color: #FC5B32;
font-size: 38rpx;
font-weight: 500;
}
.item-box-price text{
font-weight: 400;
font-size: 22rpx;
margin-left: 4rpx;
}
.item-box-btn {
display: flex;
justify-content: space-between;
margin-top: 10rpx;
}
.item-box-btn .market-price {
font-size: 20rpx;
color: #858A94;
}
.item-box-btn .market-price text {
text-decoration: line-through;
}
.item-box-btn .btn {
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
padding-right: 16rpx;
color: #FFFFFF;
font-weight: 500;
font-size: 24rpx;
width: 132rpx;
height: 48rpx;
background: #FB8A32;
border-radius: 14rpx;
}
.item-box-btn .btn .cart {
width: 48rpx;
height: 48rpx;
}