Commit 72f96a98 authored by wildfirecode13's avatar wildfirecode13

1

parent 04293ffa
...@@ -4,7 +4,7 @@ export const homeInfo = { ...@@ -4,7 +4,7 @@ export const homeInfo = {
{ {
"canUpdateNickName": false, "canUpdateNickName": false,
"figures": [{ "figureId": "1" }, { "figureId": "2" }, { "figureId": "3" }], "figures": [{ "figureId": "1" }, { "figureId": "2" }, { "figureId": "3" }],
"newUser": 1, "newUser": 0,
"userInfo": { "figureId": "3", "joyBeans": 10100, "nickName": "13" } "userInfo": { "figureId": "3", "joyBeans": 10100, "nickName": "13" }
}, },
"message": null, "message": null,
...@@ -26,8 +26,8 @@ export const doshare = { ...@@ -26,8 +26,8 @@ export const doshare = {
export const signInfo = { export const signInfo = {
"code": null, "code": null,
"data": { "data": {
"todaySigned": 1, "todaySigned": 0,
"continuousDays": 7, "continuousDays": 6,
"needPopup": 0, "needPopup": 0,
"signLists": [ "signLists": [
{ {
...@@ -97,6 +97,7 @@ export const dosign = { ...@@ -97,6 +97,7 @@ export const dosign = {
"message": null, "message": null,
"success": true "success": true
} }
// export const dosign ={ // export const dosign ={
// "code": null, // "code": null,
// "data": { // "data": {
......
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
width: 750px; width: 750px;
height: 1321px; height: 1321px;
opacity: 1; opacity: 1;
top: 77px; top: 50%;
position: absolute; position: absolute;
transform-origin: 0px 0px 0px; transform-origin: 0px 0px 0px;
margin-top: -710px;
.prize_bg { .prize_bg {
width: 750px; width: 750px;
height: 1321px; height: 1321px;
......
...@@ -30,8 +30,14 @@ class Sign extends Component { ...@@ -30,8 +30,14 @@ class Sign extends Component {
const continuousDays = this.state.continuousDays + 1; const continuousDays = this.state.continuousDays + 1;
this.setState({ todaySigned: true, continuousDays: continuousDays }); this.setState({ todaySigned: true, continuousDays: continuousDays });
this.props.ctx.freshHomeInfo(); this.props.ctx.freshHomeInfo();
if (res.data.type !== 'joyBean')
if (res.data.type !== 'joyBean'){
Aup.show('PrizeRule', res.data, this); Aup.show('PrizeRule', res.data, this);
}else{
this.props.onClose();
Toast(`恭喜你成功领取${res.data.awardName}`)
}
}); });
}; };
......
...@@ -113,9 +113,9 @@ class Loading extends Component { ...@@ -113,9 +113,9 @@ class Loading extends Component {
} }
} }
// this.props.navigateTo('mainpage', { this.props.navigateTo('mainpage', {
// isnewUser, isnewUser,
// }); });
} }
render() { render() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment