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
0b8848e2
Commit
0b8848e2
authored
Mar 06, 2020
by
wangshuo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'issuevp'
parents
8d1780d6
fb7e2973
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
22 deletions
+40
-22
src/components/video/video-catalog/index.js
+40
-22
No files found.
src/components/video/video-catalog/index.js
View file @
0b8848e2
...
@@ -35,31 +35,49 @@ class VideoCatalog extends Component {
...
@@ -35,31 +35,49 @@ class VideoCatalog extends Component {
<
/div
>
<
/div
>
{
{
this
.
props
.
isAist
?
(
this
.
props
.
isAist
?
(
(
item
.
practice
&&
item
.
practice
.
qid
)
item
.
video_auth
?
(
?
<
Link
to
=
{{
(
item
.
practice
&&
item
.
practice
.
qid
)
pathname
:
item
.
practice
.
is_tested
?
'/campResolve'
:
'/campTest'
,
?
<
Link
to
=
{{
search
:
`?keshi_id=
${
item
.
id
}
&qid=
${
item
.
practice
.
qid
}
`
,
pathname
:
item
.
practice
.
is_tested
?
'/campResolve'
:
'/campTest'
,
state
:
{
from
:
`/play/video
${
window
.
location
.
search
}
`
}
search
:
`?keshi_id=
${
item
.
id
}
&qid=
${
item
.
practice
.
qid
}
`
,
}}
>
state
:
{
from
:
`/play/video
${
window
.
location
.
search
}
`
}
<
div
className
=
"exercise"
>
}}
>
课后练习:
{
item
.
practice
.
title
}
<
div
className
=
"exercise"
>
<
i
className
=
{
classnames
(
'iconfont'
,
!
item
.
video_auth
?
'iconiconfront-74'
:
item
.
practice
.
is_tested
?
'iconiconfront-3'
:
''
)}
/
>
课后练习:
{
item
.
practice
.
title
}
<
/div
>
<
i
className
=
{
classnames
(
'iconfont'
,
item
.
practice
.
is_tested
?
'iconiconfront-3'
:
''
)}
/
>
<
/Link
>
<
/div
>
:
null
<
/Link
>
:
null
)
:
(
<
a
href
=
"javascript:void(0)"
>
<
div
className
=
"exercise"
>
课后练习:
{
item
.
practice
.
title
}
<
i
className
=
{
classnames
(
'iconfont'
,
'iconiconfront-74'
)}
/
>
<
/div
>
<
/a
>
)
)
:
(
)
:
(
item
.
practice_common
.
map
((
commonItem
,
index
)
=>
{
item
.
practice_common
.
map
((
commonItem
,
index
)
=>
{
return
(
return
(
<
Link
to
=
{{
item
.
video_auth
?
(
pathname
:
commonItem
.
is_tested
?
'/campResolve'
:
'/campTest'
,
<
Link
to
=
{{
search
:
`?keshi_id=
${
item
.
id
}
&qid=
${
commonItem
.
qid
}
`
,
pathname
:
commonItem
.
is_tested
?
'/campResolve'
:
'/campTest'
,
state
:
{
from
:
`/play/video
${
window
.
location
.
search
}
`
}
search
:
`?keshi_id=
${
item
.
id
}
&qid=
${
commonItem
.
qid
}
`
,
}}
key
=
{
index
}
>
state
:
{
from
:
`/play/video
${
window
.
location
.
search
}
`
}
<
div
className
=
"exercise"
>
}}
key
=
{
index
}
>
课后练习:
{
commonItem
.
title
}
<
div
className
=
"exercise"
>
<
i
className
=
{
classnames
(
'iconfont'
,
!
item
.
video_auth
?
'iconiconfront-74'
:
commonItem
.
is_tested
?
'iconiconfront-3'
:
''
)}
/
>
课后练习:
{
commonItem
.
title
}
<
/div
>
<
i
className
=
{
classnames
(
'iconfont'
,
commonItem
.
is_tested
?
'iconiconfront-3'
:
''
)}
/
>
<
/Link
>
<
/div
>
<
/Link
>
)
:
(
<
a
href
=
"javascript:void(0)"
>
<
div
className
=
"exercise"
>
课后练习:
{
commonItem
.
title
}
<
i
className
=
{
classnames
(
'iconfont'
,
'iconiconfront-74'
)}
/
>
<
/div
>
<
/a
>
)
)
)
})
})
)
)
...
...
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