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
12fcc476
Commit
12fcc476
authored
Apr 09, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签到兼容环境
parent
61eab225
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
SignPanel.ts
egret/src/panels/SignPanel.ts
+8
-6
doSign.json
mock/sign/doSign.json
+1
-1
getSignInfo.json
mock/sign/getSignInfo.json
+1
-1
No files found.
egret/src/panels/SignPanel.ts
View file @
12fcc476
...
...
@@ -373,12 +373,14 @@ export default class SignPanel extends Panel {
this
[
'numsgroup'
].
visible
=
false
;
}
else
{
if
(
itemid
){
//暂猜测是道具的时候有
if
(
itemid
==
59029
){
//炸弹
propType
=
4
;
}
else
if
(
itemid
==
59030
){
//锤子
propType
=
3
;
}
else
if
(
itemid
==
59031
){
//鞋子
propType
=
5
;
if
(
prizeType
==
"prop"
){
//道具的处理,三个分别是测试环境,预发环境,和线上环境
if
(
itemid
==
49437
||
itemid
==
33255
||
itemid
==
59029
){
//炸弹
propType
=
4
;
}
else
if
(
itemid
==
49436
||
itemid
==
33256
||
itemid
==
59030
){
//锤子
propType
=
3
;
}
else
if
(
itemid
==
49438
||
itemid
==
33257
||
itemid
==
59031
){
//鞋子
propType
=
5
;
}
}
// this['prizeimg2'].visible = true;
// this['prizeimg2'].source = `http://yun.duiba.com.cn/db_games/${window['imgver']}/${customInfo.itemId}.png`;
...
...
mock/sign/doSign.json
View file @
12fcc476
...
...
@@ -5,7 +5,7 @@
"success"
:
true
,
"errorMsg"
:
null
,
"code"
:
""
,
"prizeType"
:
"
vir
"
,
"prizeType"
:
"
prop
"
,
"prizeName"
:
"奖品名称"
,
"logo"
:
"http://yun.dui88.com/images/202003/6n6am25t08.jpg"
,
"prizeCount"
:
11
,
...
...
mock/sign/getSignInfo.json
View file @
12fcc476
{
"success"
:
true
,
"signInfoVO"
:
{
"continueDay"
:
0
,
"continueDay"
:
3
,
"todaySigned"
:
0
}
}
\ 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