CustomVideo.scss
2.29 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/* pages/crowdfunding/components/CustomVideo/CustomVideo.wxss */
@import "../../assets/css/index.wxss";
.process-container {
box-sizing: border-box;
position: absolute;
bottom: 34rpx;
left: 0;
display: flex;
align-items: center;
width: calc(100% - 12rpx);
min-height: 68rpx;
margin: 0 6rpx;
padding: 0 4rpx;
background: rgba(0, 0, 0, 0.3);
border-radius: 40rpx;
}
.process-container.process-up {
bottom: 110rpx;
}
// .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%);
// }
.process-container .icon {
line-height: 80rpx;
}
.slider-container {
position: relative;
width: calc(100% - 60rpx);
margin-top: -18rpx;
.slider-time {
position: absolute;
bottom: -4rpx;
left: 0;
display: flex;
width: calc(100% - 40rpx);
justify-content: space-between;
margin: 2rpx 20rpx;
font-size: 10px;
color: #DBDBDB;
}
}
// .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;
// }