Commit 5443c31a by wangshuo

需要登录

parent 1060de5f
......@@ -56,7 +56,8 @@ class CollectBlessing extends Component {
handleToShowNotice,
handleToShowList,
handleToShowInvite,
handleToShow
handleToShow,
toLogin
} = this.props;
const { rules, welfareRuleList } = this.state;
return (
......@@ -69,7 +70,7 @@ class CollectBlessing extends Component {
: (
<ListHeader size="middle" styles={{margin: '20px 0 0 0'}} >
<span className="text_nologin">我的福气值:</span>
<Link to='/passport' className="login__btn">登录</Link>
<span onClick={toLogin} className="login__btn">登录</span>
</ListHeader>
)
}
......
import React, { Component } from 'react';
import QRCode from 'qrcode';
import { http } from '@/utils';
import { http, SendMessageToApp } from '@/utils';
import RulePopup from './rulePopup/index'
import CoursePopup from './coursePopup/index'
import RecordPopup from './recordPopup/index'
......@@ -141,6 +141,10 @@ class BlessingPreheat extends Component {
});
}
toLogin = () => {
}
onCopy = () => {
Toast.info('复制成功', 2,null,false)
}
......@@ -159,6 +163,7 @@ class BlessingPreheat extends Component {
handleToShowInvite={this.handleToShowInvite}
handleToShowNotice={this.handleToShowNotice}
handleToShow={this.handleToShow}
toLogin={this.toLogin}
/>
{/* 幸运大抽奖--预热 */}
......@@ -239,7 +244,7 @@ class BlessingPreheat extends Component {
<ListHeader id={'ai-test'} text="全国AI工程师水平测试" styles={{margin: '30px 0 15px'}} />
<div className="test__record" onClick={() => this.handleToShow('showRecordList')}>
<div className="test__record" onClick={() => this.handleToShow('showRecordList', true)}>
测试记录>
</div>
<LevelTest></LevelTest>
......
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