Commit c6c7de31 authored by Lwd's avatar Lwd

aaaa

parent 934dd06d
......@@ -180,7 +180,7 @@
"array": [
0,
0,
349.2653390168773,
278.86018001858923,
0,
0,
0,
......
......@@ -48,9 +48,9 @@ var game = cc.Class({
// 生命周期 onLoad
onLoad() {
//初始化游戏
this.initGame();
// //初始化游戏
// this.initGame();
this.UpdataUi();
if (window.addEventListener) {
window.addEventListener('resize', this.scaleEventCallBack, false)
} else if (window.attachEvent) {
......@@ -141,14 +141,14 @@ var game = cc.Class({
//更新界面信息
UpdataUi: function () {
//获得当前页的关卡
var itemInfo = g.data_mgr.getPageInfo();
// //获得当前页的关卡
// var itemInfo = g.data_mgr.getPageInfo();
//第几排的第几个来算这个位置
this.resetUI();
//添加项
this.addItem2(itemInfo);
this.addItem2();
// //设置上下页按钮状态
// this.setButtonState();
......
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