index.wxss
1.4 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
90
91
92
93
94
95
/* pages/crowdfunding/components/video/index.wxss */
.scroll_view {
width: 100%;
/* height: 460rpx; */
display: flex;
align-items: center;
padding: 32rpx;
box-sizing: border-box;
white-space: nowrap;
}
.scroll_view .video {
display: inline-block;
position: relative;
width: 100%;
height: 384rpx;
margin: 0 20rpx 0 0;
overflow: hidden;
}
.scroll_view .video .img {
width: 100%;
}
.scroll_view .video:last-child {
margin: 0;
}
.scroll_view_more .video {
width: 332rpx;
height: 184rpx;
background: #E9E8EC;
border-radius: 4rpx;
}
.play {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.play .icon {
width: 80rpx;
height: 80rpx;
}
.play_time {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 24rpx;
background-image: linear-gradient(0deg, #292929 0%, #474747 100%);
display: flex;
align-items: center;
padding: 0 12rpx;
}
.play_time .inner {
flex: 2;
height: 4rpx;
background: #000000;
border-radius: 2rpx;
}
.play_time .time {
flex: 1;
flex-shrink: 0;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 18rpx;
color: #FFFFFF;
text-align: right;
}
/*
.play_video {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #fff;
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
} */
.play_video {
width: 0;
height: 0;
}