Commit 88db8a28 authored by liujiangnan's avatar liujiangnan

feat: 屏蔽往回返的按钮

parent 719a7288
......@@ -322,7 +322,7 @@ cc.Class({
if (this.courseIndex == 0) {
cc.find('middleLayer/BtnLeft').active = false;
} else {
cc.find('middleLayer/BtnLeft').active = true;
cc.find('middleLayer/BtnLeft').active = false;
}
if (this.courseIndex == this.courses.length - 1) {
cc.find('middleLayer/BtnRight').active = false;
......@@ -384,7 +384,7 @@ cc.Class({
cc.find('middleLayer/BtnRight').active = true;
}
if (this.courseIndex > 0) {
cc.find('middleLayer/BtnLeft').active = true;
cc.find('middleLayer/BtnLeft').active = false;
}
this.reWriteAir();
this.loadPageBundle();
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 84,
"height": 64,
"width": 171,
"height": 146,
"platformSettings": {},
"subMetas": {
"Btn": {
......
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