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
fe3fd63a
Commit
fe3fd63a
authored
Aug 20, 2019
by
zhanghaozhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跳转视频页
parent
e07c2fe5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
src/components/bargainMiddlePage/index.js
+1
-1
src/components/detail/btnstatus/index.js
+2
-2
src/components/detail/outline/index.js
+2
-2
src/components/detail/single/index.js
+1
-1
src/components/study/freeCourses/index.js
+1
-1
No files found.
src/components/bargainMiddlePage/index.js
View file @
fe3fd63a
...
...
@@ -533,7 +533,7 @@ function CourseBottom(props) {
// Buttons = <Link to={`/detail?id=${props.item.course_id}`} className={'bargain'}>我要砍价</Link>
Buttons
=
<
a
href
=
"javascript:;"
onClick
=
{()
=>
props
.
toDetail
(
props
.
item
.
course_id
)}
className
=
{
'bargain'
}
>
我要砍价
<
/a
>
}
else
if
(
props
.
item
.
bargain_status
===
3
)
{
Buttons
=
<
Link
to
=
{
`/play?id=
${
props
.
item
.
course_id
}
`
}
className
=
{
'bargain'
}
>
去学习
<
/Link
>
Buttons
=
<
Link
to
=
{
`/play
/video
?id=
${
props
.
item
.
course_id
}
`
}
className
=
{
'bargain'
}
>
去学习
<
/Link
>
}
else
{
Buttons
=
(
<
div
className
=
"btns"
>
...
...
src/components/detail/btnstatus/index.js
View file @
fe3fd63a
...
...
@@ -263,7 +263,7 @@ class BtnStatus extends Component {
<
i
className
=
'iconfont iconerji'
/>
<
span
>
课程咨询
<
/span
>
<
/a
>
<
Link
to
=
{
`/play?id=
${
info
.
v_course_id
}
`
}
className
=
'btn btn-m bg-09f'
>
开始学习
<
/Link
>
<
Link
to
=
{
`/play
/video
?id=
${
info
.
v_course_id
}
`
}
className
=
'btn btn-m bg-09f'
>
开始学习
<
/Link
>
<
/div
>
}
{
/*拼团 未开团*/
}
...
...
@@ -366,7 +366,7 @@ class BtnStatus extends Component {
{
info
.
aist_start_time
===
""
?
(
<
Link
to
=
{
`/play?id=
${
info
.
v_course_id
}
`
}
className
=
'btn btn-m learn-now'
>
<
Link
to
=
{
`/play
/video
?id=
${
info
.
v_course_id
}
`
}
className
=
'btn btn-m learn-now'
>
<
span
>
开始学习
<
/span
>
<
/Link
>
...
...
src/components/detail/outline/index.js
View file @
fe3fd63a
...
...
@@ -110,13 +110,13 @@ class OutLine extends Component {
{
// 已购买直播结束已上传视频:正常播放按钮,点击播放课程
!
introduce
.
is_aist
&&
item
.
class_status
===
2
&&
<
Link
to
=
{
`/play?id=
${
introduce
.
v_course_id
}
`
}
className
=
'iconfont icondanseshixintubiao-23 icon-right-22'
><
/Link
>
<
Link
to
=
{
`/play
/video
?id=
${
introduce
.
v_course_id
}
`
}
className
=
'iconfont icondanseshixintubiao-23 icon-right-22'
><
/Link
>
}
{
// 返现课程 是返现课程 未开课 已开课 是返现课程 未开课 已开课 已练习
introduce
.
is_aist
&&
item
.
is_open
&&
introduce
.
is_baoming
===
1
&&
<
Link
to
=
{
`/play?id=
${
introduce
.
v_course_id
}
`
}
className
=
'aist aist_open'
><
/Link
>
<
Link
to
=
{
`/play
/video
?id=
${
introduce
.
v_course_id
}
`
}
className
=
'aist aist_open'
><
/Link
>
}
...
...
src/components/detail/single/index.js
View file @
fe3fd63a
...
...
@@ -328,7 +328,7 @@ class Single extends Component {
<
i
className
=
'iconfont icondanseshixintubiao-5'
><
/i
>
<
span
>
购买成功
<
/span
>
<
/div
>
<
Link
to
=
{
`/play?id=
${
getParam
(
'id'
)}
`
}
className
=
'btn btn-18B4ED'
>
去学习
<
/Link
>
<
Link
to
=
{
`/play
/video
?id=
${
getParam
(
'id'
)}
`
}
className
=
'btn btn-18B4ED'
>
去学习
<
/Link
>
<
/div
>
}
{
...
...
src/components/study/freeCourses/index.js
View file @
fe3fd63a
...
...
@@ -50,7 +50,7 @@ class FreeCourse extends PureComponent {
}
handleClick
=
id
=>
{
this
.
props
.
history
.
push
(
`/play?id=
${
id
}
`
)
this
.
props
.
history
.
push
(
`/play
/video
?id=
${
id
}
`
)
}
getFreeCourses
=
()
=>
{
...
...
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