list.wxss
1.04 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
/* components/list/list.wxss */
.group {
background: #fff;
padding-left: 40rpx;
}
.group .view {
height: 103rpx;
line-height: 103rpx;
font-size: 28rpx;
color: #333;
border-bottom: 1rpx solid #eee;
position: relative;
display: flex;
align-items: center;
}
.group .image {
width: 28rpx;
height: 28rpx;
margin-right: 20rpx;
vertical-align: baseline;
}
.group .text {
display: inline-block;
max-width: 65%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.group .label {
width: 25%;
}
.group .input {
width: 75%;
}
.arrow::after {
content: '';
width: 14rpx;
height: 14rpx;
position: absolute;
top: 50%;
right: 40rpx;
border-right: 2rpx solid #999;
border-bottom: 2rpx solid #999;
transform: translateY(-50%) rotate(-45deg);
}
.tips {
font-size: 20rpx;
color: #999;
position: absolute;
top: 50%;
right: 80rpx;
transform: translateY(-50%);
}
.noValue {
display: block;
width: 75%;
color: #999;
}