Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
5276872c
Commit
5276872c
authored
Jul 09, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:视频详情页课节序号调整
parent
535010ce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/modules/course-manage/video-course/VideoCourseDetail.tsx
+3
-3
No files found.
src/modules/course-manage/video-course/VideoCourseDetail.tsx
View file @
5276872c
/*
/*
* @Author: wufan
* @Author: wufan
* @Date: 2020-04-28 18:05:30
* @Date: 2020-04-28 18:05:30
* @LastEditors:
wufan
* @LastEditors:
yuananting
* @LastEditTime: 2021-07-0
5 10:36:15
* @LastEditTime: 2021-07-0
9 16:21:13
* @Description: 线上课课程课节详情
* @Description: 线上课课程课节详情
*/
*/
...
@@ -117,7 +117,7 @@ function VideoCourseDetail(){
...
@@ -117,7 +117,7 @@ function VideoCourseDetail(){
{
{
underscore
.
map
(
courseChapterList
,(
item
:
any
,
index
:
number
)
=>
{
underscore
.
map
(
courseChapterList
,(
item
:
any
,
index
:
number
)
=>
{
return
<
div
className=
'course-ware'
onClick=
{
()
=>
{
handleScanFileModal
(
"MP4"
,
item
)}
}
key=
{
index
}
>
return
<
div
className=
'course-ware'
onClick=
{
()
=>
{
handleScanFileModal
(
"MP4"
,
item
)}
}
key=
{
index
}
>
<
div
className=
"course-ware__index"
>
{
`${index > 9 ? index + 1 : `
0
$
{
index
+
1
}
`} `
}
</
div
>
<
div
className=
"course-ware__index"
>
{
index
<
9
?
`0${index + 1 } `
:
index
+
1
}
</
div
>
<
img
className=
'course-ware__img'
src=
'https://image.xiaomaiketang.com/xm/TKwbQGYDBR.png'
alt=
''
/>
<
img
className=
'course-ware__img'
src=
'https://image.xiaomaiketang.com/xm/TKwbQGYDBR.png'
alt=
''
/>
<
div
className=
'course-ware__name'
>
{
item
.
name
}
</
div
>
<
div
className=
'course-ware__name'
>
{
item
.
name
}
</
div
>
</
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