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
8db45118
Commit
8db45118
authored
Oct 08, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b013b21d
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
377 additions
and
16 deletions
+377
-16
MainBase.ts
egret/libs/new_wx/MainBase.ts
+2
-1
share2.jpg
egret/resource/assets/share2.jpg
+0
-0
share3.jpg
egret/resource/assets/share3.jpg
+0
-0
ADPanel.ts
egret/src/panels/ADPanel.ts
+1
-1
shareCtrl.ts
egret/src/shareCtrl.ts
+1
-1
Chapters.ts
egret/src/something/Chapters.ts
+12
-12
home.json
mock/happyclear/home.json
+361
-1
No files found.
egret/libs/new_wx/MainBase.ts
View file @
8db45118
...
@@ -41,6 +41,7 @@ import BloodPanel2 from "../../src/panels/BloodPanel2";
...
@@ -41,6 +41,7 @@ import BloodPanel2 from "../../src/panels/BloodPanel2";
import
ExchangePanel
from
"../../src/panels/ExchangePanel"
;
import
ExchangePanel
from
"../../src/panels/ExchangePanel"
;
import
{
initstatistics
}
from
"../../src/statistics"
;
import
{
initstatistics
}
from
"../../src/statistics"
;
import
TaskPanel
from
"../../src/panels/TaskItemRenderer"
;
import
TaskPanel
from
"../../src/panels/TaskItemRenderer"
;
import
ADPanel
from
"../../src/panels/ADPanel"
;
export
default
class
MainBase
extends
eui
.
UILayer
{
export
default
class
MainBase
extends
eui
.
UILayer
{
constructor
()
{
constructor
()
{
...
@@ -75,7 +76,7 @@ export default class MainBase extends eui.UILayer {
...
@@ -75,7 +76,7 @@ export default class MainBase extends eui.UILayer {
[
'sign'
,
{
cls
:
SignPanel
}],
[
'sign'
,
{
cls
:
SignPanel
}],
[
'signPrize'
,
{
cls
:
SignPrizePanel
}],
[
'signPrize'
,
{
cls
:
SignPrizePanel
}],
[
'task'
,
{
cls
:
TaskPanel
}],
[
'task'
,
{
cls
:
TaskPanel
}],
// ['ad', { cls: Ad
Panel }],
[
'ad'
,
{
cls
:
AD
Panel
}],
];
];
const
scenes
=
[
const
scenes
=
[
...
...
egret/resource/assets/share2.jpg
View replaced file @
b013b21d
View file @
8db45118
This diff is collapsed.
Click to expand it.
egret/resource/assets/share3.jpg
View replaced file @
b013b21d
View file @
8db45118
This diff is collapsed.
Click to expand it.
egret/src/panels/A
dd
Panel.ts
→
egret/src/panels/A
D
Panel.ts
View file @
8db45118
...
@@ -12,7 +12,7 @@ import getSharePic, { getShareUrl } from "../getSharePic";
...
@@ -12,7 +12,7 @@ import getSharePic, { getShareUrl } from "../getSharePic";
import
CountDown
from
"../mapScene/CountDown"
;
import
CountDown
from
"../mapScene/CountDown"
;
import
{
updateMainTimer
}
from
"../../libs/new_wx/MainBase"
;
import
{
updateMainTimer
}
from
"../../libs/new_wx/MainBase"
;
export
default
class
A
dd
Panel
extends
Panel
{
export
default
class
A
D
Panel
extends
Panel
{
start
(
data
)
{
start
(
data
)
{
super
.
start
();
super
.
start
();
this
.
showlog
();
this
.
showlog
();
...
...
egret/src/shareCtrl.ts
View file @
8db45118
...
@@ -61,7 +61,7 @@ class Share2 extends ComponentBase {
...
@@ -61,7 +61,7 @@ class Share2 extends ComponentBase {
// img.src = base64;
// img.src = base64;
// img.src = data.data;
// img.src = data.data;
if
(
this
.
type
==
1
)
if
(
this
.
type
==
1
)
callShareApi
(
'https://yun.duiba.com.cn/db_games/xxshareshare.jpg'
,
channel
);
callShareApi
(
'https://yun.duiba.com.cn/db_games/xxshareshare
9302
.jpg'
,
channel
);
else
else
callShareApi
(
'https://yun.duiba.com.cn/db_games/xxlshare.jpg'
,
channel
);
callShareApi
(
'https://yun.duiba.com.cn/db_games/xxlshare.jpg'
,
channel
);
// }, base64);
// }, base64);
...
...
egret/src/something/Chapters.ts
View file @
8db45118
...
@@ -2929,8 +2929,8 @@ export const Chapters: ChapterData[] = [
...
@@ -2929,8 +2929,8 @@ export const Chapters: ChapterData[] = [
generateLats
:
[
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
],
generateLats
:
[
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
],
elements
:
[
elements
:
[
2
,
2
,
1
,
2
,
4
,
0
,
0
,
0
,
4
,
2
,
2
,
1
,
2
,
4
,
0
,
0
,
0
,
4
,
2
,
2
,
1
,
2
,
2
,
0
,
0
,
0
,
2
,
2
,
1
,
1
,
1
,
2
,
0
,
0
,
0
,
1
,
2
,
2
,
1
,
1
,
4
,
0
,
0
,
0
,
2
,
1
,
1
,
1
,
1
,
4
,
0
,
0
,
0
,
2
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
...
@@ -2940,8 +2940,8 @@ export const Chapters: ChapterData[] = [
...
@@ -2940,8 +2940,8 @@ export const Chapters: ChapterData[] = [
],
],
},
},
baseElementTypes
:
[
0
,
1
,
2
,
3
],
baseElementTypes
:
[
0
,
1
,
2
,
3
],
effectInitProbability
:
0.
15
,
effectInitProbability
:
0.
3
,
stepCount
:
14
,
stepCount
:
14
+
6
+
5
,
passTarget
:
{
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
elements
:
[
...
@@ -2986,7 +2986,7 @@ export const Chapters: ChapterData[] = [
...
@@ -2986,7 +2986,7 @@ export const Chapters: ChapterData[] = [
},
},
baseElementTypes
:
[
0
,
1
,
2
,
3
],
baseElementTypes
:
[
0
,
1
,
2
,
3
],
effectInitProbability
:
0.03
,
effectInitProbability
:
0.03
,
stepCount
:
20
,
stepCount
:
20
+
6
,
passTarget
:
{
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
elements
:
[
...
@@ -3031,7 +3031,7 @@ export const Chapters: ChapterData[] = [
...
@@ -3031,7 +3031,7 @@ export const Chapters: ChapterData[] = [
},
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.02
,
effectInitProbability
:
0.02
,
stepCount
:
15
,
stepCount
:
15
+
5
,
passTarget
:
{
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
elements
:
[
...
@@ -3076,7 +3076,7 @@ export const Chapters: ChapterData[] = [
...
@@ -3076,7 +3076,7 @@ export const Chapters: ChapterData[] = [
},
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0
,
effectInitProbability
:
0
,
stepCount
:
20
,
stepCount
:
20
+
4
,
passTarget
:
{
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
elements
:
[
...
@@ -3121,7 +3121,7 @@ export const Chapters: ChapterData[] = [
...
@@ -3121,7 +3121,7 @@ export const Chapters: ChapterData[] = [
},
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.03
,
effectInitProbability
:
0.03
,
stepCount
:
20
,
stepCount
:
20
+
5
,
passTarget
:
{
passTarget
:
{
type
:
PassType
.
SCORE_TARGET
,
type
:
PassType
.
SCORE_TARGET
,
score
:
15000
score
:
15000
...
@@ -3161,7 +3161,7 @@ export const Chapters: ChapterData[] = [
...
@@ -3161,7 +3161,7 @@ export const Chapters: ChapterData[] = [
},
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.03
,
effectInitProbability
:
0.03
,
stepCount
:
20
,
stepCount
:
20
+
4
,
passTarget
:
{
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
elements
:
[
...
@@ -3206,7 +3206,7 @@ export const Chapters: ChapterData[] = [
...
@@ -3206,7 +3206,7 @@ export const Chapters: ChapterData[] = [
},
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.03
,
effectInitProbability
:
0.03
,
stepCount
:
15
,
stepCount
:
15
+
5
,
passTarget
:
{
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
elements
:
[
...
@@ -3251,7 +3251,7 @@ export const Chapters: ChapterData[] = [
...
@@ -3251,7 +3251,7 @@ export const Chapters: ChapterData[] = [
},
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.03
,
effectInitProbability
:
0.03
,
stepCount
:
20
,
stepCount
:
20
+
4
,
passTarget
:
{
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
elements
:
[
...
@@ -3296,7 +3296,7 @@ export const Chapters: ChapterData[] = [
...
@@ -3296,7 +3296,7 @@ export const Chapters: ChapterData[] = [
},
},
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
baseElementTypes
:
[
0
,
1
,
2
,
3
,
4
],
effectInitProbability
:
0.02
,
effectInitProbability
:
0.02
,
stepCount
:
25
,
stepCount
:
25
+
3
,
passTarget
:
{
passTarget
:
{
type
:
PassType
.
ELEMENT_TARGET
,
type
:
PassType
.
ELEMENT_TARGET
,
elements
:
[
elements
:
[
...
...
mock/happyclear/home.json
View file @
8db45118
...
@@ -7,6 +7,366 @@
...
@@ -7,6 +7,366 @@
"wealth"
:
7960
,
"wealth"
:
7960
,
"totalStars"
:
145
,
"totalStars"
:
145
,
"levels"
:
[
"levels"
:
[
{
"levelNum"
:
1
,
"maxScore"
:
36320
,
"stars"
:
3
},
{
"levelNum"
:
2
,
"maxScore"
:
18680
,
"stars"
:
3
},
{
"levelNum"
:
3
,
"maxScore"
:
19530
,
"stars"
:
3
},
{
"levelNum"
:
4
,
"maxScore"
:
20230
,
"stars"
:
3
},
{
"levelNum"
:
5
,
"maxScore"
:
10710
,
"stars"
:
3
},
{
"levelNum"
:
6
,
"maxScore"
:
42580
,
"stars"
:
3
},
{
"levelNum"
:
7
,
"maxScore"
:
23700
,
"stars"
:
3
},
{
"levelNum"
:
8
,
"maxScore"
:
99999
,
"stars"
:
3
},
{
"levelNum"
:
9
,
"maxScore"
:
70330
,
"stars"
:
3
},
{
"levelNum"
:
10
,
"maxScore"
:
27710
,
"stars"
:
3
},
{
"levelNum"
:
11
,
"maxScore"
:
19410
,
"stars"
:
3
},
{
"levelNum"
:
12
,
"maxScore"
:
23650
,
"stars"
:
3
},
{
"levelNum"
:
13
,
"maxScore"
:
34150
,
"stars"
:
1
},
{
"levelNum"
:
14
,
"maxScore"
:
37110
,
"stars"
:
1
},
{
"levelNum"
:
15
,
"maxScore"
:
99999
,
"stars"
:
2
},
{
"levelNum"
:
16
,
"maxScore"
:
99999
,
"stars"
:
3
},
{
"levelNum"
:
17
,
"maxScore"
:
42420
,
"stars"
:
3
},
{
"levelNum"
:
18
,
"maxScore"
:
99999
,
"stars"
:
2
},
{
"levelNum"
:
19
,
"maxScore"
:
99999
,
"stars"
:
3
},
{
"levelNum"
:
20
,
"maxScore"
:
47520
,
"stars"
:
3
},
{
"levelNum"
:
21
,
"maxScore"
:
14080
,
"stars"
:
3
},
{
"levelNum"
:
22
,
"maxScore"
:
75790
,
"stars"
:
1
},
{
"levelNum"
:
23
,
"maxScore"
:
50340
,
"stars"
:
3
},
{
"levelNum"
:
24
,
"maxScore"
:
83590
,
"stars"
:
3
},
{
"levelNum"
:
25
,
"maxScore"
:
45570
,
"stars"
:
3
},
{
"levelNum"
:
26
,
"maxScore"
:
99999
,
"stars"
:
3
},
{
"levelNum"
:
27
,
"maxScore"
:
44540
,
"stars"
:
2
},
{
"levelNum"
:
28
,
"maxScore"
:
112230
,
"stars"
:
3
},
{
"levelNum"
:
29
,
"maxScore"
:
67810
,
"stars"
:
3
},
{
"levelNum"
:
30
,
"maxScore"
:
43530
,
"stars"
:
2
},
{
"levelNum"
:
31
,
"maxScore"
:
99999
,
"stars"
:
3
},
{
"levelNum"
:
32
,
"maxScore"
:
18450
,
"stars"
:
1
},
{
"levelNum"
:
33
,
"maxScore"
:
28560
,
"stars"
:
1
},
{
"levelNum"
:
34
,
"maxScore"
:
99999
,
"stars"
:
1
},
{
"levelNum"
:
35
,
"maxScore"
:
99999
,
"stars"
:
3
},
{
"levelNum"
:
36
,
"maxScore"
:
14860
,
"stars"
:
0
},
{
"levelNum"
:
37
,
"maxScore"
:
22300
,
"stars"
:
0
},
{
"levelNum"
:
38
,
"maxScore"
:
43380
,
"stars"
:
3
},
{
"levelNum"
:
39
,
"maxScore"
:
27610
,
"stars"
:
0
},
{
"levelNum"
:
40
,
"maxScore"
:
99999
,
"stars"
:
3
},
{
"levelNum"
:
41
,
"maxScore"
:
30890
,
"stars"
:
2
},
{
"levelNum"
:
42
,
"maxScore"
:
15660
,
"stars"
:
3
},
{
"levelNum"
:
43
,
"maxScore"
:
48170
,
"stars"
:
1
},
{
"levelNum"
:
44
,
"maxScore"
:
18080
,
"stars"
:
1
},
{
"levelNum"
:
45
,
"maxScore"
:
29170
,
"stars"
:
1
},
{
"levelNum"
:
46
,
"maxScore"
:
37980
,
"stars"
:
1
},
{
"levelNum"
:
47
,
"maxScore"
:
37800
,
"stars"
:
3
},
{
"levelNum"
:
48
,
"maxScore"
:
19950
,
"stars"
:
1
},
{
"levelNum"
:
49
,
"maxScore"
:
36190
,
"stars"
:
0
},
{
"levelNum"
:
50
,
"maxScore"
:
42610
,
"stars"
:
2
},
{
"levelNum"
:
51
,
"maxScore"
:
34300
,
"stars"
:
1
},
{
"levelNum"
:
52
,
"maxScore"
:
31650
,
"stars"
:
3
},
{
"levelNum"
:
53
,
"maxScore"
:
5140
,
"stars"
:
0
},
{
"levelNum"
:
54
,
"maxScore"
:
49630
,
"stars"
:
3
},
{
"levelNum"
:
55
,
"maxScore"
:
99999
,
"stars"
:
1
},
{
"levelNum"
:
56
,
"maxScore"
:
99999
,
"stars"
:
3
},
{
"levelNum"
:
57
,
"maxScore"
:
34090
,
"stars"
:
2
},
{
"levelNum"
:
58
,
"maxScore"
:
13030
,
"stars"
:
3
},
{
"levelNum"
:
59
,
"maxScore"
:
72760
,
"stars"
:
1
},
{
"levelNum"
:
60
,
"maxScore"
:
16250
,
"stars"
:
1
},
{
"levelNum"
:
61
,
"maxScore"
:
81870
,
"stars"
:
3
},
{
"levelNum"
:
62
,
"maxScore"
:
36110
,
"stars"
:
1
},
{
"levelNum"
:
63
,
"maxScore"
:
28240
,
"stars"
:
3
},
{
"levelNum"
:
64
,
"maxScore"
:
23910
,
"stars"
:
1
},
{
"levelNum"
:
65
,
"maxScore"
:
47990
,
"stars"
:
1
},
{
"levelNum"
:
66
,
"maxScore"
:
60740
,
"stars"
:
3
},
{
"levelNum"
:
67
,
"maxScore"
:
33670
,
"stars"
:
1
},
{
"levelNum"
:
68
,
"maxScore"
:
25370
,
"stars"
:
3
},
{
"levelNum"
:
69
,
"maxScore"
:
11650
,
"stars"
:
0
},
{
"levelNum"
:
70
,
"maxScore"
:
15910
,
"stars"
:
1
},
{
"levelNum"
:
71
,
"maxScore"
:
15910
,
"stars"
:
1
},
{
"levelNum"
:
72
,
"maxScore"
:
15910
,
"stars"
:
1
}
],
],
"remainProp"
:
[
"remainProp"
:
[
{
{
...
@@ -24,7 +384,7 @@
...
@@ -24,7 +384,7 @@
],
],
"remainEnargy"
:
9979
,
"remainEnargy"
:
9979
,
"askForEnergy"
:
false
,
"askForEnergy"
:
false
,
"canReceiveTreasureBoxNum"
:
1
0
,
"canReceiveTreasureBoxNum"
:
0
,
"nextRangeStarsNum"
:
150
"nextRangeStarsNum"
:
150
}
}
}
}
\ No newline at end of file
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