فهرست منبع

Merge branch 'online_winpc_landy' of http://gogs.efunbox.cn:3000/Rankin/2BTV-Web into online_winpc_landy

zhanghe 6 سال پیش
والد
کامیت
73ac662df5
2فایلهای تغییر یافته به همراه23 افزوده شده و 23 حذف شده
  1. BIN
      src/stage/index/assets/img/IndexScene/logo.png
  2. 23 23
      src/stage/index/scene/LessonScene.js

BIN
src/stage/index/assets/img/IndexScene/logo.png


+ 23 - 23
src/stage/index/scene/LessonScene.js

@@ -495,25 +495,25 @@ class LessonScene extends scene {
     			this.postPlayRecord(this.curWareId, this.courseId);
     			break;
     		case 'view-full-screen':
-                if (this.curWareType === Consts.TYPE_IMAGE) {
-            		this.showScene(require('./ImageWareFullScreenScene.js'), {
-            			wareList: this.wareList,
-            			curWareIndex: this.curWareIndex,
-            			curImageList: this.curImageList,
-            			curImageIndex: this.curImageIndex,
-            		});
-                } else if (this.curWareType === Consts.TYPE_VIDEO) {
-                    let video = document.getElementById('hls-video');
-                    if (video) {
-                        video.webkitEnterFullScreen();
-                        // document.getElementById('view-content').removeChild(video);
-                    }
-                    // this.showScene(require('./VideoWareFullScreenScene.js'), {
-                    //     isFull: true,
-                    //     wareList: this.wareList,
-                    //     curWareIndex: this.curWareIndex,
-                    // });
-                }
+          if (this.curWareType === Consts.TYPE_IMAGE) {
+        		this.showScene(require('./ImageWareFullScreenScene.js'), {
+        			wareList: this.wareList,
+        			curWareIndex: this.curWareIndex,
+        			curImageList: this.curImageList,
+        			curImageIndex: this.curImageIndex,
+        		});
+          } else if (this.curWareType === Consts.TYPE_VIDEO) {
+              let video = document.getElementById('hls-video');
+              if (video) {
+                  video.webkitEnterFullScreen();
+                  // document.getElementById('view-content').removeChild(video);
+              }
+              // this.showScene(require('./VideoWareFullScreenScene.js'), {
+              //     isFull: true,
+              //     wareList: this.wareList,
+              //     curWareIndex: this.curWareIndex,
+              // });
+          }
     			this.postPlayRecord(this.cur_item_id, this.courseId);
     			break;
     		case 'view-previous':
@@ -521,10 +521,10 @@ class LessonScene extends scene {
     				this.curImageIndex -= 1;
     				this.renderImageView();
     			}
-                if (this.curWareType === Consts.TYPE_AUDIOBOOK && this.curAudioIndex - 1 >= 0) {
-                    this.curAudioIndex -= 1;
-                    this.renderAudioView();
-                }
+          if (this.curWareType === Consts.TYPE_AUDIOBOOK && this.curAudioIndex - 1 >= 0) {
+              this.curAudioIndex -= 1;
+              this.renderAudioView();
+          }
     			this.postPlayRecord(this.curWareId, this.courseId);
     			break;
     		case 'view-next':