Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
xiaoxiaole
Commits
2cdf1d3f
Commit
2cdf1d3f
authored
Jun 22, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab2.dui88.com/wanghongyuan/xiaoxiaole
parents
2175ec93
1964fbe7
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
144 additions
and
6 deletions
+144
-6
index.html
egret/index.html
+2
-2
MainBase.ts
egret/libs/new_wx/MainBase.ts
+6
-2
TaskCenter.ts
egret/src/panels/TaskCenter/TaskCenter.ts
+1
-0
Chapter34.ts
egret/src/something/chapters/Chapter34.ts
+6
-0
getChapter.ts
egret/src/something/chapters/getChapter.ts
+3
-1
statistics.ts
egret/src/statistics.ts
+1
-1
home.json
mock/happyclear/home.json
+125
-0
No files found.
egret/index.html
View file @
2cdf1d3f
...
...
@@ -136,8 +136,8 @@
// localStorage.clear();
window
[
'imgver'
]
=
'11112'
;
//top 8 ,repeat 22 , bottom 3
window
[
'total_level'
]
=
8
+
3
+
22
*
39
;
window
[
'last_level'
]
=
8
50
;
window
[
'total_level'
]
=
8
+
3
+
22
*
40
;
window
[
'last_level'
]
=
8
75
;
var
sharePic
=
document
.
getElementById
(
'pic'
);
sharePic
.
onclick
=
function
()
{
...
...
egret/libs/new_wx/MainBase.ts
View file @
2cdf1d3f
...
...
@@ -203,14 +203,18 @@ export default class MainBase extends eui.UILayer {
super
.
createChildren
();
egret
.
lifecycle
.
addLifecycleListener
((
context
)
=>
{
// custom lifecycle plugin
// console.log("addLifecycleListener--------------------");
})
egret
.
lifecycle
.
onPause
=
()
=>
{
// egret.ticker.pause();
// console.log("pause--------------------");
egret
.
ticker
.
pause
();
}
egret
.
lifecycle
.
onResume
=
()
=>
{
// egret.ticker.resume();
console
.
log
(
'resume-------------------'
);
GDispatcher
.
dispatchEvent
(
'docVisible'
);
egret
.
ticker
.
resume
();
}
//inject the custom material parser
...
...
egret/src/panels/TaskCenter/TaskCenter.ts
View file @
2cdf1d3f
...
...
@@ -27,6 +27,7 @@ export default class TaskCenter extends Panel {
}
private
getTaskInfo
()
{
// console.log("刷新任务数据------------------------");
NetManager
.
ins
.
getTaskInfo
((
success
,
res
)
=>
{
if
(
!
success
)
{
return
;
...
...
egret/src/something/chapters/Chapter34.ts
0 → 100644
View file @
2cdf1d3f
import
{
ChapterData
}
from
"../interface/ChapterData"
;
//851-875
export
const
Chapters34
:
ChapterData
[]
=
[
]
egret/src/something/chapters/getChapter.ts
View file @
2cdf1d3f
...
...
@@ -35,6 +35,7 @@ import { Chapters30 } from "./Chapter30";
import
{
Chapters31
}
from
"./Chapter31"
;
import
{
Chapters32
}
from
"./Chapter32"
;
import
{
Chapters33
}
from
"./Chapter33"
;
import
{
Chapters34
}
from
"./Chapter34"
;
//所有的关卡
const
chapters
:
ChapterData
[]
=
[].
concat
(
Chapters1
,
...
...
@@ -69,7 +70,8 @@ const chapters: ChapterData[] = [].concat(
Chapters30
,
Chapters31
,
Chapters32
,
Chapters33
Chapters33
,
Chapters34
)
// console.log(chapters)
chapters
.
forEach
((
chapter
,
index
)
=>
{
...
...
egret/src/statistics.ts
View file @
2cdf1d3f
...
...
@@ -30,7 +30,7 @@ const handleVisibilityChange = (e) => {
const
sendData
=
()
=>
{
const
t0
=
endTimer
-
startTimer
;
console
.
log
(
'停留时间是
'
,
t0
);
// console.log('页面切换停留时间是----------------
', t0);
// if (localStorage.getItem('xxl_first_statistics') == null) {
// NetManager.ins.remainDuration(t0, true);
// localStorage.setItem('xxl_first_statistics', '1');
...
...
mock/happyclear/home.json
View file @
2cdf1d3f
...
...
@@ -4263,6 +4263,131 @@
"levelNum"
:
850
,
"maxScore"
:
47440
,
"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"
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment