Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
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
翁阳
babycare_xiaoxiao
Commits
616a83f6
Commit
616a83f6
authored
Jul 28, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
7f385f06
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
427 additions
and
3 deletions
+427
-3
bb.json
mock/miniTb/bb.json
+424
-0
output.js
output.js
+1
-1
output.js.map
output.js.map
+1
-1
MapScene.ts
src/scene/map/MapScene.ts
+1
-1
No files found.
mock/miniTb/bb.json
0 → 100644
View file @
616a83f6
{
"code"
:
"000000"
,
"data"
:
{
"currentLevel"
:
32
,
"isFristLogin"
:
false
,
"visitors"
:
[
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
66040
,
"level"
:
31
,
"createTime"
:
1595902997340
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595902997340
,
"_id"
:
"5f1f8c1552bbde057e10d031"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
46010
,
"level"
:
30
,
"createTime"
:
1595839399586
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595839399586
,
"_id"
:
"5f1e93a785a7496423bc0cbc"
,
"stars"
:
3
,
"isPrizeLevel"
:
true
,
"sendAwardType"
:
"prize"
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
21310
,
"level"
:
29
,
"createTime"
:
1595839337125
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595839337125
,
"_id"
:
"5f1e93699897b44ce1cdad9d"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
43600
,
"level"
:
28
,
"createTime"
:
1595839215454
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595839215454
,
"_id"
:
"5f1e92ef738989c8b3ef89c6"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
77140
,
"level"
:
27
,
"createTime"
:
1595839181023
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595839181023
,
"_id"
:
"5f1e92cd85a7496423bc0b57"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
32440
,
"level"
:
26
,
"createTime"
:
1595839104043
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595839104043
,
"_id"
:
"5f1e92809897b44ce1cdabf6"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
24690
,
"level"
:
25
,
"createTime"
:
1595839079510
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595839079510
,
"_id"
:
"5f1e926785a7496423bc0a90"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
15020
,
"level"
:
24
,
"createTime"
:
1595839028260
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595839028260
,
"_id"
:
"5f1e923452bbde057e0f84b5"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
28160
,
"level"
:
23
,
"createTime"
:
1595837413622
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595901282492
,
"_id"
:
"5f1e8be5ef5071ef85366b52"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
54840
,
"level"
:
22
,
"createTime"
:
1595837300015
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595837300015
,
"_id"
:
"5f1e8b74964f9706aa54d8ee"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
47640
,
"level"
:
21
,
"createTime"
:
1595837227485
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595837227485
,
"_id"
:
"5f1e8b2bc3ad349c098b7fb8"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
46660
,
"level"
:
20
,
"createTime"
:
1595837142905
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595837142905
,
"_id"
:
"5f1e8ad6ef5071ef85366918"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
121800
,
"level"
:
19
,
"createTime"
:
1595837092895
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595837092895
,
"_id"
:
"5f1e8aa475cfb6d7c116344a"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
33750
,
"level"
:
18
,
"createTime"
:
1595837019670
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595837019670
,
"_id"
:
"5f1e8a5b9da6714ab7d2db83"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
59440
,
"level"
:
17
,
"createTime"
:
1595836914654
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595836914654
,
"_id"
:
"5f1e89f2964f9706aa54d60f"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
75340
,
"level"
:
16
,
"createTime"
:
1595836818516
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595836818516
,
"_id"
:
"5f1e899252bbde057e0f7530"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
25730
,
"level"
:
15
,
"createTime"
:
1595836754969
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595836754969
,
"_id"
:
"5f1e8952964f9706aa54d50d"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
60100
,
"level"
:
14
,
"createTime"
:
1595836552955
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595836552955
,
"_id"
:
"5f1e88888e6a08321e528ec5"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
37740
,
"level"
:
13
,
"createTime"
:
1595836496312
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595836496312
,
"_id"
:
"5f1e885067f1376654746747"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
28860
,
"level"
:
12
,
"createTime"
:
1595836284101
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595836284101
,
"_id"
:
"5f1e877c75cfb6d7c1162ea8"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
50410
,
"level"
:
11
,
"createTime"
:
1595836225676
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595836225676
,
"_id"
:
"5f1e87419da6714ab7d2d621"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
43870
,
"level"
:
10
,
"createTime"
:
1595835683936
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595835683936
,
"_id"
:
"5f1e8523964f9706aa54cd69"
,
"stars"
:
3
,
"isPrizeLevel"
:
true
,
"sendAwardType"
:
"prize"
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
48400
,
"level"
:
9
,
"createTime"
:
1595835649948
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595835649948
,
"_id"
:
"5f1e85018e6a08321e528833"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
25340
,
"level"
:
8
,
"createTime"
:
1595835605091
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595835605091
,
"_id"
:
"5f1e84d53075d9e9767a639c"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
95760
,
"level"
:
7
,
"createTime"
:
1595835490292
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595835490292
,
"_id"
:
"5f1e84629da6714ab7d2d0fc"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
24390
,
"level"
:
6
,
"createTime"
:
1595835441703
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595835441703
,
"_id"
:
"5f1e84313075d9e9767a627a"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
17590
,
"level"
:
5
,
"createTime"
:
1595834920435
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595834920435
,
"_id"
:
"5f1e822875cfb6d7c1162496"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
14850
,
"level"
:
4
,
"createTime"
:
1595834836568
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595834836568
,
"_id"
:
"5f1e81d475cfb6d7c11623f7"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
15600
,
"level"
:
3
,
"createTime"
:
1595833995664
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595834624096
,
"_id"
:
"5f1e7e8b964f9706aa54c0f3"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
960
,
"level"
:
2
,
"createTime"
:
1595833812817
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595833812817
,
"_id"
:
"5f1e7dd48e6a08321e527a4a"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
},
{
"activityId"
:
"5f1a528e964f9796f92d3ccf"
,
"score"
:
73470
,
"level"
:
1
,
"createTime"
:
1595816829327
,
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"isVisitSuccess"
:
true
,
"updateTime"
:
1595816829327
,
"_id"
:
"5f1e3b7de5c0d78b54f1f531"
,
"stars"
:
3
,
"isPrizeLevel"
:
false
,
"sendAwardType"
:
true
}
],
"openId"
:
"AAEdCvE-ALiIWXYsJuRjIAGv"
,
"prizes"
:
[],
"loginAddPower"
:
0
,
"power"
:
0
,
"tools"
:
{
"HAMMERS"
:
2
,
"STEPS"
:
7
,
"BOOMS"
:
3
},
"topAward"
:
{}
},
"success"
:
true
,
"message"
:
"成功"
}
\ No newline at end of file
output.js
View file @
616a83f6
...
...
@@ -21779,7 +21779,7 @@ var MapScene = (function (_super) {
Tools_1.Tools.gameData.loginAddPower = false;
}
var openPrize = GTool_1.GTool.readCache('openPrize');
if (Tools_1.Tools.gameData.topAward.openPrizeStatus && openPrize !== 'true') {
if (Tools_1.Tools.gameData.topAward
&& Tools_1.Tools.gameData.topAward
.openPrizeStatus && openPrize !== 'true') {
GTool_1.GTool.writeCache('openPrize', 'true');
if (Tools_1.Tools.gameData.topAward.prize && Tools_1.Tools.gameData.topAward.prize._id) {
ctrls_1.showPanel(PrizePanel_1.PrizePanel, JSON.parse(JSON.stringify(Tools_1.Tools.gameData.topAward.prize)));
output.js.map
View file @
616a83f6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/scene/map/MapScene.ts
View file @
616a83f6
...
...
@@ -60,7 +60,7 @@ export class MapScene extends Scene {
}
let
openPrize
=
GTool
.
readCache
(
'openPrize'
);
if
(
Tools
.
gameData
.
topAward
.
openPrizeStatus
&&
openPrize
!==
'true'
)
{
// 开奖了,并且没弹过
if
(
Tools
.
gameData
.
topAward
&&
Tools
.
gameData
.
topAward
.
openPrizeStatus
&&
openPrize
!==
'true'
)
{
// 开奖了,并且没弹过
GTool
.
writeCache
(
'openPrize'
,
'true'
);
if
(
Tools
.
gameData
.
topAward
.
prize
&&
Tools
.
gameData
.
topAward
.
prize
.
_id
)
{
// 有奖
showPanel
(
PrizePanel
,
JSON
.
parse
(
JSON
.
stringify
(
Tools
.
gameData
.
topAward
.
prize
)));
...
...
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