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
69ac3ff4
Commit
69ac3ff4
authored
Apr 27, 2020
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页取消懒加载
parent
994e565d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/components/Index/course-list/index.js
+2
-2
No files found.
src/components/Index/course-list/index.js
View file @
69ac3ff4
...
@@ -61,7 +61,7 @@ const Module = function CourseList({module, toDetail}) {
...
@@ -61,7 +61,7 @@ const Module = function CourseList({module, toDetail}) {
:
<
Link
className
=
"more"
to
=
{
module
.
more_page
}
>
更多
><
/Link
>
:
<
Link
className
=
"more"
to
=
{
module
.
more_page
}
>
更多
><
/Link
>
:
null
:
null
}
}
<
LazyLoad
offset
=
{
50
}
>
{
/* <LazyLoad offset={50}> */
}
<
ul
className
=
'index-course-detail'
>
<
ul
className
=
'index-course-detail'
>
{
{
module
.
name
!==
'限时免费'
&&
!
isOdd
&&
module
.
list
[
0
].
course_img
!==
module
.
list
[
0
].
course_img_small
&&
module
.
name
!==
'限时免费'
&&
!
isOdd
&&
module
.
list
[
0
].
course_img
!==
module
.
list
[
0
].
course_img_small
&&
...
@@ -109,7 +109,7 @@ const Module = function CourseList({module, toDetail}) {
...
@@ -109,7 +109,7 @@ const Module = function CourseList({module, toDetail}) {
})
})
}
}
<
/ul
>
<
/ul
>
<
/LazyLoad
>
{
/* </LazyLoad> */
}
<
/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