Commit c1373684 by zhanghaozhe

周年庆

parent 86d7c403
...@@ -1267,7 +1267,7 @@ function WinPrize({name, close, info}) { ...@@ -1267,7 +1267,7 @@ function WinPrize({name, close, info}) {
return <div className={'modal-cover'}> return <div className={'modal-cover'}>
<div className="modal win-prize"> <div className="modal win-prize">
<div className="title">恭喜您</div> <div className="title">恭喜您</div>
<div className="des">抽中了XXX<span className={'name'}>{name}</span></div> <div className="des">抽中了 <span className={'name'}>{name}</span></div>
<div className="contact">{info}</div> <div className="contact">{info}</div>
<button onClick={close}>我知道了</button> <button onClick={close}>我知道了</button>
</div> </div>
......
...@@ -110,7 +110,7 @@ class Invitation extends Component { ...@@ -110,7 +110,7 @@ class Invitation extends Component {
return return
} }
let _data = {team_code: getParam('team_code')} let _data = {team_code: getParam('team_code')}
if (data) { if (data.token && data.sig) {
_data = {..._data, ...data} _data = {..._data, ...data}
} }
http.post(`${API.home}/activity/anniversary/joinTeam`, _data) http.post(`${API.home}/activity/anniversary/joinTeam`, _data)
...@@ -121,7 +121,7 @@ class Invitation extends Component { ...@@ -121,7 +121,7 @@ class Invitation extends Component {
this.setState((state, props) => { this.setState((state, props) => {
return { return {
teamInfo: {...state.teamInfo, ...{status: 2, is_check: false}}, teamInfo: {...state.teamInfo, ...{status: 2, is_check: false}},
isShowCaptcha: false isShowCaptcha: false,
} }
}); });
} else if (code === 5002) { } else if (code === 5002) {
...@@ -161,6 +161,7 @@ class Invitation extends Component { ...@@ -161,6 +161,7 @@ class Invitation extends Component {
return ( return (
isShowCaptcha isShowCaptcha
? <div className={'captcha-container'}> ? <div className={'captcha-container'}>
<div className={'tip'}>亲,系统正忙,滑动一下马上回来</div>
<CaptchaAli <CaptchaAli
getInstance={instance => { getInstance={instance => {
this.setState({ this.setState({
......
...@@ -227,3 +227,17 @@ html, body, #root { ...@@ -227,3 +227,17 @@ html, body, #root {
} }
} }
.captcha-container {
padding: 40vh 30px;
text-align: center;
.tip {
margin-bottom: 10px;
font-size: 16px;
}
& + .year19-index {
display: none;
}
}
\ No newline at end of file
...@@ -276,8 +276,3 @@ ...@@ -276,8 +276,3 @@
} }
} }
} }
.captcha-container {
padding: 40vh 30px;
}
\ No newline at end of file
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