AfterSaleInfoBox.scss
1.19 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
.box {
border-radius: 16rpx;
background-color: #fff;
}
.text-box {
padding: 32rpx 24rpx;
}
.text-box .title {
font-weight: 600;
font-size: 32rpx;
color: #282829;
margin-bottom: 24rpx;
}
.text-box .item {
margin-bottom: 12rpx;
display: flex;
align-items: flex-start;
}
.text-box .item .label {
width: auto;
min-width: fit-content;
margin-right: 10rpx;
flex-shrink: 0;
}
.text-box .item .value {
color: #656566;
flex: 1;
word-wrap: break-word;
word-break: break-word;
white-space: normal;
}
.photo-box {
position: relative;
padding: 32rpx 24rpx;
display: grid;
/* 自动根据容器宽度决定列数,每列最小 200rpx,最大 1fr */
grid-template-columns: repeat(auto-fill, minmax(200rpx, 1fr));
gap: 20rpx;
/* 保证最后一行左对齐 */
justify-items: start;
&::before {
content: '';
position: absolute;
top: 0;
left: 24rpx;
right: 24rpx;
height: 1px;
background-color: #FFEFF0F2;
}
.item {
box-sizing: border-box;
width: 200rpx;
height: 200rpx;
// background: #d8d8d8;
// margin: 0 20rpx 20rpx 0;
border-radius: 8rpx;
overflow: hidden;
}
}