Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
icbcRPG
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
icbcRPG
Commits
72f96a98
Commit
72f96a98
authored
Dec 23, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
04293ffa
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
8 deletions
+16
-8
index.js
project/mock/e-family/index.js
+4
-3
prize.less
project/src/components/prize/prize.less
+2
-1
sign.jsx
project/src/components/sign/sign.jsx
+7
-1
loading.jsx
project/src/pages/loading/loading.jsx
+3
-3
No files found.
project/mock/e-family/index.js
View file @
72f96a98
...
...
@@ -4,7 +4,7 @@ export const homeInfo = {
{
"canUpdateNickName"
:
false
,
"figures"
:
[{
"figureId"
:
"1"
},
{
"figureId"
:
"2"
},
{
"figureId"
:
"3"
}],
"newUser"
:
1
,
"newUser"
:
0
,
"userInfo"
:
{
"figureId"
:
"3"
,
"joyBeans"
:
10100
,
"nickName"
:
"13"
}
},
"message"
:
null
,
...
...
@@ -26,8 +26,8 @@ export const doshare = {
export
const
signInfo
=
{
"code"
:
null
,
"data"
:
{
"todaySigned"
:
1
,
"continuousDays"
:
7
,
"todaySigned"
:
0
,
"continuousDays"
:
6
,
"needPopup"
:
0
,
"signLists"
:
[
{
...
...
@@ -97,6 +97,7 @@ export const dosign = {
"message"
:
null
,
"success"
:
true
}
// export const dosign ={
// "code": null,
// "data": {
...
...
project/src/components/prize/prize.less
View file @
72f96a98
...
...
@@ -2,9 +2,10 @@
width: 750px;
height: 1321px;
opacity: 1;
top:
77px
;
top:
50%
;
position: absolute;
transform-origin: 0px 0px 0px;
margin-top: -710px;
.prize_bg {
width: 750px;
height: 1321px;
...
...
project/src/components/sign/sign.jsx
View file @
72f96a98
...
...
@@ -30,8 +30,14 @@ class Sign extends Component {
const
continuousDays
=
this
.
state
.
continuousDays
+
1
;
this
.
setState
({
todaySigned
:
true
,
continuousDays
:
continuousDays
});
this
.
props
.
ctx
.
freshHomeInfo
();
if
(
res
.
data
.
type
!==
'joyBean'
)
if
(
res
.
data
.
type
!==
'joyBean'
){
Aup
.
show
(
'PrizeRule'
,
res
.
data
,
this
);
}
else
{
this
.
props
.
onClose
();
Toast
(
`恭喜你成功领取
${
res
.
data
.
awardName
}
`
)
}
});
};
...
...
project/src/pages/loading/loading.jsx
View file @
72f96a98
...
...
@@ -113,9 +113,9 @@ class Loading extends Component {
}
}
//
this.props.navigateTo('mainpage', {
//
isnewUser,
//
});
this
.
props
.
navigateTo
(
'mainpage'
,
{
isnewUser
,
});
}
render
()
{
...
...
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