Commit 883f6e6b authored by liujiangnan's avatar liujiangnan

feat: 遮罩层

parent fd50b617
......@@ -645,9 +645,9 @@ export default class NewClass extends middleLayerBase {
this.showTips("已经是最后一页了~");
return;
}
this.showConfirm("确定跳过吗?", () => {
// this.showConfirm("确定跳过吗?", () => {
this.goNextPage();
});
// });
});
buttonOnClick(cc.find('middleLayer/BtnLeft'), () => {
this.goPrePage();
......
......@@ -312,6 +312,9 @@ export abstract class middleLayerBase extends cc.Component {
if (!this.courses || index == this.courseIndex || index < 0 || index > this.courses.length - 1) {
return;
}
this.showMask();
this.showWaitingLetters();
(<any>window).courseware.freeAllOcMethod();
this.courseIndex = index;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment