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
c07ce304
Commit
c07ce304
authored
Mar 13, 2020
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
限时免费
parent
1bd5dcab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/components/limit-free/index.js
+4
-4
No files found.
src/components/limit-free/index.js
View file @
c07ce304
...
@@ -70,9 +70,9 @@ class LimitFree extends Component {
...
@@ -70,9 +70,9 @@ class LimitFree extends Component {
}
}
}
}
getCourse
=
id
=>
{
getCourse
=
(
courseId
,
vCourseId
)
=>
{
http
.
post
(
`
${
API
.
home
}
/sys/limitFree/receive`
,
{
http
.
post
(
`
${
API
.
home
}
/sys/limitFree/receive`
,
{
course_id
:
i
d
course_id
:
courseI
d
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
const
{
code
,
msg
}
=
res
.
data
const
{
code
,
msg
}
=
res
.
data
...
@@ -93,7 +93,7 @@ class LimitFree extends Component {
...
@@ -93,7 +93,7 @@ class LimitFree extends Component {
}}
>
知道了
}}
>
知道了
<
/button
>
<
/button
>
<
button
onClick
=
{()
=>
{
<
button
onClick
=
{()
=>
{
this
.
toPlay
(
i
d
)
this
.
toPlay
(
vCourseI
d
)
instance
.
close
()
instance
.
close
()
}}
>
立即学习
}}
>
立即学习
<
/button
>
<
/button
>
...
@@ -175,7 +175,7 @@ class LimitFree extends Component {
...
@@ -175,7 +175,7 @@ class LimitFree extends Component {
<
span
className
=
{
'origin-price'
}
>
¥
{
item
.
price0
}
<
/span
>
<
span
className
=
{
'origin-price'
}
>
¥
{
item
.
price0
}
<
/span
>
<
button
onClick
=
{
e
=>
{
<
button
onClick
=
{
e
=>
{
e
.
stopPropagation
()
e
.
stopPropagation
()
this
.
getCourse
(
item
.
course_id
)
this
.
getCourse
(
item
.
course_id
,
item
.
v_course_id
)
}}
>
免费领取
}}
>
免费领取
<
/button
>
<
/button
>
<
/div
>
<
/div
>
...
...
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