Commit 6f7c1402 by xuzhenghua

pull

parent 8920ca6a
......@@ -17,10 +17,10 @@ class YarnWish extends Component {
}
componentWillUpdate() {
const {activityStage} = this.state;
if(activityStage == 1) {
const {activityStage} = this.state
if (activityStage == 1) {
document.title = `七月在线年终大回馈,人气好课免费学,精品课程1分抢!`
}else{
} else {
document.title = `七月在线年终大回馈,人气好课免费学,精品课程1分抢!`
}
}
......@@ -33,6 +33,8 @@ class YarnWish extends Component {
this.setState({
list: JSON.stringify(data) === '{}' ? [] : data
})
} else if (code === 4030) {
this.props.history.push('/passport/login')
}
})
}
......@@ -116,7 +118,8 @@ class YarnWish extends Component {
</div>
<div className="price">
{item.type == 2 ? '到手最低:¥' : '¥'}
<span className="new-price">{item.type == 4?'0.01':item.price2}</span>
<span
className="new-price">{item.type == 4 ? '0.01' : item.price2}</span>
<span className="old-price"> 现价:<s>¥{item.price1}</s></span>
</div>
......
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