luyj-tree-item.scss
955 Bytes
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
.container-list-item {
background-color: #fff;
border-bottom: 1rpx solid #f4f4f4;
padding-left: 10rpx;
.content {
display: flex;
align-items: center;
min-height: 60rpx;
width: 100%;
padding: 15rpx 0;
position: relative;
font-size: 32rpx;
// 默认文本显示内容(默认的slot)
.slot {
position:absolute;
right: 64rpx;
font-size: 32rpx;
color: #5b5757;
.word {
width:100%;
word-break: break-all;
}
}
// 默认箭头显示样式
.right {
position: absolute;
right: 30rpx;
color: #babdc3;
font-size: 32rpx;
}
}
}
// 复选框
.checkbox {
position: relative;
height: 36rpx;
margin-left: 10rpx;
margin-right: 0px;
width: 36rpx;
.txt {
font-size: 35rpx;
line-height: 36rpx;
width: 100%;
height: 100%;
display: flex;
}
}
.checkBorder {
border: 1px solid #ecdee4;
}
.text-cut{
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}