Commit ed134cdb by zhanghaozhe

预热页面引入奖品

parent 7879471e
......@@ -170,3 +170,11 @@
}
}
}
.common_container {
.container_content {
.prizes-box {
margin: 0 -20px;
}
}
}
......@@ -111,7 +111,7 @@ class Landing extends Component {
})
}
joinSuccess = (id, status, {team_num, lack_member, is_team}) => {
joinSuccess = ({id, status, my_team: {team_num, lack_member, is_team}}) => {
const {history} = this.props
this.joinSuccessPopup = Popup({
title: <div className={'join-success'}>
......@@ -167,7 +167,7 @@ class Landing extends Component {
this.fetchPageData({treasure_code, origin: 1})
}
createTeamSuccess = ({my_team: {member, team_num, lack_member, treasure_code}}) => {
createTeamSuccess = (member, team_num, lack_member, treasure_code) => {
let isFollow = false
this.joinSuccessPopup && this.joinSuccessPopup.remove() && (this.joinSuccessPopup = null)
http.get(`${API.home}/sys/user/isFollowWeChat`)
......
......@@ -2,11 +2,15 @@ import React, { Component } from 'react';
import CommonContainer from './../common/commonContainer/index';
import TreasureRank from './rank';
import TeamInfo from './team'
import Prizes from "@components/activity/newyear-2019/common/prizes"
import UserBulletScreen from "@components/activity/newyear-2019/common/user-bullet-screen"
class TreasureBox extends Component {
render() {
return (
<CommonContainer id="year-treasure">
<Prizes showSystemNotices={true}/>
<UserBulletScreen/>
<TeamInfo />
<TreasureRank />
</CommonContainer>
......@@ -14,4 +18,4 @@ class TreasureBox extends Component {
}
}
export default TreasureBox;
\ No newline at end of file
export default TreasureBox;
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