Commit 1de1fd78 by maolipeng

Merge branch 'feature/zhujian/0726/qwLiving' into rc

parents d7bee40b 8f4e7f57
...@@ -41,7 +41,7 @@ module.exports = { ...@@ -41,7 +41,7 @@ module.exports = {
}, },
isMac() { isMac() {
const ua = navigator.platform.toLowerCase(); const ua = navigator.platform.toLowerCase();
return ua.indexOf("mac") > 0 return ua.indexOf("mac") >= 0
} }
}; };
\ No newline at end of file
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
color: red; color: red;
} }
} }
// .ant-picker:hover .ant-picker-focused {
// border-color: red;
// }
} }
.introduce { .introduce {
display: flex; display: flex;
...@@ -24,7 +27,13 @@ ...@@ -24,7 +27,13 @@
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) { .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
color: #2966FF; 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
...@@ -366,30 +366,53 @@ class LiveCourseList extends React.Component { ...@@ -366,30 +366,53 @@ class LiveCourseList extends React.Component {
{(item.courseState === 'UN_START' || item.courseState === 'STARTING') && {(item.courseState === 'UN_START' || item.courseState === 'STARTING') &&
(item.teacherId === User.getUserId() || _.pluck(item.admins, 'adminId').includes(User.getUserId())) && ( (item.teacherId === User.getUserId() || _.pluck(item.admins, 'adminId').includes(User.getUserId())) && (
<> <>
<div {
key='enter_live_room1' isMac()?(
className='operate__item' <Tooltip title="请使用windows电脑进入直播间" placement="left">
onClick={() => { <div style={{fontSize:"14px",color:"#999999"}}>
this.handleEnterLiveRoom(item) 进入直播间
}}> </div>
进入直播间 </Tooltip>
</div>
):(
<div
key='enter_live_room1'
className='operate__item'
onClick={() => {
this.handleEnterLiveRoom(item)
}}>
进入直播间
</div>
)
}
<span className='operate__item split' key='view_play_back_split'> <span className='operate__item split' key='view_play_back_split'>
{' '} {' '}
|{' '} |{' '}
</span> </span>
</> </>
)} )}
{item.courseState === 'FINISH' && item.haveRecord === 'YES' && ( {item.courseState === 'FINISH' && (
<> <>
<div {
key='view_play_back' item.haveRecord === 'YES' ? (
className='operate__item' <div
onClick={() => { key='view_play_back'
this.handleViewPlayBack(item) className='operate__item'
}}> onClick={() => {
查看回放 this.handleViewPlayBack(item)
</div> }}>
查看回放
</div>
) : (
<Tooltip title="该直播未录制回放" placement="left">
<div style={{fontSize:"14px",color:"#999999"}}>
查看回放
</div>
</Tooltip>
)
}
<span className='operate__item split' key='view_play_back_split'> <span className='operate__item split' key='view_play_back_split'>
{' '} {' '}
|{' '} |{' '}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment