Commit 96c62e90 by FE

invite data modify

parent d2d71749
......@@ -13,6 +13,7 @@ class Invite extends Component {
isWeiXin: false,
showTip: false,
hotValue: 0,
hot_schedule: '',
userList: [],
}
}
......@@ -60,6 +61,7 @@ class Invite extends Component {
let {code, data, msg} = res.data;
if(code === 200) {
this.setState({
hot_schedule: data.hot_schedule,
hotValue: data.hot_value
});
} else {
......@@ -123,7 +125,7 @@ class Invite extends Component {
}
render() {
let {userList, showTip, hotValue, isWeiXin} = this.state;
let {userList, showTip, hotValue, hot_schedule, isWeiXin} = this.state;
return (
<div className="activity__con">
<div className='banner__con'></div>
......@@ -145,7 +147,7 @@ class Invite extends Component {
<div className="hot__progress">
<span>0</span>
<div className="progress__bar">
<div className="progress__point" style={{'width': hotValue + '%'}}></div>
<div className="progress__point" style={{'width': hot_schedule}}></div>
</div>
<span>3600</span>
</div>
......
......@@ -47,7 +47,6 @@ class BlessingRank extends Component {
Popup({
title: '收货信息',
content: <AddressPopup handleToHide={() => this.handleToSwitch(false)}/>
})
}
}
......
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