Ver código fonte

maybe is unless modfy

sophieChenyx 6 anos atrás
pai
commit
44378676c4

Diferenças do arquivo suprimidas por serem muito extensas
+ 2 - 0
src/lib/js/core.min.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 3 - 0
src/lib/js/hls.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 2 - 0
src/lib/js/md5.min.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 2 - 0
src/lib/js/sha1.min.js


+ 5 - 9
src/stage/index/index.html

@@ -47,19 +47,15 @@
 			eid.dispatchEvent(evt);
 		}
 	</script>
-	<!-- <script src="http://g.alicdn.com/de/alitv-debug/1.1.10/index.min.js"></script> -->
-	<script src="https://cdn.bootcss.com/crypto-js/3.1.9/core.min.js"></script>
-	<script src="https://cdn.bootcss.com/crypto-js/3.1.9/sha1.min.js"></script>
-	<script src="https://cdn.bootcss.com/crypto-js/3.1.9/md5.min.js"></script>
-	<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
+	<!-- <script src="../../lib/js/alitv-debug.min.js"></script> -->
 	<script src="../../lib/js/FocusEngine.min.js"></script>
 	<script src="../../lib/js/blitz.js"></script>
 	<script src="../../lib/js/moye.min.js"></script>
 	<script src="../../lib/js/TVUtil.min.js"></script>
-	<!-- <script src="https://cdn.ravenjs.com/3.23.2/raven.min.js"></script> -->
-	<!-- <script>
-		Raven.config('https://a9383032420e44af813de59554b62c24@sentry.io/304059').install();
-	</script> -->
+	<script src="../../lib/js/core.min.js"></script>
+	<script src="../../lib/js/sha1.min.js"></script>
+	<script src="../../lib/js/md5.min.js"></script>
+	<script src="../../lib/js/hls.js"></script>
 	<script>
 		var ts = '201802051925';
 

+ 5 - 1
src/stage/index/scene/CLScene.js

@@ -172,7 +172,11 @@ class CLScene extends scene {
             }
 
             // 设置顶部名称
-            document.getElementById('name-text').textContent = res.data.name || '未知';
+            let sceneName = res.data.name || '';
+            if (this.sceneType === 'collection') {
+              sceneName = '课程收藏';
+            }
+            document.getElementById('name-text').textContent = sceneName;
 
             // 渲染标签列表
             if (!res.data || !res.data.list || res.data.list.length < 1) {