Commit 615f0f34 by xuzhenghua

关注服务号二维码

parent fed9964c
......@@ -379,13 +379,11 @@ class Anniversary2020 extends Component {
getQRCode = () => {
http.get(`${API["base-api"]}/wx/user_temporary_qrcode/${this.props.user.data.uid}`)
.then(res => {
const {code, msg, data} = res.data
if (code === 200) {
const {errno, msg, data} = res.data
if (errno == 0) {
this.setState({
qrcode: data.qr_image,
});
} else {
Toast.info(msg)
}
})
}
......@@ -1298,11 +1296,11 @@ class Anniversary2020 extends Component {
{
isShowFollow && (!istime || !isshowLive) && <div className={'modal-cover follow'}>
<div className="modal">
<div className="title">邀请好友/进度提醒</div>
<div className="tip">邀请好友加入队伍,获得更多抽奖机会</div>
<div className="title">进度提醒</div>
<div className="tip">关注服务号,好友加入队伍后第一时间提醒</div>
<div className="qrcode">
<img src={qrcode} alt=""/>
<div>长按识别/扫码,分享给好友</div>
<div>微信扫描,关注“七月在线”</div>
</div>
<i className={'iconfont iconiconfront-2 close'} onClick={() => {
this.setState({
......
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