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
e14bd165
Commit
e14bd165
authored
Jan 22, 2021
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理UI验收后的问题
parent
b73c887b
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
36 additions
and
25 deletions
+36
-25
src/components/MultipleDatePicker.less
+3
-1
src/core/antd.less
+5
-0
src/modules/course-manage/DataList/CourseData.jsx
+1
-1
src/modules/course-manage/components/LiveCourseList.jsx
+2
-2
src/modules/course-manage/modal/ManageCoursewareModal.less
+1
-1
src/modules/course-manage/video-course/components/AddVideoIntro.jsx
+10
-12
src/modules/course-manage/video-course/components/AddVideoIntro.less
+5
-1
src/modules/course-manage/video-course/components/VideoCourseList.jsx
+9
-5
src/modules/course-manage/video-course/components/VideoCourseOpt.less
+0
-2
No files found.
src/components/MultipleDatePicker.less
View file @
e14bd165
...
@@ -55,7 +55,9 @@
...
@@ -55,7 +55,9 @@
cursor: pointer;
cursor: pointer;
vertical-align: top;
vertical-align: top;
&:hover {
&:hover {
background: #e8e8e8;
background: #FFB714;
opacity:20%;
border-radius:4px;
}
}
&.before-disabled {
&.before-disabled {
color: #e8e8e8;
color: #e8e8e8;
...
...
src/core/antd.less
View file @
e14bd165
...
@@ -632,4 +632,8 @@ mr0 {
...
@@ -632,4 +632,8 @@ mr0 {
.row-dragging .drag-visible {
.row-dragging .drag-visible {
visibility: visible;
visibility: visible;
}
.ant-select-dropdown .rc-virtual-list-scrollbar .rc-virtual-list-scrollbar-thumb{
background: #D6D6D6 !important;
}
}
\ No newline at end of file
src/modules/course-manage/DataList/CourseData.jsx
View file @
e14bd165
...
@@ -219,7 +219,7 @@ class DataList extends React.Component {
...
@@ -219,7 +219,7 @@ class DataList extends React.Component {
<
Table
<
Table
columns=
{
this
.
getVisiterColumns
()
}
columns=
{
this
.
getVisiterColumns
()
}
dataSource=
{
this
.
state
.
teacherData
.
visitorInfoVOList
}
dataSource=
{
this
.
state
.
teacherData
.
visitorInfoVOList
}
scroll=
{
{
y
:
75
}
}
scroll=
{
{
y
:
80
}
}
size=
{
"small"
}
size=
{
"small"
}
style=
{
{
width
:
450
}
}
style=
{
{
width
:
450
}
}
pagination=
{
false
}
pagination=
{
false
}
...
...
src/modules/course-manage/components/LiveCourseList.jsx
View file @
e14bd165
...
@@ -147,7 +147,7 @@ class LiveCourseList extends React.Component {
...
@@ -147,7 +147,7 @@ class LiveCourseList extends React.Component {
columns
=
[
columns
=
[
{
{
title
:
"直播课"
,
title
:
"直播课"
,
width
:
"2
5
%"
,
width
:
"2
3
%"
,
key
:
"course"
,
key
:
"course"
,
dataIndex
:
"courseName"
,
dataIndex
:
"courseName"
,
render
:
(
val
,
record
)
=>
{
render
:
(
val
,
record
)
=>
{
...
@@ -261,7 +261,7 @@ class LiveCourseList extends React.Component {
...
@@ -261,7 +261,7 @@ class LiveCourseList extends React.Component {
<
span
>
店铺展示
</
span
>
<
span
>
店铺展示
</
span
>
<
Tooltip
title=
{
<
div
>
开启后,用户可在店铺内查看到此课程。若课程“未成功开课”,则系统会自动“关闭”店铺展示。
<
br
/>
关闭后,店铺内不再展示此课程,但用户仍可通过分享的海报/链接查看此课程。
</
div
>
}
><
i
className=
"icon iconfont"
style=
{
{
marginLeft
:
'5px'
,
cursor
:
'pointer'
,
color
:
'#bfbfbf'
,
fontSize
:
'14px'
}
}
>

</
i
></
Tooltip
>
<
Tooltip
title=
{
<
div
>
开启后,用户可在店铺内查看到此课程。若课程“未成功开课”,则系统会自动“关闭”店铺展示。
<
br
/>
关闭后,店铺内不再展示此课程,但用户仍可通过分享的海报/链接查看此课程。
</
div
>
}
><
i
className=
"icon iconfont"
style=
{
{
marginLeft
:
'5px'
,
cursor
:
'pointer'
,
color
:
'#bfbfbf'
,
fontSize
:
'14px'
}
}
>

</
i
></
Tooltip
>
</
span
>,
</
span
>,
width
:
"
7
%"
,
width
:
"
9
%"
,
dataIndex
:
"courseware"
,
dataIndex
:
"courseware"
,
render
:
(
val
,
item
,
index
)
=>
{
render
:
(
val
,
item
,
index
)
=>
{
return
(
return
(
...
...
src/modules/course-manage/modal/ManageCoursewareModal.less
View file @
e14bd165
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
}
}
&:hover {
&:hover {
.name {
.name {
color: #FF
7519
;
color: #FF
B714
;
}
}
}
}
}
}
...
...
src/modules/course-manage/video-course/components/AddVideoIntro.jsx
View file @
e14bd165
...
@@ -187,17 +187,15 @@ class AddVideoIntro extends React.Component {
...
@@ -187,17 +187,15 @@ class AddVideoIntro extends React.Component {
<
div
className=
"allow-tourist-join"
>
<
div
className=
"allow-tourist-join"
>
<
span
className=
"label"
>
观看设置:
</
span
>
<
span
className=
"label"
>
观看设置:
</
span
>
<
div
className=
"content"
>
<
div
className=
"content"
>
<
Row
>
<
div
>
<
Col
span=
{
3
}
>
<
Switch
checked=
{
whetherVisitorsJoin
===
"YES"
?
true
:
false
}
onChange=
{
this
.
whetherVisitorsJoinChange
}
/>
<
Switch
checked=
{
whetherVisitorsJoin
===
"YES"
?
true
:
false
}
onChange=
{
this
.
whetherVisitorsJoinChange
}
/>
</
div
>
</
Col
>
<
div
>
<
Col
span=
{
21
}
>
<
div
className=
"desc"
>
<
div
className=
"desc"
>
<
div
>
开启:允许未绑定手机号的用户进入直播间观看直播
</
div
>
<
div
>
开启:允许未绑定手机号的用户进入直播间观看直播
</
div
>
<
div
>
关闭:仅限绑定了手机号的用户可以进入直播间观看直播
</
div
>
<
div
>
关闭:仅限绑定了手机号的用户可以进入直播间观看直播
</
div
>
</
div
>
</
div
>
</
div
>
</
Col
>
</
Row
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
"store-show"
>
<
div
className=
"store-show"
>
...
@@ -217,7 +215,7 @@ class AddVideoIntro extends React.Component {
...
@@ -217,7 +215,7 @@ class AddVideoIntro extends React.Component {
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
"introduce"
>
<
div
className=
"introduce"
>
<
span
className=
"label"
>
视频课简介
:
</
span
>
<
span
className=
"label"
>
视频课简介
:
</
span
>
<
div
className=
"content"
>
<
div
className=
"content"
>
<
div
className=
"intro-list"
>
<
div
className=
"intro-list"
>
{
{
...
...
src/modules/course-manage/video-course/components/AddVideoIntro.less
View file @
e14bd165
.add-video__intro-info {
.add-video__intro-info {
.playback {
.playback {
margin-bottom: 10px;
margin-bottom: 10px;
.require {
.require {
...
@@ -17,10 +16,14 @@
...
@@ -17,10 +16,14 @@
}
}
.allow-tourist-join{
.allow-tourist-join{
display:flex;
display:flex;
.content{
display:flex;
}
.desc{
.desc{
margin-left:16px;
margin-left:16px;
font-size:14px;
font-size:14px;
color:#999;
color:#999;
display:inline-block;
}
}
}
}
.store-show{
.store-show{
...
@@ -31,6 +34,7 @@
...
@@ -31,6 +34,7 @@
margin-left:16px;
margin-left:16px;
font-size:14px;
font-size:14px;
color:#999;
color:#999;
display:inline-block;
}
}
}
}
.radio {
.radio {
...
...
src/modules/course-manage/video-course/components/VideoCourseList.jsx
View file @
e14bd165
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: 吴文洁
* @Author: 吴文洁
* @Date: 2020-08-05 10:12:45
* @Date: 2020-08-05 10:12:45
* @LastEditors: zhangleyuan
* @LastEditors: zhangleyuan
* @LastEditTime: 2021-01-
19 15:53:11
* @LastEditTime: 2021-01-
22 16:25:06
* @Description: 视频课-列表模块
* @Description: 视频课-列表模块
* @Copyright: 杭州杰竞科技有限公司 版权所有
* @Copyright: 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -68,7 +68,8 @@ class VideoCourseList extends React.Component {
...
@@ -68,7 +68,8 @@ class VideoCourseList extends React.Component {
title
:
'视频课'
,
title
:
'视频课'
,
key
:
'scheduleName'
,
key
:
'scheduleName'
,
dataIndex
:
'scheduleName'
,
dataIndex
:
'scheduleName'
,
width
:
'15%'
,
width
:
321
,
fixed
:
'left'
,
render
:
(
val
,
record
)
=>
{
render
:
(
val
,
record
)
=>
{
const
{
coverUrl
,
scheduleVideoUrl
}
=
record
;
const
{
coverUrl
,
scheduleVideoUrl
}
=
record
;
return
(
return
(
...
@@ -90,7 +91,7 @@ class VideoCourseList extends React.Component {
...
@@ -90,7 +91,7 @@ class VideoCourseList extends React.Component {
title
:
'课程分类'
,
title
:
'课程分类'
,
key
:
'categoryName'
,
key
:
'categoryName'
,
dataIndex
:
'categoryName'
,
dataIndex
:
'categoryName'
,
width
:
'
1
0%'
,
width
:
'
2
0%'
,
render
:
(
val
,
record
)
=>
{
render
:
(
val
,
record
)
=>
{
return
(
return
(
<
div
className=
"record__item"
>
<
div
className=
"record__item"
>
...
@@ -103,7 +104,7 @@ class VideoCourseList extends React.Component {
...
@@ -103,7 +104,7 @@ class VideoCourseList extends React.Component {
title
:
'创建人'
,
title
:
'创建人'
,
key
:
'createName'
,
key
:
'createName'
,
dataIndex
:
'createName'
,
dataIndex
:
'createName'
,
width
:
'
8
%'
,
width
:
'
10
%'
,
render
:
(
val
)
=>
{
render
:
(
val
)
=>
{
return
(
return
(
<
div
>
<
div
>
...
@@ -168,7 +169,8 @@ class VideoCourseList extends React.Component {
...
@@ -168,7 +169,8 @@ class VideoCourseList extends React.Component {
title
:
'操作'
,
title
:
'操作'
,
key
:
'operate'
,
key
:
'operate'
,
dataIndex
:
'operate'
,
dataIndex
:
'operate'
,
width
:
"20%"
,
width
:
256
,
fixed
:
'right'
,
render
:
(
val
,
record
)
=>
{
render
:
(
val
,
record
)
=>
{
return
(
return
(
<
div
className=
"operate"
>
<
div
className=
"operate"
>
...
@@ -325,6 +327,8 @@ class VideoCourseList extends React.Component {
...
@@ -325,6 +327,8 @@ class VideoCourseList extends React.Component {
columns=
{
this
.
parseColumns
()
}
columns=
{
this
.
parseColumns
()
}
onChange=
{
this
.
handleChangeTable
}
onChange=
{
this
.
handleChangeTable
}
pagination=
{
false
}
pagination=
{
false
}
scroll=
{
{
x
:
1500
}
}
bordered
/>
/>
<
div
className=
"box-footer"
>
<
div
className=
"box-footer"
>
...
...
src/modules/course-manage/video-course/components/VideoCourseOpt.less
View file @
e14bd165
.video-course-opt {
.video-course-opt {
margin-top: 16px;
.link {
.link {
color: #FF8534;
color: #FF8534;
}
}
...
...
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