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 {
http
.
get
(
`
${
API
.
home
}
/sys/user/blessing`
).
then
(
res
=>
{
const
{
code
,
data
}
=
res
.
data
if
(
code
===
200
)
{
console
.
log
(
data
.
user_test_total
);
this
.
setState
({
isSign
:
!!
data
.
today_signed
,
isFormal
:
data
.
is_activity
,
...
...
@@ -426,7 +425,6 @@ class BlessingPreheat extends Component {
isClose
,
testSum
}
=
this
.
state
;
console
.
log
(
testSum
);
const
{
history
}
=
this
.
props
const
isLogin
=
!
this
.
props
.
user
.
hasError
return
(
...
...
@@ -530,10 +528,10 @@ class BlessingPreheat extends Component {
<
div
className
=
"test__record"
onClick
=
{()
=>
this
.
handleToShow
(
'showRecordList'
,
true
)}
>
测试记录
>
<
/div
>
<
LevelTest
history
=
{
history
}
<
LevelTest
history
=
{
history
}
testSum
=
{
testSum
}
isLogin
=
{
isLogin
}
isLogin
=
{
isLogin
}
toLogin
=
{
this
.
toLogin
}
/
>
...
...
src/components/blessingPreheat/toAppDemo.js
View file @
0601f67a
...
...
@@ -72,7 +72,7 @@ class ToAppDemo extends Component {
wxShare
({
title
:
'AI充电节,积福气享1折秒课,超10万元奖品来就送!!'
,
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'
,
})
}
...
...
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