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
.notes {
border: 1rpx solid rgba(10, 10, 10, 0.14);
border-radius: 16rpx;
padding: 16rpx;
margin-top: 16rpx;
}
.notes-edit {
min-height: 400rpx;
padding: 32rpx;
margin-bottom: 16rpx;
}
.parent-node {
max-height: 200rpx;
display: block;
display: -webkit-box;
/*关键属性(必须有的) */
-webkit-box-orient: vertical;
/*规定子元素的排列方向 */
-webkit-line-clamp: 5;
/*行数*/
/* 实现多余的文字隐藏并用省略号来代表被隐藏的文字 */
overflow: hidden;
text-overflow: ellipsis;
}
.state {
font-family: PingFangSC-Medium;
margin-top: 16rpx;
color: rgba(10, 10, 10)
}
.hide {
max-height: max-content;
text-overflow: unset;
max-height: unset;
-webkit-line-clamp: unset;
}