Commit 0a0efc0b by xuzhenghua

绑定手机号

parent dfe0a300
...@@ -108,6 +108,7 @@ class Anniversary2020 extends Component { ...@@ -108,6 +108,7 @@ class Anniversary2020 extends Component {
prizeRecordsPagination: 0, prizeRecordsPagination: 0,
bulletScreenList: [], bulletScreenList: [],
prizeType: '', prizeType: '',
needMobile: false // 是否需要绑定手机号
} }
componentDidMount() { componentDidMount() {
...@@ -453,7 +454,8 @@ class Anniversary2020 extends Component { ...@@ -453,7 +454,8 @@ class Anniversary2020 extends Component {
setTimeout(() => { setTimeout(() => {
this.setState({ this.setState({
drawResult: data, drawResult: data,
prizeType: data.prize_type prizeType: data.prize_type,
needMobile: data.need_mobile
}); });
}, 3000) }, 3000)
} else { } else {
...@@ -583,6 +585,7 @@ class Anniversary2020 extends Component { ...@@ -583,6 +585,7 @@ class Anniversary2020 extends Component {
drawingItemId, drawingItemId,
drawResult, drawResult,
prizeType, prizeType,
needMobile,
isShowTeamMember, isShowTeamMember,
bulletScreenList, bulletScreenList,
rankList, rankList,
...@@ -1245,7 +1248,7 @@ class Anniversary2020 extends Component { ...@@ -1245,7 +1248,7 @@ class Anniversary2020 extends Component {
this.setState({ this.setState({
isWinPrize: false, isWinPrize: false,
drawResult: {}, drawResult: {},
isReLogin: prizeType == 1 || prizeType == 3 ? true : false isReLogin: (prizeType == 1 || prizeType == 3) && needMobile ? true : false
}); });
}}></WinPrize> }}></WinPrize>
} }
......
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