-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.wxss
66 lines (54 loc) · 1.01 KB
/
app.wxss
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
@import "pages/common/index.wxss";
/**app.wxss**/
.container {
box-sizing: border-box;
background: #f0f0f0;
}
video {
width: 100%;
}
.card {
margin: 10px 0;
padding: 20rpx;
background: #fff;
}
.card .card-hd {
display: -webkit-box;
display: -ms-flex-box;
display: -webkit-flex;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
box-sizing: border-box;
font-size: 36rpx;
}
.card .card-hd .more {
position: relative;
color: #333;
font-size: 26rpx;
}
.card .card-hd .more:after {
position: absolute;
left: -10rpx;
right: -10rpx;
top: -10rpx;
bottom: -10rpx;
content: '';
background-color: transparent;
}
.card .card-bd {
margin-top: 10px;
font-size: 26rpx;
line-height: 1.8;
}
.text-ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}