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
26dd2d75
Commit
26dd2d75
authored
Aug 15, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页显示0修改
parent
1c9cd273
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/components/Index/index.js
+4
-4
No files found.
src/components/Index/index.js
View file @
26dd2d75
...
...
@@ -142,23 +142,23 @@ class Index extends Component {
{
this
.
state
.
lives
&&
this
.
state
.
lives
.
length
>
0
&&
(
this
.
state
.
lives
&&
this
.
state
.
lives
.
length
>
0
)
?
<
div
className
=
'lives'
>
<
h2
className
=
"title"
>
近期直播
<
/h2
>
<
ScrollBox
livesList
=
{
this
.
state
.
lives
}
liveCourse
=
{
this
.
liveCourse
}
/
>
<
/div
>
<
/div>
: nul
l
}
{
this
.
state
.
modules
&&
this
.
state
.
modules
.
length
>
0
&&
this
.
state
.
modules
.
map
((
item
,
index
)
=>
{
(
this
.
state
.
modules
&&
this
.
state
.
modules
.
length
>
0
)
?
this
.
state
.
modules
.
map
((
item
,
index
)
=>
{
return
(
<
div
key
=
{
index
}
>
<
CourseList
modules
=
{
item
}
/
>
<
p
className
=
"borderTop"
><
/p
>
<
/div
>
)
})
})
:
null
}
<
div
className
=
"category all-course"
>
...
...
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