Commit 2cdf1d3f authored by zjz1994's avatar zjz1994
parents 2175ec93 1964fbe7
...@@ -136,8 +136,8 @@ ...@@ -136,8 +136,8 @@
// localStorage.clear(); // localStorage.clear();
window['imgver'] = '11112'; window['imgver'] = '11112';
//top 8 ,repeat 22 , bottom 3 //top 8 ,repeat 22 , bottom 3
window['total_level'] = 8 + 3 + 22 * 39; window['total_level'] = 8 + 3 + 22 * 40;
window['last_level'] = 850; window['last_level'] = 875;
var sharePic = document.getElementById('pic'); var sharePic = document.getElementById('pic');
sharePic.onclick = function () { sharePic.onclick = function () {
......
...@@ -203,14 +203,18 @@ export default class MainBase extends eui.UILayer { ...@@ -203,14 +203,18 @@ export default class MainBase extends eui.UILayer {
super.createChildren(); super.createChildren();
egret.lifecycle.addLifecycleListener((context) => { egret.lifecycle.addLifecycleListener((context) => {
// custom lifecycle plugin // custom lifecycle plugin
// console.log("addLifecycleListener--------------------");
}) })
egret.lifecycle.onPause = () => { egret.lifecycle.onPause = () => {
// egret.ticker.pause(); // console.log("pause--------------------");
egret.ticker.pause();
} }
egret.lifecycle.onResume = () => { egret.lifecycle.onResume = () => {
// egret.ticker.resume(); console.log('resume-------------------');
GDispatcher.dispatchEvent('docVisible');
egret.ticker.resume();
} }
//inject the custom material parser //inject the custom material parser
......
...@@ -27,6 +27,7 @@ export default class TaskCenter extends Panel { ...@@ -27,6 +27,7 @@ export default class TaskCenter extends Panel {
} }
private getTaskInfo() { private getTaskInfo() {
// console.log("刷新任务数据------------------------");
NetManager.ins.getTaskInfo((success, res) => { NetManager.ins.getTaskInfo((success, res) => {
if(!success) { if(!success) {
return; return;
......
import { ChapterData } from "../interface/ChapterData";
//851-875
export const Chapters34: ChapterData[] = [
]
...@@ -35,6 +35,7 @@ import { Chapters30 } from "./Chapter30"; ...@@ -35,6 +35,7 @@ import { Chapters30 } from "./Chapter30";
import { Chapters31 } from "./Chapter31"; import { Chapters31 } from "./Chapter31";
import { Chapters32 } from "./Chapter32"; import { Chapters32 } from "./Chapter32";
import { Chapters33 } from "./Chapter33"; import { Chapters33 } from "./Chapter33";
import { Chapters34 } from "./Chapter34";
//所有的关卡 //所有的关卡
const chapters: ChapterData[] = [].concat( const chapters: ChapterData[] = [].concat(
Chapters1, Chapters1,
...@@ -69,7 +70,8 @@ const chapters: ChapterData[] = [].concat( ...@@ -69,7 +70,8 @@ const chapters: ChapterData[] = [].concat(
Chapters30, Chapters30,
Chapters31, Chapters31,
Chapters32, Chapters32,
Chapters33 Chapters33,
Chapters34
) )
// console.log(chapters) // console.log(chapters)
chapters.forEach((chapter,index) => { chapters.forEach((chapter,index) => {
......
...@@ -30,7 +30,7 @@ const handleVisibilityChange = (e) => { ...@@ -30,7 +30,7 @@ const handleVisibilityChange = (e) => {
const sendData = () => { const sendData = () => {
const t0 = endTimer - startTimer; const t0 = endTimer - startTimer;
console.log('停留时间是', t0); // console.log('页面切换停留时间是----------------', t0);
// if (localStorage.getItem('xxl_first_statistics') == null) { // if (localStorage.getItem('xxl_first_statistics') == null) {
// NetManager.ins.remainDuration(t0, true); // NetManager.ins.remainDuration(t0, true);
// localStorage.setItem('xxl_first_statistics', '1'); // localStorage.setItem('xxl_first_statistics', '1');
......
...@@ -4263,6 +4263,131 @@ ...@@ -4263,6 +4263,131 @@
"levelNum": 850, "levelNum": 850,
"maxScore": 47440, "maxScore": 47440,
"stars": 1 "stars": 1
},
{
"levelNum": 851,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 852,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 853,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 854,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 855,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 856,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 857,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 858,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 859,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 860,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 861,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 862,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 863,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 864,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 865,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 866,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 867,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 868,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 869,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 870,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 871,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 872,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 873,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 874,
"maxScore": 47440,
"stars": 1
},
{
"levelNum": 875,
"maxScore": 47440,
"stars": 1
} }
], ],
"remainProp": [ "remainProp": [
......
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