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
e203f497
Commit
e203f497
authored
May 28, 2021
by
guomingpang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style:外部课程样式修改
parent
5184dc02
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
38 deletions
+32
-38
src/modules/course-manage/graphics-course/components/GraphicsCourseList.less
+23
-24
src/modules/course-manage/video-course/components/VideoCourseFilter.jsx
+2
-10
src/modules/course-manage/video-course/components/VideoCourseList.jsx
+3
-3
src/modules/course-manage/video-course/components/VideoCourseList.less
+4
-1
No files found.
src/modules/course-manage/graphics-course/components/GraphicsCourseList.less
View file @
e203f497
.video-course-list {
margin-top: 12px;
.video-list-table{
.video-list-table
{
tbody {
tr{
&:nth-child(even){
tr
{
&:nth-child(even)
{
background: transparent !important;
td{
background:
#FFF
!important;
td
{
background:
#fff
!important;
}
}
&:nth-child(odd){
background: #
FAFAFA
!important;
td{
background: #
FAFAFA
!important;
&:nth-child(odd)
{
background: #
fafafa
!important;
td
{
background: #
fafafa
!important;
}
}
&:hover{
td{
background:
#F
3f6fa !important;
&:hover
{
td
{
background:
#f
3f6fa !important;
}
}
}
}
}
.watchUserCount{
text-align:right;
padding:16px;
.watchUserCount
{
text-align:
right;
padding:
16px;
}
.operate-text {
color: #5289
FA
;
color: #5289
fa
;
cursor: pointer;
}
.operate {
display: flex;
&__item {
color: #5289
FA
;
color: #5289
fa
;
cursor: pointer;
&.split {
margin: 0 8px;
color: #
BFBFBF
;
color: #
bfbfbf
;
}
}
}
.more-operate{
line-height:20px;
.more-operate
{
line-height:
20px;
}
.record__item {
display: flex;
...
...
@@ -56,21 +56,20 @@
height: 50px;
border-radius: 2px;
margin-right: 8px;
background-color: #666;
//
background-color: #666;
}
.course-name {
color: #666;
width:188px;
width:
188px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
height:48px;
height:
48px;
}
}
}
.video-course-more-menu {
...
...
src/modules/course-manage/video-course/components/VideoCourseFilter.jsx
View file @
e203f497
...
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Date: 2020-08-05 10:11:57
* @LastEditors: fusanqiasng
* @LastEditTime: 2021-05-28 1
5:38:11
* @LastEditTime: 2021-05-28 1
6:18:56
* @Description: 视频课-搜索模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -78,14 +78,7 @@ class VideoCourseFilter extends React.Component {
renderTreeNodes
=
(
data
)
=>
{
let
newTreeData
=
data
.
map
((
item
)
=>
{
item
.
title
=
(
<
span
>
<
span
className=
'icon iconfont'
style=
{
{
color
:
'#FBD140'
}
}
>

</
span
>
{
item
.
categoryName
}
</
span
>
)
item
.
title
=
<
span
>
{
item
.
categoryName
}
</
span
>
item
.
key
=
item
.
id
if
(
item
.
sonCategoryList
)
{
item
.
children
=
this
.
renderTreeNodes
(
item
.
sonCategoryList
)
...
...
@@ -194,7 +187,6 @@ class VideoCourseFilter extends React.Component {
categoryList
,
}
=
this
.
state
console
.
log
(
'categoryList'
,
categoryList
)
return
(
<
div
className=
'video-course-filter'
>
<
Row
type=
'flex'
justify=
'space-between'
align=
'top'
>
...
...
src/modules/course-manage/video-course/components/VideoCourseList.jsx
View file @
e203f497
...
...
@@ -3,7 +3,7 @@
* @Date: 2020-08-05 10:12:45
* @LastEditors: fusanqiasng
<<<<<<< HEAD
* @LastEditTime: 2021-05-28 1
4:01:36
* @LastEditTime: 2021-05-28 1
6:17:35
=======
<<<<<<< Updated upstream
* @LastEditTime: 2021-05-27 17:48:31
...
...
@@ -463,11 +463,11 @@ class VideoCourseList extends React.Component {
)
}
render
()
{
const
{
dataSource
=
[],
totalCount
,
query
}
=
this
.
props
const
{
dataSource
=
[],
totalCount
,
query
,
type
}
=
this
.
props
const
{
current
,
size
}
=
query
const
{
RelatedPlanModalVisible
,
selectPlanList
,
selectCourseId
}
=
this
.
state
return
(
<
div
className=
'video-course-list'
>
<
div
className=
{
`video-course-list ${type !== 'internal' ? 'video-course-list-mt' : ''}`
}
>
<
Table
rowKey=
{
(
record
)
=>
record
.
id
}
dataSource=
{
dataSource
}
...
...
src/modules/course-manage/video-course/components/VideoCourseList.less
View file @
e203f497
.video-course-list {
margin-top: 12px;
&.video-course-list-mt {
margin-top: 4px;
}
.video-list-table {
tbody {
tr {
...
...
@@ -56,7 +59,7 @@
height: 50px;
border-radius: 2px;
margin-right: 8px;
background-color: #666;
//
background-color: #666;
}
.course-name {
...
...
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