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
d1a3df08
Commit
d1a3df08
authored
Apr 01, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
签到位置暂存
parent
f41e78e0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
SignPanel.ts
egret/src/panels/SignPanel.ts
+1
-1
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 @
d1a3df08
...
...
@@ -407,7 +407,7 @@ export default class SignPanel extends Panel {
var
prizeimgx
=
item
[
'prizeimg'
].
x
;
var
prizeimgy
=
item
[
'prizeimg'
].
y
;
var
wtopos
=
item
.
localToGlobal
(
prizeimgx
,
prizeimgy
);
var
wstpos
=
this
[
'contmid'
].
localToGlobal
(
this
[
'prizeimg'
].
x
,
this
[
'prizeimg'
].
y
);
var
wstpos
=
this
[
'contmid'
].
localToGlobal
(
this
[
'prizeimg'
].
x
-
this
[
'prizeimg'
].
width
,
this
[
'prizeimg'
].
y
);
var
wctrlpos
=
item
.
localToGlobal
(
0
,
item
.
height
);
var
lstpos
=
this
.
globalToLocal
(
wstpos
.
x
,
wstpos
.
y
);
...
...
mock/sign/doSign.json
View file @
d1a3df08
...
...
@@ -5,7 +5,7 @@
"success"
:
true
,
"errorMsg"
:
null
,
"code"
:
""
,
"prizeType"
:
"
times
"
,
"prizeType"
:
"
coin
"
,
"prizeName"
:
"奖品名称"
,
"logo"
:
"http://yun.duiba.com.cn/db_games/activity/game/guideImage/guide2.png"
,
"prizeCount"
:
11
,
...
...
mock/sign/getSignInfo.json
View file @
d1a3df08
{
"success"
:
true
,
"signInfoVO"
:
{
"continueDay"
:
1
,
"continueDay"
:
2
,
"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