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
472f50fb
Commit
472f50fb
authored
May 29, 2019
by
xuzhenghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
course
parent
f5e7c74e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
src/common/Course/index.js
+2
-2
src/components/Index/index.js
+1
-1
yarn.lock
+5
-0
No files found.
src/common/Course/index.js
View file @
472f50fb
...
@@ -6,8 +6,8 @@ const Course = (props) => {
...
@@ -6,8 +6,8 @@ const Course = (props) => {
<
li
className
=
'course-item'
>
<
li
className
=
'course-item'
>
{
props
.
top
}
{
props
.
top
}
<
a
href
=
"/#"
>
<
a
href
=
"/#"
>
<
img
src
=
{
props
.
data
.
course_img_small
}
alt
=
""
/>
<
img
src
=
{
props
.
img
}
alt
=
""
/>
<
p
className
=
"course-title text-overflow-2"
>
{
props
.
data
.
course_
title
}
<
/p
>
<
p
className
=
"course-title text-overflow-2"
>
{
props
.
title
}
<
/p
>
<
/a
>
<
/a
>
{
props
.
bottom
}
{
props
.
bottom
}
<
/li
>
<
/li
>
...
...
src/components/Index/index.js
View file @
472f50fb
...
@@ -212,7 +212,7 @@ function CourseList({modules}) {
...
@@ -212,7 +212,7 @@ function CourseList({modules}) {
<
/div
>
<
/div
>
)
)
return
(
return
(
<
Course
key
=
{
index
}
top
=
{
top
}
data
=
{
item
}
bottom
=
{
bottom
}
><
/Course
>
<
Course
key
=
{
index
}
top
=
{
top
}
data
=
{
item
}
bottom
=
{
bottom
}
img
=
{
item
.
course_img_small
}
title
=
{
item
.
course_title
}
><
/Course
>
)
)
})
})
}
}
...
...
yarn.lock
View file @
472f50fb
...
@@ -3107,6 +3107,11 @@ data-urls@^1.0.0:
...
@@ -3107,6 +3107,11 @@ data-urls@^1.0.0:
whatwg-mimetype "^2.2.0"
whatwg-mimetype "^2.2.0"
whatwg-url "^7.0.0"
whatwg-url "^7.0.0"
date-fns@^1.30.1:
version "1.30.1"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==
date-now@^0.1.4:
date-now@^0.1.4:
version "0.1.4"
version "0.1.4"
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
...
...
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