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
0601f67a
Commit
0601f67a
authored
Nov 04, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Plain Diff
测试
parents
78f26cb0
4009da7c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
src/components/blessingPreheat/index.js
+3
-5
src/components/blessingPreheat/toAppDemo.js
+1
-1
No files found.
src/components/blessingPreheat/index.js
View file @
0601f67a
...
@@ -233,7 +233,6 @@ class BlessingPreheat extends Component {
...
@@ -233,7 +233,6 @@ class BlessingPreheat extends Component {
http
.
get
(
`
${
API
.
home
}
/sys/user/blessing`
).
then
(
res
=>
{
http
.
get
(
`
${
API
.
home
}
/sys/user/blessing`
).
then
(
res
=>
{
const
{
code
,
data
}
=
res
.
data
const
{
code
,
data
}
=
res
.
data
if
(
code
===
200
)
{
if
(
code
===
200
)
{
console
.
log
(
data
.
user_test_total
);
this
.
setState
({
this
.
setState
({
isSign
:
!!
data
.
today_signed
,
isSign
:
!!
data
.
today_signed
,
isFormal
:
data
.
is_activity
,
isFormal
:
data
.
is_activity
,
...
@@ -426,7 +425,6 @@ class BlessingPreheat extends Component {
...
@@ -426,7 +425,6 @@ class BlessingPreheat extends Component {
isClose
,
isClose
,
testSum
testSum
}
=
this
.
state
;
}
=
this
.
state
;
console
.
log
(
testSum
);
const
{
history
}
=
this
.
props
const
{
history
}
=
this
.
props
const
isLogin
=
!
this
.
props
.
user
.
hasError
const
isLogin
=
!
this
.
props
.
user
.
hasError
return
(
return
(
...
@@ -530,10 +528,10 @@ class BlessingPreheat extends Component {
...
@@ -530,10 +528,10 @@ class BlessingPreheat extends Component {
<
div
className
=
"test__record"
onClick
=
{()
=>
this
.
handleToShow
(
'showRecordList'
,
true
)}
>
<
div
className
=
"test__record"
onClick
=
{()
=>
this
.
handleToShow
(
'showRecordList'
,
true
)}
>
测试记录
>
测试记录
>
<
/div
>
<
/div
>
<
LevelTest
<
LevelTest
history
=
{
history
}
history
=
{
history
}
testSum
=
{
testSum
}
testSum
=
{
testSum
}
isLogin
=
{
isLogin
}
isLogin
=
{
isLogin
}
toLogin
=
{
this
.
toLogin
}
toLogin
=
{
this
.
toLogin
}
/
>
/
>
...
...
src/components/blessingPreheat/toAppDemo.js
View file @
0601f67a
...
@@ -72,7 +72,7 @@ class ToAppDemo extends Component {
...
@@ -72,7 +72,7 @@ class ToAppDemo extends Component {
wxShare
({
wxShare
({
title
:
'AI充电节,积福气享1折秒课,超10万元奖品来就送!!'
,
title
:
'AI充电节,积福气享1折秒课,超10万元奖品来就送!!'
,
desc
:
'把这门超5万人报名的【Python基础入门 升级版】课程送给你,附200元红包,请笑纳!--七月在线'
,
desc
:
'把这门超5万人报名的【Python基础入门 升级版】课程送给你,附200元红包,请笑纳!--七月在线'
,
link
:
window
.
location
.
href
,
link
:
encodeURI
(
location
.
href
)
,
imgUrl
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png'
,
imgUrl
:
'https://julyedu-cdn.oss-cn-beijing.aliyuncs.com/active19_1111/m/index-share-img.png'
,
})
})
}
}
...
...
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