cmdList.wxss
1.14 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
/* components/orderList/orderList.wxss */
@import '../../style/common.wxss';
.cmd-list-group {
flex-wrap: wrap;
justify-content: space-between;
width: 100%;
}
.cmd-item {
position: relative;
box-sizing: border-box;
border: 1rpx solid #EEEEEE;
border-radius: 8rpx;
-webkit-border-radius: 8rpx;
margin-bottom: 22rpx;
width: 48%;
color: #333;
background-color: #fff;
box-shadow: 0 2rpx 6rpx 0 rgba(215,215,215,0.30);
}
.cmd-item .cmd-img {
overflow: hidden;
border-radius: 8rpx 8rpx 0 0;
-webkit-border-radius: 8rpx 8rpx 0 0;
width: 100%;
/* height: 342rpx; */
}
.cmd-img .img {
width: 100%;
height: 100%;
}
.cmd-item .cmd-text-box {
position: relative;
box-sizing: border-box;
padding: 0 20rpx 20rpx 20rpx;
height: 160rpx;
}
.cmd-item .cmd-text {
margin-top: 20rpx;
margin-bottom: 20rpx;
box-sizing: border-box;
height: 80rpx;
font-size: 28rpx;
line-height: 40rpx;
word-break: break-all;
}
.cmd-item .cmd-price {
font-size: 24rpx;
white-space: nowrap;
color: #FF6601;
}