index.wxss
1.56 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
.gl-video {
width: 276rpx;
height: 316rpx;
background: #FFFFFF;
border: 2rpx solid #FFFFFF;
box-shadow: 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.32);
border-radius: 12rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.video-box {
position: relative;
width: 100%;
height: 168rpx;
overflow: hidden;
background: #c6c6c6;
border-radius: 8rpx 8rpx 0 0;
}
.video-box .img {
width: 100%;
}
.video-box .play {
position: absolute;
width: 42rpx;
height: 42rpx;
left: 19rpx;
bottom: 19rpx;
}
.video-fooeter {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 8rpx 0;
}
.video-title {
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 26rpx;
color: #323436;
padding: 0 16rpx;
}
.avatar {
display: flex;
align-items: center;
flex: 1;
flex-shrink: 0;
overflow: hidden;
}
.avatar .img {
width: 32rpx;
height: 32rpx;
border-radius: 100%;
flex-shrink: 0;
}
.avatar .name {
display: inline-block;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 22rpx;
color: #5A6066;
margin-left: 4rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 100%;
}
.video-info {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 16rpx;
box-sizing: border-box;
width: 100%;
}
.total {
display: flex;
align-items: center;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 20rpx;
color: #5A6066;
}
.total .img {
width: 20rpx;
height: 20rpx;
margin-right: 4rpx;
}