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
93718d3b
Commit
93718d3b
authored
Dec 28, 2020
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:处理ui验收后的问题
parent
4d0b9420
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
65 additions
and
56 deletions
+65
-56
src/components/Breadcrumbs.less
+1
-1
src/components/ShowTips.less
+1
-0
src/modules/course-manage/AddLive.less
+1
-0
src/modules/course-manage/DataList/CourseData.jsx
+3
-1
src/modules/course-manage/DataList/DataList.less
+3
-1
src/modules/course-manage/DataList/PlaybackData.jsx
+1
-0
src/modules/course-manage/components/AddLiveBasic.less
+6
-2
src/modules/course-manage/components/AddLiveClass.jsx
+1
-6
src/modules/course-manage/components/AddLiveClass.less
+1
-1
src/modules/course-manage/components/AddLiveIntro.jsx
+18
-18
src/modules/course-manage/components/AddLiveIntro.less
+11
-1
src/modules/course-manage/components/LiveCourseList.jsx
+1
-1
src/modules/course-manage/components/LiveCourseList.less
+9
-18
src/modules/course-manage/modal/ClassRecordModal.jsx
+1
-1
src/modules/course-manage/modal/ManageCoursewareModal.jsx
+1
-1
src/modules/course-manage/modal/ShareLiveModal.jsx
+2
-2
src/modules/prepare-lesson/modal/SelectPrepareFileModal.less
+1
-1
src/modules/root/Menu.tsx
+3
-1
No files found.
src/components/Breadcrumbs.less
View file @
93718d3b
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
.ant-breadcrumb{
.ant-breadcrumb{
display: inline-block;
display: inline-block;
span{
span{
color: #
989898
;
color: #
333
;
font-weight: 400;
font-weight: 400;
}
}
}
}
...
...
src/components/ShowTips.less
View file @
93718d3b
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
color:#FF9D14;
color:#FF9D14;
line-height: 24px;
line-height: 24px;
height: 20px;
height: 20px;
margin-top:4px;
}
}
p {
p {
color:#666666;
color:#666666;
...
...
src/modules/course-manage/AddLive.less
View file @
93718d3b
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
color: #333;
color: #333;
font-weight: 500;
font-weight: 500;
line-height: 22px;
line-height: 22px;
margin-bottom:8px;
}
}
.add-live__class-info {
.add-live__class-info {
margin-left: 14px;
margin-left: 14px;
...
...
src/modules/course-manage/DataList/CourseData.jsx
View file @
93718d3b
...
@@ -223,6 +223,7 @@ class DataList extends React.Component {
...
@@ -223,6 +223,7 @@ class DataList extends React.Component {
size=
{
"small"
}
size=
{
"small"
}
style=
{
{
width
:
450
}
}
style=
{
{
width
:
450
}
}
pagination=
{
false
}
pagination=
{
false
}
className=
"visitor-num-table"
/>
/>
);
);
};
};
...
@@ -309,7 +310,7 @@ class DataList extends React.Component {
...
@@ -309,7 +310,7 @@ class DataList extends React.Component {
<
div
className=
"filter-wrap"
>
<
div
className=
"filter-wrap"
>
<
div
className=
"filter"
>
<
div
className=
"filter"
>
<
Button
<
Button
style=
{
{
height
:
32
,
marginLeft
:
16
}
}
style=
{
{
height
:
32
}
}
onClick=
{
_
.
debounce
(
onClick=
{
_
.
debounce
(
()
=>
{
()
=>
{
if
(
!
studentData
.
length
)
{
if
(
!
studentData
.
length
)
{
...
@@ -328,6 +329,7 @@ class DataList extends React.Component {
...
@@ -328,6 +329,7 @@ class DataList extends React.Component {
</
div
>
</
div
>
<
Table
<
Table
bordered
size=
"small"
size=
"small"
scroll=
{
{
y
:
600
}
}
scroll=
{
{
y
:
600
}
}
columns=
{
this
.
getStudentColumns
()
}
columns=
{
this
.
getStudentColumns
()
}
...
...
src/modules/course-manage/DataList/DataList.less
View file @
93718d3b
...
@@ -59,7 +59,9 @@
...
@@ -59,7 +59,9 @@
.ant-table-small > .ant-table-content .ant-table-header {
.ant-table-small > .ant-table-content .ant-table-header {
background-color: #fafafa !important;
background-color: #fafafa !important;
}
}
.visitor-num-table .ant-table-tbody > tr > td{
border-bottom:none !important;
}
.teacher-course-data {
.teacher-course-data {
width: 100%;
width: 100%;
height: 90px;
height: 90px;
...
...
src/modules/course-manage/DataList/PlaybackData.jsx
View file @
93718d3b
...
@@ -129,6 +129,7 @@ class PlaybackData extends React.Component {
...
@@ -129,6 +129,7 @@ class PlaybackData extends React.Component {
</
a
>
</
a
>
<
Button
onClick=
{
()
=>
{
this
.
handleplaybackExport
()}
}
>
导出
</
Button
>
<
Button
onClick=
{
()
=>
{
this
.
handleplaybackExport
()}
}
>
导出
</
Button
>
<
Table
<
Table
bordered
size=
"small"
size=
"small"
columns=
{
this
.
getPlaybackColumns
()
}
columns=
{
this
.
getPlaybackColumns
()
}
dataSource=
{
playbackData
}
dataSource=
{
playbackData
}
...
...
src/modules/course-manage/components/AddLiveBasic.less
View file @
93718d3b
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
.default-btn {
.default-btn {
margin-left: 16px;
margin-left: 16px;
color: #
FFB714
;
color: #
5289FA
;
cursor: pointer;
cursor: pointer;
&.disabled {
&.disabled {
...
@@ -72,8 +72,12 @@
...
@@ -72,8 +72,12 @@
.course-catalog{
.course-catalog{
margin:20px 0 0 14px;
margin:20px 0 0 14px;
}
}
}
.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled){
font-weight:normal !important;
color:#FF9D14 !important;
}
}
#imgCutModalNew {
#imgCutModalNew {
width: 500px;
width: 500px;
height: 300px;
height: 300px;
...
...
src/modules/course-manage/components/AddLiveClass.jsx
View file @
93718d3b
...
@@ -154,12 +154,7 @@ class AddLiveClass extends React.Component {
...
@@ -154,12 +154,7 @@ class AddLiveClass extends React.Component {
</
span
>
</
span
>
<
div
>
<
div
>
<
div
className=
'select-day'
>
<
div
className=
'select-day'
>
已选
已选
<
span
className=
"mark-day"
>
{
isLongArr
(
calendarTime
)
?
calendarTime
.
length
:
0
}
</
span
>
天
<
span
className=
"mark-day"
>
{
isLongArr
(
calendarTime
)
?
calendarTime
.
length
:
0
}
</
span
>
天
</
div
>
</
div
>
<
MultipleDatePicker
<
MultipleDatePicker
selectDateList=
{
calendarTime
}
selectDateList=
{
calendarTime
}
...
...
src/modules/course-manage/components/AddLiveClass.less
View file @
93718d3b
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
.select-day {
.select-day {
margin-bottom: 4px;
margin-bottom: 4px;
.mark-day {
.mark-day {
color: #
FC9C6B
;
color: #
5289FA
;
}
}
}
}
}
}
...
...
src/modules/course-manage/components/AddLiveIntro.jsx
View file @
93718d3b
...
@@ -246,30 +246,26 @@ class AddLiveIntro extends React.Component {
...
@@ -246,30 +246,26 @@ class AddLiveIntro extends React.Component {
console
.
log
(
'liveCourseMediaRequests'
,
liveCourseMediaRequests
);
console
.
log
(
'liveCourseMediaRequests'
,
liveCourseMediaRequests
);
return
(
return
(
<
div
className=
"add-live__intro-info"
>
<
div
className=
"add-live__intro-info"
>
<
div
className=
"playback"
>
<
div
className=
"playback"
>
<
span
className=
"label"
><
span
className=
"require"
>
*
</
span
>
直播回放:
</
span
>
<
span
className=
"label"
><
span
className=
"require"
>
*
</
span
>
直播回放:
</
span
>
<
div
className=
"content"
>
<
div
className=
"content"
>
<
Radio
.
Group
value=
{
needRecord
}
onChange=
{
(
e
)
=>
{
this
.
props
.
onChange
(
'needRecord'
,
e
.
target
.
value
)
}
}
disabled=
{
!
isEdit
?
true
:
false
}
>
<
Radio
.
Group
value=
{
needRecord
}
onChange=
{
(
e
)
=>
{
this
.
props
.
onChange
(
'needRecord'
,
e
.
target
.
value
)
}
}
disabled=
{
!
isEdit
?
true
:
false
}
>
<
Row
style=
{
{
marginBottom
:
'5px'
}
}
>
<
Row
style=
{
{
marginBottom
:
'5px'
}
}
>
<
Col
span=
{
8
}
>
<
Col
span=
{
24
}
>
<
Radio
value=
"YES"
>
<
Radio
value=
"YES"
>
自动录制
自动录制
<
span
className=
"playback__text"
>
系统自助进行全程直播录制
</
span
>
</
Radio
>
</
Radio
>
</
Col
>
</
Col
>
<
Col
span=
{
16
}
>
<
span
className=
"playback__text"
>
系统自助进行全程直播录制
</
span
>
</
Col
>
</
Row
>
</
Row
>
<
Row
>
<
Row
>
<
Col
span=
{
8
}
>
<
Col
span=
{
8
}
>
<
Radio
value=
"NO"
>
<
Radio
value=
"NO"
>
手动录制
手动录制
<
span
className=
"playback__text"
>
讲师手动选择何时开始录制
</
span
>
</
Radio
>
</
Radio
>
</
Col
>
</
Col
>
<
Col
span=
{
16
}
>
<
span
className=
"playback__text"
>
讲师手动选择何时开始录制
</
span
>
</
Col
>
</
Row
>
</
Row
>
</
Radio
.
Group
>
</
Radio
.
Group
>
</
div
>
</
div
>
...
@@ -277,15 +273,15 @@ class AddLiveIntro extends React.Component {
...
@@ -277,15 +273,15 @@ class AddLiveIntro 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
class=
"instro-text"
>
<
div
>
开启:用户可直接进入直播间观看直播
</
div
>
<
div
>
开启:用户可直接进入直播间观看直播
</
div
>
<
div
>
关闭:用户需先填写手机号并短信验证,通过后才可进入直播间观看直播
</
div
>
<
div
>
关闭:用户需先填写手机号并短信验证,通过后才可进入直播间观看直播
</
div
>
</
Col
>
</
div
>
</
Row
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
"warmup"
>
<
div
className=
"warmup"
>
...
@@ -312,7 +308,11 @@ class AddLiveIntro extends React.Component {
...
@@ -312,7 +308,11 @@ class AddLiveIntro extends React.Component {
})
})
}
}
>
上传图片/视频
</
Button
>
}
}
>
上传图片/视频
</
Button
>
<
div
className=
"tips"
>
建议尺寸1280*720px或16:9。图片最大5M,支持jpg、jpeg和png;视频最大500M,支持mp4。
</
div
>
<
div
className=
"tips"
>
<
div
>
建议尺寸1280*720px或16:9。图片最大5M,支持jpg、jpeg和png;视频最大500M,
</
div
>
<
div
>
支持mp4。
</
div
>
</
div
>
<
Popover
content=
{
<
Popover
content=
{
<
div
className=
"example-wrap"
>
<
div
className=
"example-wrap"
>
<
p
className=
"title"
>
直播间暖场图示例
</
p
>
<
p
className=
"title"
>
直播间暖场图示例
</
p
>
...
...
src/modules/course-manage/components/AddLiveIntro.less
View file @
93718d3b
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
}
}
&__text {
&__text {
color: #999;
color: #999;
margin-left:12px;
}
}
}
}
...
@@ -14,9 +15,18 @@
...
@@ -14,9 +15,18 @@
.introduce {
.introduce {
display: flex;
display: flex;
flex-direction: row;
flex-direction: row;
margin-bottom:16px;
}
}
.allow-tourist-join{
.allow-tourist-join{
display:flex;
display:flex;
margin-bottom:16px;
.instro-text{
color:#999;
margin-left:12px;
}
.content{
display:flex;
}
}
}
.radio {
.radio {
display: block;
display: block;
...
@@ -126,7 +136,7 @@
...
@@ -126,7 +136,7 @@
}
}
.checkExample {
.checkExample {
width: 60px;
width: 60px;
color: #
FF7519
;
color: #
5289FA
;
cursor: pointer;
cursor: pointer;
}
}
.warmup {
.warmup {
...
...
src/modules/course-manage/components/LiveCourseList.jsx
View file @
93718d3b
...
@@ -340,7 +340,7 @@ class LiveCourseList extends React.Component {
...
@@ -340,7 +340,7 @@ class LiveCourseList extends React.Component {
return
confirm
({
return
confirm
({
title
:
'你确定要删除直播课'
,
title
:
'你确定要删除直播课'
,
content
:
'删除后,用户将不能观看直播课/回放'
,
content
:
'删除后,用户将不能观看直播课/回放'
,
icon
:
<
QuestionCircleOutlined
/
>,
icon
:
<
span
className=
"icon iconfont default-confirm-icon"
>

</
span
>,
okText
:
'删除'
,
okText
:
'删除'
,
okType
:
'danger'
,
okType
:
'danger'
,
cancelText
:
'取消'
,
cancelText
:
'取消'
,
...
...
src/modules/course-manage/components/LiveCourseList.less
View file @
93718d3b
...
@@ -39,32 +39,23 @@
...
@@ -39,32 +39,23 @@
.teacher{
.teacher{
font-size: 12px;
font-size: 12px;
color: #666666;
color: #666666;
// .teacher-name{
max-width: 96px;
// max-width:60px;
overflow: hidden;
// display:inline-block;
text-overflow:ellipsis;
// overflow: hidden;
white-space: nowrap;
// text-overflow:ellipsis;
// white-space: nowrap;
// height:16px;
// line-height:16px;
// }
}
}
.assistant{
.assistant{
font-size: 12px;
font-size: 12px;
color: #666666;
color: #666666;
// .assistant-name{
max-width: 96px;
// max-width:60px;
overflow: hidden;
// display:inline-block;
text-overflow:ellipsis;
// overflow: hidden;
white-space: nowrap;
// text-overflow:ellipsis;
// white-space: nowrap;
// height:16px;
// line-height:16px;
// }
}
}
.split {
.split {
margin: 0 4px;
margin: 0 4px;
color: #BFBFBF;
color: #BFBFBF;
display: inline-blcok;
}
}
}
}
.categoryName{
.categoryName{
...
...
src/modules/course-manage/modal/ClassRecordModal.jsx
View file @
93718d3b
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: zhangyi
* @Author: zhangyi
* @Date: 2020-05-12 09:43:48
* @Date: 2020-05-12 09:43:48
* @LastEditors: zhangleyuan
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-
09 16:22:42
* @LastEditTime: 2020-12-
28 15:19:18
*/
*/
import
React
,
{
useState
,
useEffect
}
from
"react"
;
import
React
,
{
useState
,
useEffect
}
from
"react"
;
...
...
src/modules/course-manage/modal/ManageCoursewareModal.jsx
View file @
93718d3b
...
@@ -323,7 +323,7 @@ class ManageCoursewareModal extends React.Component {
...
@@ -323,7 +323,7 @@ class ManageCoursewareModal extends React.Component {
onCancel=
{
()
=>
{
}
}
onCancel=
{
()
=>
{
}
}
>
>
<
span
style=
{
{
<
span
style=
{
{
color
:
'#
FF7519
'
,
color
:
'#
5289FA
'
,
cursor
:
'pointer'
cursor
:
'pointer'
}
}
>
删除
</
span
>
}
}
>
删除
</
span
>
</
Popconfirm
>
</
Popconfirm
>
...
...
src/modules/course-manage/modal/ShareLiveModal.jsx
View file @
93718d3b
...
@@ -131,13 +131,13 @@ class ShareLiveModal extends React.Component {
...
@@ -131,13 +131,13 @@ class ShareLiveModal extends React.Component {
</
div
>
</
div
>
<
div
className=
"right"
>
<
div
className=
"right"
>
<
div
className=
"share-poster right__item"
>
<
div
className=
"share-poster right__item"
>
<
div
className=
"title"
>
②
海报分享
</
div
>
<
div
className=
"title"
>
①
海报分享
</
div
>
<
div
className=
"sub-title"
>
学生可通过微信识别二维码,报名观看直播
</
div
>
<
div
className=
"sub-title"
>
学生可通过微信识别二维码,报名观看直播
</
div
>
<
div
className=
"content"
onClick=
{
this
.
handleDownloadPoster
}
>
下载海报
</
div
>
<
div
className=
"content"
onClick=
{
this
.
handleDownloadPoster
}
>
下载海报
</
div
>
</
div
>
</
div
>
<
div
className=
"share-url right__item"
>
<
div
className=
"share-url right__item"
>
<
div
className=
"title"
>
①
链接分享
</
div
>
<
div
className=
"title"
>
②
链接分享
</
div
>
<
div
className=
"sub-title"
>
学生可通过微信打开链接,报名观看直播
</
div
>
<
div
className=
"sub-title"
>
学生可通过微信打开链接,报名观看直播
</
div
>
<
div
className=
"content"
>
<
div
className=
"content"
>
<
div
className=
"share-url"
id=
"shareUrl"
>
{
shareUrl
}
</
div
>
<
div
className=
"share-url"
id=
"shareUrl"
>
{
shareUrl
}
</
div
>
...
...
src/modules/prepare-lesson/modal/SelectPrepareFileModal.less
View file @
93718d3b
...
@@ -84,7 +84,7 @@
...
@@ -84,7 +84,7 @@
color: #BFBFBF;
color: #BFBFBF;
&.correct {
&.correct {
color: #F
C9C6B
;
color: #F
FB714
;
}
}
}
}
}
}
...
...
src/modules/root/Menu.tsx
View file @
93718d3b
...
@@ -5,7 +5,9 @@ import {
...
@@ -5,7 +5,9 @@ import {
import
{
Menu
}
from
'antd'
;
import
{
Menu
}
from
'antd'
;
import
{
menuList
}
from
'../../routes//config/menuList'
import
{
menuList
}
from
'../../routes//config/menuList'
import
{
XMContext
}
from
'../../store/context'
;
import
{
XMContext
}
from
'../../store/context'
;
import
_
from
'underscore'
;
import
"./Menu.less"
;
import
"./Menu.less"
;
const
{
SubMenu
}
=
Menu
;
const
{
SubMenu
}
=
Menu
;
function
Aside
(
props
:
any
)
{
function
Aside
(
props
:
any
)
{
const
{
menuType
}
=
props
const
{
menuType
}
=
props
...
@@ -34,7 +36,7 @@ function Aside(props: any) {
...
@@ -34,7 +36,7 @@ function Aside(props: any) {
window
.
RCHistory
.
push
(
item
.
link
)
window
.
RCHistory
.
push
(
item
.
link
)
}
}
function
onOpenChange
(
openKeys
:
any
){
function
onOpenChange
(
openKeys
:
any
){
setOpenKeys
(
openKeys
)
setOpenKeys
(
_
.
last
(
openKeys
,
1
)
)
}
}
return
(
return
(
<
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