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
6eac03bb
Commit
6eac03bb
authored
Sep 26, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
33caf127
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
SignPanel.ts
egret/src/panels/SignPanel.ts
+1
-1
SignPrizePanel.ts
egret/src/panels/SignPrizePanel.ts
+1
-1
No files found.
egret/src/panels/SignPanel.ts
View file @
6eac03bb
...
...
@@ -43,7 +43,7 @@ export default class SignPanel extends Panel {
NetManager
.
ins
.
doSign
((
s
)
=>
{
this
.
hidePanel
();
if
(
s
)
{
const
{
customInfo
,
success
}
=
DataManager
.
ins
.
getData
(
[
'dosign'
]
);
const
{
customInfo
,
success
}
=
DataManager
.
ins
.
getData
(
'dosign'
);
if
(
!
success
||
!
customInfo
.
success
||
customInfo
.
prizeType
==
'none'
)
{
if
(
customInfo
.
code
==
100004
)
{
showToast
(
'哎呀,奖励擦肩而过!明天再来试试吧!'
);
...
...
egret/src/panels/SignPrizePanel.ts
View file @
6eac03bb
...
...
@@ -10,7 +10,7 @@ export default class SignPrizePanel extends Panel {
this
[
'numsgroup'
].
visible
=
false
;
//奖品类型,none无奖励, object实物,virtual虚拟商品,coupon券,道具prop,元宝coin,体力times,
const
{
customInfo
}
=
DataManager
.
ins
.
getData
(
[
'dosign'
]
);
const
{
customInfo
}
=
DataManager
.
ins
.
getData
(
'dosign'
);
const
prizeType
=
customInfo
.
prizeType
;
if
(
customInfo
.
logo
&&
prizeType
!=
'times'
&&
prizeType
!=
'coin'
&&
prizeType
!=
'prop'
)
{
this
[
'img'
].
source
=
customInfo
.
logo
;
...
...
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