cell.wxss
1.05 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
/* components/cell/cell.wxss */
.cell-box {
padding-left: 40rpx;
background: #fff;
}
.cell {
height: 100rpx;
position: relative;
border-bottom: 2rpx solid #eee;
font-size: 28rpx;
color: #151515;
display: flex;
align-items: center;
box-sizing: border-box;
padding-right: 40rpx;
}
.cell.inputRight{
justify-content:space-between;
}
.cell.inputRight .input {
text-align: right;
}
.required::before{
content: '*';
color: red;
display: inline-block;
}
.value{
max-width: 75%;
display: flex;
align-items: center;
justify-content: flex-end;
}
.value .text{
display: inline-block;
white-space:nowrap;
overflow:hidden;
text-overflow:ellipsis;
max-width: 90%;
}
.no-value{
color: #999;
}
.cell.cellInput .input {
text-align: right;
width: 70%;
}
.cell.left .input{
width: 100%;
text-align: left;
}
.cell.inputLeft .label{
width: 25%;
}
.arrow{
width: 28rpx;
height: 28rpx;
vertical-align: middle;
transform: translateY(2rpx);
margin-left:20rpx;
}