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
0e80a170
Commit
0e80a170
authored
Oct 28, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
49da3f06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
14 deletions
+17
-14
BackPanel.ts
egret/src/panels/BackPanel.ts
+0
-2
getBackReward.json
mock/happyclear/getBackReward.json
+17
-12
No files found.
egret/src/panels/BackPanel.ts
View file @
0e80a170
...
@@ -16,7 +16,6 @@ export default class BackPanel extends Panel {
...
@@ -16,7 +16,6 @@ export default class BackPanel extends Panel {
const
{
data
}
=
DataManager
.
ins
.
getData
(
'hc_getBackReward'
);
const
{
data
}
=
DataManager
.
ins
.
getData
(
'hc_getBackReward'
);
this
.
updateOption
(
data
);
this
.
updateOption
(
data
);
this
.
data
.
url
=
'http://yun.duiba.com.cn/db_games/1022/111.png'
}
}
initEvents
()
{
initEvents
()
{
...
@@ -38,7 +37,6 @@ export default class BackPanel extends Panel {
...
@@ -38,7 +37,6 @@ export default class BackPanel extends Panel {
this
[
'numsgroup'
].
visible
=
true
;
this
[
'numsgroup'
].
visible
=
true
;
break
;
break
;
case
3
:
case
3
:
this
[
'numsgroup'
].
visible
=
true
;
this
[
'numsgroup'
].
visible
=
true
;
this
[
'img'
].
visible
=
true
;
this
[
'img'
].
visible
=
true
;
this
.
data
.
url
=
`turnprize_icon
${
propType
}
_png`
;
this
.
data
.
url
=
`turnprize_icon
${
propType
}
_png`
;
...
...
mock/happyclear/getBackReward.json
View file @
0e80a170
{
{
"code"
:
"0000000000"
,
"code"
:
"0000000000"
,
"data"
:{
"data"
:{
"appItemId"
:
2322
,
"categoryType"
:
1
,
"completePercent"
:
"99"
,
"coinType"
:
1
,
"prizeImage"
:
""
,
"img"
:
"1"
,
"remainPercent"
:
"剩余进度"
,
"maxValue"
:
2
,
"scratchCardTaskId"
:
1
,
"minValue"
:
1
,
"categoryType"
:
4
,
"name"
:
"测试商品"
,
"title"
:
"奖品信息"
,
"num"
:
3
,
"coinType"
:
1
,
"propType"
:
2
,
"maxValue"
:
10
,
"rate"
:
"概率"
,
"minValue"
:
10
,
"title"
:
"商品信息"
,
"appItemId"
:
2099
,
"value"
:
"虚拟商品标识符"
"img"
:
"http://yun.duiba.com.cn/db_games/1022/111.png"
,
"name"
:
"虚拟商品名称"
,
"value"
:
"虚拟商品编码"
,
"num"
:
10
,
"propType"
:
1
},
},
"desc"
:
"OK"
,
"desc"
:
"OK"
,
"success"
:
true
,
"success"
:
true
,
...
...
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