This commit is contained in:
parent
703596bd4a
commit
dbd9fcf617
Binary file not shown.
|
After Width: | Height: | Size: 234 B |
Binary file not shown.
|
After Width: | Height: | Size: 279 B |
|
|
@ -65,6 +65,7 @@ const InvitingPersonnelModal = forwardRef((props: any, ref: any) => {
|
|||
})
|
||||
]).then(res => {
|
||||
if (res[0].code === 200 && res[1].code === 200) {
|
||||
res[1].data.items.splice(res[1].data.items.findIndex((item: any) => item.uid === user.uid), 1)
|
||||
setList({
|
||||
...list,
|
||||
total: res[1].data.total,
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@
|
|||
|
||||
.meetingContentSwiperCard {
|
||||
height: 160px;
|
||||
width: calc(100% / 4);
|
||||
width: calc(100% / 6);
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
|
@ -541,6 +541,7 @@
|
|||
margin-right: 30px;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
|
||||
&:last-child {
|
||||
margin: 0;
|
||||
}
|
||||
|
|
@ -639,10 +640,20 @@
|
|||
height: 30px;
|
||||
line-height: 30px;
|
||||
border-radius: 5px;
|
||||
color: #EEEEEE;
|
||||
text-align: center;
|
||||
margin-bottom: 8px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
>span {
|
||||
color: #EEEEEE;
|
||||
}
|
||||
|
||||
>img {
|
||||
height: 16px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin: 0;
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ const Meeting: React.FC = () => {
|
|||
let [currentSeconds, setCurrentSeconds] = useState(0)
|
||||
const [currentEffective, setCurrentEffective] = useState(0)
|
||||
const [isComputerAudio, setIsComputerAudio] = useState(true)
|
||||
const [isFluencyPriority, setIsFluencyPriority] = useState(true)
|
||||
const [isFluencyPriority, setIsFluencyPriority] = useState(false)
|
||||
const [open, setOpen] = useState(false)
|
||||
const [modeOpen, setModeOpen] = useState(false)
|
||||
const [meetingMode, setMeetingMode] = useState('')
|
||||
|
|
@ -127,7 +127,11 @@ const Meeting: React.FC = () => {
|
|||
let time = null as any;
|
||||
setUser(userInfo)
|
||||
setTimeout(() => {
|
||||
window.electron.setViewStatus('maximize')
|
||||
window.electron.getIsMaximized().then((res: boolean) => {
|
||||
if (!res) {
|
||||
window.electron.setViewStatus('maximize')
|
||||
}
|
||||
})
|
||||
}, 1000)
|
||||
setMeetingMode('StandardMode');
|
||||
agora.init(true)
|
||||
|
|
@ -699,7 +703,7 @@ const Meeting: React.FC = () => {
|
|||
case 'StandardMode':
|
||||
return '标准模式'
|
||||
case 'SpeakerMode':
|
||||
return '演讲者模式'
|
||||
return '演讲模式'
|
||||
case 'SingleScreenMode':
|
||||
return '单画面模式'
|
||||
case 'DualScreenMode':
|
||||
|
|
@ -723,7 +727,9 @@ const Meeting: React.FC = () => {
|
|||
}
|
||||
return (
|
||||
<>
|
||||
<div className={styles.meeting}>
|
||||
<div className={styles.meeting} onClick={() => {
|
||||
|
||||
}}>
|
||||
<div className={styles.meetingHeader}>
|
||||
<div>
|
||||
<div>
|
||||
|
|
@ -731,7 +737,7 @@ const Meeting: React.FC = () => {
|
|||
</div>
|
||||
<div>{changeCurrentSeconds()}</div>
|
||||
</div>
|
||||
<div>会议号:{state.channelId}</div>
|
||||
<div>会议号:{state.channelId} 会议名称:{state.roomName}</div>
|
||||
<div className='drag'>
|
||||
<Popover
|
||||
content={
|
||||
|
|
@ -739,11 +745,22 @@ const Meeting: React.FC = () => {
|
|||
<div onClick={() => {
|
||||
setModeOpen(false)
|
||||
storage.setItem('meetingMode', 'StandardMode')
|
||||
}}>标准模式</div>
|
||||
}}>
|
||||
<img src={ImageUrl.icon43} alt="" />
|
||||
<span>标准模式</span>
|
||||
</div>
|
||||
<div onClick={() => {
|
||||
setModeOpen(false)
|
||||
storage.setItem('meetingMode', 'SpeakerMode')
|
||||
}}>演讲者模式</div>
|
||||
}}>
|
||||
<img src={ImageUrl.icon44} alt="" />
|
||||
<span>演讲模式</span>
|
||||
</div>
|
||||
<div onClick={() => {
|
||||
setModeOpen(false)
|
||||
}}>
|
||||
<span>取消</span>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
title=""
|
||||
|
|
|
|||
|
|
@ -53,6 +53,8 @@ import icon41 from '@/assets/icon41.png'
|
|||
import icon41Active from '@/assets/icon41-active.png'
|
||||
import icon42 from '@/assets/icon42.png'
|
||||
import icon42Active from '@/assets/icon42-active.png'
|
||||
import icon43 from '@/assets/icon43.png'
|
||||
import icon44 from '@/assets/icon44.png'
|
||||
export default {
|
||||
error,
|
||||
icon,
|
||||
|
|
@ -109,4 +111,6 @@ export default {
|
|||
icon41Active,
|
||||
icon42,
|
||||
icon42Active,
|
||||
icon43,
|
||||
icon44,
|
||||
}
|
||||
Loading…
Reference in New Issue