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
962132f3
Commit
962132f3
authored
Oct 29, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c08d7413
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
12 deletions
+29
-12
BagPanel.ts
egret/src/panels/BagPanel.ts
+5
-4
openTreasureBox.json
mock/happyclear/openTreasureBox.json
+23
-7
turnabledojoin.json
mock/happyclear/turnabledojoin.json
+1
-1
No files found.
egret/src/panels/BagPanel.ts
View file @
962132f3
...
@@ -47,14 +47,15 @@ export default class BagPanel extends Panel {
...
@@ -47,14 +47,15 @@ export default class BagPanel extends Panel {
const
prop1Nums
=
getPropNums
(
PropType
.
HAMMER
);
const
prop1Nums
=
getPropNums
(
PropType
.
HAMMER
);
const
prop3Nums
=
getPropNums
(
PropType
.
CHANCE_NUM
);
const
prop3Nums
=
getPropNums
(
PropType
.
CHANCE_NUM
);
this
.
list
.
dataProvider
=
new
eui
.
ArrayCollection
([
this
.
list
.
dataProvider
=
new
eui
.
ArrayCollection
([
{
type
:
'hammer'
,
nums
:
prop1Nums
},
{
{
type
:
'boom'
,
type
:
'boom'
,
nums
:
prop2Nums
nums
:
prop2Nums
},
},
{
type
:
'hammer'
,
nums
:
prop1Nums
},
{
{
type
:
'change'
,
type
:
'change'
,
nums
:
prop3Nums
nums
:
prop3Nums
...
...
mock/happyclear/openTreasureBox.json
View file @
962132f3
{
{
"success"
:
fals
e
,
"success"
:
tru
e
,
"code"
:
"0000000000"
,
"code"
:
"0000000000"
,
"desc"
:
"OK"
,
"desc"
:
"OK"
,
"timestamp"
:
15
66558623308
,
"timestamp"
:
15
72332426229
,
"data"
:
{
"data"
:
{
"canReceiveTreasureBoxNum"
:
99
,
"canReceiveTreasureBoxNum"
:
0
,
"nextRangeStarsNum"
:
25
,
"nextRangeStarsNum"
:
8
,
"isGetAllTreasureBox"
:
0
,
"totalStars"
:
6
,
"orderNum"
:
"1078836456709300393"
,
"isGetAllTreasureBox"
:
false
,
"totalStars"
:
12
"orderNum"
:
null
,
"option"
:
{
"id"
:
"41"
,
"day"
:
null
,
"categoryType"
:
2
,
"title"
:
"游戏次数2"
,
"rate"
:
"10"
,
"minValue"
:
null
,
"maxValue"
:
null
,
"coinType"
:
null
,
"propType"
:
null
,
"num"
:
2
,
"img"
:
""
,
"appItemId"
:
null
,
"name"
:
""
,
"value"
:
""
}
}
}
}
}
\ No newline at end of file
mock/happyclear/turnabledojoin.json
View file @
962132f3
{
{
"success"
:
tru
e
,
"success"
:
fals
e
,
"code"
:
"0000000000"
,
"code"
:
"0000000000"
,
"desc"
:
"OK"
,
"desc"
:
"OK"
,
"timestamp"
:
1572327888728
,
"timestamp"
:
1572327888728
,
...
...
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