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
4bcfe840
Commit
4bcfe840
authored
Jul 14, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/zhangleyuan/20210706/format-expand-course' into dev
parents
5c32cca5
04920b78
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
src/modules/plan-manage/modal/UserLearnDetailModal.jsx
+4
-4
src/modules/plan-manage/modal/UserLearnDetailModal.less
+6
-0
No files found.
src/modules/plan-manage/modal/UserLearnDetailModal.jsx
View file @
4bcfe840
/*
* @Author: yuananting
* @Date: 2021-07-05 10:50:30
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2021-07-
09 17:36:1
5
* @LastEditors:
yuananting
* @LastEditTime: 2021-07-
14 14:32:5
5
* @Description: 描述一下咯
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
...
...
@@ -194,10 +194,10 @@ class UserLearnDetailModal extends React.Component {
return
(
<
div
className=
'chapter-record'
>
<
span
>
{
chapterIndex
+
1
}
.
{
index
+
1
}
{
index
<
9
?
`0${index + 1} `
:
index
+
1
}
</
span
>
<
img
className=
'chapter-img'
src=
{
FileTypeIcon
[
record
.
mediaType
]
}
/>
<
span
>
{
record
.
name
}
</
span
>
<
span
className=
'chapter-name'
>
{
record
.
name
}
</
span
>
</
div
>
);
},
...
...
src/modules/plan-manage/modal/UserLearnDetailModal.less
View file @
4bcfe840
...
...
@@ -65,6 +65,12 @@
height: 18px;
margin: 0 10px;
}
.chapter-name {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 400px;
}
}
.record-name {
display: flex;
...
...
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