Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
5443c31a
Commit
5443c31a
authored
Oct 30, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需要登录
parent
1060de5f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
src/components/blessingPreheat/collectBlessing/index.js
+3
-2
src/components/blessingPreheat/index.js
+7
-2
No files found.
src/components/blessingPreheat/collectBlessing/index.js
View file @
5443c31a
...
@@ -56,7 +56,8 @@ class CollectBlessing extends Component {
...
@@ -56,7 +56,8 @@ class CollectBlessing extends Component {
handleToShowNotice
,
handleToShowNotice
,
handleToShowList
,
handleToShowList
,
handleToShowInvite
,
handleToShowInvite
,
handleToShow
handleToShow
,
toLogin
}
=
this
.
props
;
}
=
this
.
props
;
const
{
rules
,
welfareRuleList
}
=
this
.
state
;
const
{
rules
,
welfareRuleList
}
=
this
.
state
;
return
(
return
(
...
@@ -69,7 +70,7 @@ class CollectBlessing extends Component {
...
@@ -69,7 +70,7 @@ class CollectBlessing extends Component {
:
(
:
(
<
ListHeader
size
=
"middle"
styles
=
{{
margin
:
'20px 0 0 0'
}}
>
<
ListHeader
size
=
"middle"
styles
=
{{
margin
:
'20px 0 0 0'
}}
>
<
span
className
=
"text_nologin"
>
我的福气值:
<
/span>
<
span
className
=
"text_nologin"
>
我的福气值:
<
/span>
<
Link
to
=
'/passport'
className
=
"login__btn"
>
登录
<
/Link
>
<
span
onClick
=
{
toLogin
}
className
=
"login__btn"
>
登录
<
/span
>
<
/ListHeader
>
<
/ListHeader
>
)
)
}
}
...
...
src/components/blessingPreheat/index.js
View file @
5443c31a
import
React
,
{
Component
}
from
'react'
;
import
React
,
{
Component
}
from
'react'
;
import
QRCode
from
'qrcode'
;
import
QRCode
from
'qrcode'
;
import
{
http
}
from
'@/utils'
;
import
{
http
,
SendMessageToApp
}
from
'@/utils'
;
import
RulePopup
from
'./rulePopup/index'
import
RulePopup
from
'./rulePopup/index'
import
CoursePopup
from
'./coursePopup/index'
import
CoursePopup
from
'./coursePopup/index'
import
RecordPopup
from
'./recordPopup/index'
import
RecordPopup
from
'./recordPopup/index'
...
@@ -141,6 +141,10 @@ class BlessingPreheat extends Component {
...
@@ -141,6 +141,10 @@ class BlessingPreheat extends Component {
});
});
}
}
toLogin
=
()
=>
{
}
onCopy
=
()
=>
{
onCopy
=
()
=>
{
Toast
.
info
(
'复制成功'
,
2
,
null
,
false
)
Toast
.
info
(
'复制成功'
,
2
,
null
,
false
)
}
}
...
@@ -159,6 +163,7 @@ class BlessingPreheat extends Component {
...
@@ -159,6 +163,7 @@ class BlessingPreheat extends Component {
handleToShowInvite
=
{
this
.
handleToShowInvite
}
handleToShowInvite
=
{
this
.
handleToShowInvite
}
handleToShowNotice
=
{
this
.
handleToShowNotice
}
handleToShowNotice
=
{
this
.
handleToShowNotice
}
handleToShow
=
{
this
.
handleToShow
}
handleToShow
=
{
this
.
handleToShow
}
toLogin
=
{
this
.
toLogin
}
/
>
/
>
{
/* 幸运大抽奖--预热 */
}
{
/* 幸运大抽奖--预热 */
}
...
@@ -239,7 +244,7 @@ class BlessingPreheat extends Component {
...
@@ -239,7 +244,7 @@ class BlessingPreheat extends Component {
<
ListHeader
id
=
{
'ai-test'
}
text
=
"全国AI工程师水平测试"
styles
=
{{
margin
:
'30px 0 15px'
}}
/
>
<
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
>
<
/div
>
<
LevelTest
><
/LevelTest
>
<
LevelTest
><
/LevelTest
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment