Commit 0a0efc0b by xuzhenghua

绑定手机号

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