app.wxss
1.0 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
view{
word-wrap:break-word;
word-break: break-all;
}
image {
width: 100%;
height: 100%;
display: block;
}
/*单行溢出*/
.one-txt-cut {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.txt-cut1 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
/*多行溢出 手机端使用*/
.txt-cut {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
/* 删除弹框 */
.take{
position: fixed;
left: 0;
top: 0;
z-index: 1;
width: 100%;
height: 100%;
overflow: hidden;
background: rgba(32, 32, 32, 0.45);
display: flex;
align-items: center;
justify-content: center;
padding: 0 32rpx;
box-sizing: border-box;
z-index: 100;
}
.displayA{
display: flex;
align-items: center;
justify-content: space-between;
}
.displayB{
display: flex;
align-items: center;
}