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
1de1fd78
Commit
1de1fd78
authored
Aug 11, 2021
by
maolipeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/zhujian/0726/qwLiving' into rc
parents
d7bee40b
8f4e7f57
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
20 deletions
+54
-20
src/core/platform.js
+2
-1
src/modules/course-manage/components/AddLiveClassInfoWorkWX.less
+12
-2
src/modules/course-manage/components/LiveCourseList.jsx
+40
-17
No files found.
src/core/platform.js
View file @
1de1fd78
...
...
@@ -41,7 +41,7 @@ module.exports = {
},
isMac
()
{
const
ua
=
navigator
.
platform
.
toLowerCase
();
return
ua
.
indexOf
(
"mac"
)
>
0
return
ua
.
indexOf
(
"mac"
)
>
=
0
}
};
\ No newline at end of file
src/modules/course-manage/components/AddLiveClassInfoWorkWX.less
View file @
1de1fd78
...
...
@@ -17,6 +17,9 @@
color: red;
}
}
// .ant-picker:hover .ant-picker-focused {
// border-color: red;
// }
}
.introduce {
display: flex;
...
...
@@ -24,7 +27,13 @@
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
color: #2966FF;
}
// .ant-select:not(.ant-select-disabled):hover .ant-select-selector{
// border: none;
// .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
// border-color: red;
// box-shadow: 0 0 0 2px rgba(255,0,0,0.2);
// }
// .ant-select:not(.ant-select-disabled):hover .ant-select-selector {
// border-color: red;
// }
}
\ No newline at end of file
src/modules/course-manage/components/LiveCourseList.jsx
View file @
1de1fd78
...
...
@@ -366,30 +366,53 @@ class LiveCourseList extends React.Component {
{
(
item
.
courseState
===
'UN_START'
||
item
.
courseState
===
'STARTING'
)
&&
(
item
.
teacherId
===
User
.
getUserId
()
||
_
.
pluck
(
item
.
admins
,
'adminId'
).
includes
(
User
.
getUserId
()))
&&
(
<>
<
div
key=
'enter_live_room1'
className=
'operate__item'
onClick=
{
()
=>
{
this
.
handleEnterLiveRoom
(
item
)
}
}
>
进入直播间
</
div
>
{
isMac
()?(
<
Tooltip
title=
"请使用windows电脑进入直播间"
placement=
"left"
>
<
div
style=
{
{
fontSize
:
"14px"
,
color
:
"#999999"
}
}
>
进入直播间
</
div
>
</
Tooltip
>
):(
<
div
key=
'enter_live_room1'
className=
'operate__item'
onClick=
{
()
=>
{
this
.
handleEnterLiveRoom
(
item
)
}
}
>
进入直播间
</
div
>
)
}
<
span
className=
'operate__item split'
key=
'view_play_back_split'
>
{
' '
}
|
{
' '
}
</
span
>
</>
)
}
{
item
.
courseState
===
'FINISH'
&&
item
.
haveRecord
===
'YES'
&&
(
{
item
.
courseState
===
'FINISH'
&&
(
<>
<
div
key=
'view_play_back'
className=
'operate__item'
onClick=
{
()
=>
{
this
.
handleViewPlayBack
(
item
)
}
}
>
查看回放
</
div
>
{
item
.
haveRecord
===
'YES'
?
(
<
div
key=
'view_play_back'
className=
'operate__item'
onClick=
{
()
=>
{
this
.
handleViewPlayBack
(
item
)
}
}
>
查看回放
</
div
>
)
:
(
<
Tooltip
title=
"该直播未录制回放"
placement=
"left"
>
<
div
style=
{
{
fontSize
:
"14px"
,
color
:
"#999999"
}
}
>
查看回放
</
div
>
</
Tooltip
>
)
}
<
span
className=
'operate__item split'
key=
'view_play_back_split'
>
{
' '
}
|
{
' '
}
...
...
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