tencent.jquery.pix.component 1.0.79 → 1.0.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/banner/banner.js +460 -460
- package/components/banner/banner.scss +49 -49
- package/components/config.js +23 -23
- package/components/list/list.js +216 -216
- package/components/tips/tipv2.js +556 -556
- package/components/utils/env.js +7 -7
- package/components/utils/utils.js +65 -65
- package/components/video/videocss.scss +513 -513
- package/components/video/videohtml.js +85 -85
- package/components/video/videoplayer.js +822 -811
- package/components/waterfall/waterfall.js +1281 -1254
- package/components/waterfall/waterfall.scss +17 -17
- package/index.js +10 -10
- package/package.json +17 -17
- package/readme.md +15 -15
- package/style/animation.scss +40 -40
- package/utils/utils.js +15 -15
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
const html = `
|
|
2
|
-
<div class="myplayer-video-preview"></div>
|
|
3
|
-
<div class="myplayer-video-cover"></div>
|
|
4
|
-
|
|
5
|
-
<!-- 以下为播放器UI -->
|
|
6
|
-
<div class="myplayer-container myplayer-grow1">
|
|
7
|
-
<!-- <video src=""></video>-->
|
|
8
|
-
<div class="myplayer-video-mask myplayer-transparent">
|
|
9
|
-
<div class="myplayer-btn-big-play myplayer-transparent"></div>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="myplayer-top myplayer-transparent">
|
|
12
|
-
<text class="myplayer-title"></text>
|
|
13
|
-
</div>
|
|
14
|
-
<div class="myplayer-bottom myplayer-transparent">
|
|
15
|
-
<div class="myplayer-control">
|
|
16
|
-
<div class="myplayer-grow1" style="margin: 0">
|
|
17
|
-
<!-- 进度条 -->
|
|
18
|
-
<div class="myplayer-progress" draggable="true">
|
|
19
|
-
<div class="myplayer-progress-bg"></div>
|
|
20
|
-
<div class="myplayer-subprogress">
|
|
21
|
-
<div class="myplayer-progress-handle"></div>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="myplayer-grow1 myplayer-btns myplayer-shrink1">
|
|
26
|
-
<div class="myplayer-btns-left">
|
|
27
|
-
<!-- 播放按钮 -->
|
|
28
|
-
<div class="myplayer-btn-play" style="display: none;"></div>
|
|
29
|
-
<!-- 暂停按钮 -->
|
|
30
|
-
<div class="myplayer-btn-pause"></div>
|
|
31
|
-
<!-- 播放时间 -->
|
|
32
|
-
<text class="myplayer-playtime">00:00</text>
|
|
33
|
-
<text class="myplayer-divide">/</text>
|
|
34
|
-
<!-- 总时间 -->
|
|
35
|
-
<text class="myplayer-totaltime">00:00</text>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="myplayer-btns-right">
|
|
38
|
-
<!-- 重播按钮 -->
|
|
39
|
-
<!-- <div class="myplayer-btn-replay"></div> -->
|
|
40
|
-
<!-- 分辨率 -->
|
|
41
|
-
<!-- <div class="myplayer-resolution">
|
|
42
|
-
<text class="myplayer-media-resolution">标清</text>
|
|
43
|
-
<div class="myplayer-resolutionlist">
|
|
44
|
-
<text class="myplayer-sd on">标清</text>
|
|
45
|
-
<text class="myplayer-hd">高清</text>
|
|
46
|
-
</div>
|
|
47
|
-
</div> -->
|
|
48
|
-
<!-- 音量 -->
|
|
49
|
-
<div class="myplayer-volume" style="display: none;">
|
|
50
|
-
<div class="myplayer-volume-icon"></div>
|
|
51
|
-
<div class="myplayer-volume-off-icon" style="display: none;"></div>
|
|
52
|
-
<div class="myplayer-volume-rate" style="display: none;">
|
|
53
|
-
<text>50</text>
|
|
54
|
-
<div class="myplayer-volume-line" draggable="true">
|
|
55
|
-
<div class="myplayer-volume-linebg"></div>
|
|
56
|
-
<div class="myplayer-volume-subline" style="height: 50%;"><div></div></div>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
<!-- 全屏/缩小全屏 -->
|
|
61
|
-
<div class="myplayer-btn-full-screen">
|
|
62
|
-
<div></div>
|
|
63
|
-
</div>
|
|
64
|
-
<div class="myplayer-btn-exit-full-screen" style="display: none;">
|
|
65
|
-
<div></div>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
<!-- 以下为播放器UI 临时变量 -->
|
|
73
|
-
<!--<div class="variable">-->
|
|
74
|
-
<!-- <div class="playerMediaStatus" style="display:none;">1</div>-->
|
|
75
|
-
<!-- <div class="isShowContrilNav" style="display:none;">0</div>-->
|
|
76
|
-
<!-- <div class="hideControlTimeout" style="display:none;">0</div>-->
|
|
77
|
-
<!-- <div class="playTimeTimeout" style="display:none;">0</div>-->
|
|
78
|
-
<!-- <div class="clickProgress" style="display:none;">0</div>-->
|
|
79
|
-
<!-- <div class="isMax" style="display:none;">0</div>-->
|
|
80
|
-
<!-- <div class="autohidenavhandle" style="display:none;"></div>-->
|
|
81
|
-
<!-- <div class="clickvolumerate" style="display:none;">0</div>-->
|
|
82
|
-
<!--</div>-->
|
|
83
|
-
`;
|
|
84
|
-
|
|
85
|
-
export default html;
|
|
1
|
+
const html = `
|
|
2
|
+
<div class="myplayer-video-preview"></div>
|
|
3
|
+
<div class="myplayer-video-cover"></div>
|
|
4
|
+
|
|
5
|
+
<!-- 以下为播放器UI -->
|
|
6
|
+
<div class="myplayer-container myplayer-grow1">
|
|
7
|
+
<!-- <video src=""></video>-->
|
|
8
|
+
<div class="myplayer-video-mask myplayer-transparent">
|
|
9
|
+
<div class="myplayer-btn-big-play myplayer-transparent"></div>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="myplayer-top myplayer-transparent">
|
|
12
|
+
<text class="myplayer-title"></text>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="myplayer-bottom myplayer-transparent">
|
|
15
|
+
<div class="myplayer-control">
|
|
16
|
+
<div class="myplayer-grow1" style="margin: 0">
|
|
17
|
+
<!-- 进度条 -->
|
|
18
|
+
<div class="myplayer-progress" draggable="true">
|
|
19
|
+
<div class="myplayer-progress-bg"></div>
|
|
20
|
+
<div class="myplayer-subprogress">
|
|
21
|
+
<div class="myplayer-progress-handle"></div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="myplayer-grow1 myplayer-btns myplayer-shrink1">
|
|
26
|
+
<div class="myplayer-btns-left">
|
|
27
|
+
<!-- 播放按钮 -->
|
|
28
|
+
<div class="myplayer-btn-play" style="display: none;"></div>
|
|
29
|
+
<!-- 暂停按钮 -->
|
|
30
|
+
<div class="myplayer-btn-pause"></div>
|
|
31
|
+
<!-- 播放时间 -->
|
|
32
|
+
<text class="myplayer-playtime">00:00</text>
|
|
33
|
+
<text class="myplayer-divide">/</text>
|
|
34
|
+
<!-- 总时间 -->
|
|
35
|
+
<text class="myplayer-totaltime">00:00</text>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="myplayer-btns-right">
|
|
38
|
+
<!-- 重播按钮 -->
|
|
39
|
+
<!-- <div class="myplayer-btn-replay"></div> -->
|
|
40
|
+
<!-- 分辨率 -->
|
|
41
|
+
<!-- <div class="myplayer-resolution">
|
|
42
|
+
<text class="myplayer-media-resolution">标清</text>
|
|
43
|
+
<div class="myplayer-resolutionlist">
|
|
44
|
+
<text class="myplayer-sd on">标清</text>
|
|
45
|
+
<text class="myplayer-hd">高清</text>
|
|
46
|
+
</div>
|
|
47
|
+
</div> -->
|
|
48
|
+
<!-- 音量 -->
|
|
49
|
+
<div class="myplayer-volume" style="display: none;">
|
|
50
|
+
<div class="myplayer-volume-icon"></div>
|
|
51
|
+
<div class="myplayer-volume-off-icon" style="display: none;"></div>
|
|
52
|
+
<div class="myplayer-volume-rate" style="display: none;">
|
|
53
|
+
<text>50</text>
|
|
54
|
+
<div class="myplayer-volume-line" draggable="true">
|
|
55
|
+
<div class="myplayer-volume-linebg"></div>
|
|
56
|
+
<div class="myplayer-volume-subline" style="height: 50%;"><div></div></div>
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
<!-- 全屏/缩小全屏 -->
|
|
61
|
+
<div class="myplayer-btn-full-screen">
|
|
62
|
+
<div></div>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="myplayer-btn-exit-full-screen" style="display: none;">
|
|
65
|
+
<div></div>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
<!-- 以下为播放器UI 临时变量 -->
|
|
73
|
+
<!--<div class="variable">-->
|
|
74
|
+
<!-- <div class="playerMediaStatus" style="display:none;">1</div>-->
|
|
75
|
+
<!-- <div class="isShowContrilNav" style="display:none;">0</div>-->
|
|
76
|
+
<!-- <div class="hideControlTimeout" style="display:none;">0</div>-->
|
|
77
|
+
<!-- <div class="playTimeTimeout" style="display:none;">0</div>-->
|
|
78
|
+
<!-- <div class="clickProgress" style="display:none;">0</div>-->
|
|
79
|
+
<!-- <div class="isMax" style="display:none;">0</div>-->
|
|
80
|
+
<!-- <div class="autohidenavhandle" style="display:none;"></div>-->
|
|
81
|
+
<!-- <div class="clickvolumerate" style="display:none;">0</div>-->
|
|
82
|
+
<!--</div>-->
|
|
83
|
+
`;
|
|
84
|
+
|
|
85
|
+
export default html;
|