顺序优化

This commit is contained in:
yj 2024-09-10 14:04:12 +08:00
parent 7875e37bd1
commit ac689b9548
1 changed files with 25 additions and 25 deletions

View File

@ -1565,6 +1565,14 @@ const Meeting: React.FC = () => {
postOpenCamera(!item.enableCamera, item.uid)
}}
>{item.enableCamera ? '关闭视频' : '打开视频'}</Button> : null}
{item.uid !== user.uid ? <Button
type="primary"
className='m-ant-btn'
size={'small'}
onClick={() => {
equipmentManagement(item.uid, item.userName)
}}
></Button> : null}
{item.uid !== user.uid ? <Button
type="primary"
style={{ backgroundColor: '#EC3C3C' }}
@ -1574,14 +1582,6 @@ const Meeting: React.FC = () => {
getRoomKickout(state.channelId, item.uid, item.userName)
}}
></Button> : null}
{item.uid !== user.uid ? <Button
type="primary"
className='m-ant-btn'
size={'small'}
onClick={() => {
equipmentManagement(item.uid, item.userName)
}}
></Button> : null}
</div>
}>
<div className={styles.meetingContentOperation}>
@ -1747,23 +1747,23 @@ const Meeting: React.FC = () => {
}
}}
>{item.isRoomManager ? '取消发言人' : '设为发言人'}</Button> : null}
<Button
type="primary"
style={{ backgroundColor: '#EC3C3C', width: '100%' }}
size={'small'}
onClick={() => {
getRoomKickout(state.channelId, item.uid, item.userName)
}}
></Button>
<Button
type="primary"
className='m-ant-btn'
style={{ marginTop: '10px', width: '100%' }}
style={{ width: '100%' }}
size={'small'}
onClick={() => {
equipmentManagement(item.uid, item.userName)
}}
></Button>
<Button
type="primary"
style={{ backgroundColor: '#EC3C3C', width: '100%', marginTop: '10px' }}
size={'small'}
onClick={() => {
getRoomKickout(state.channelId, item.uid, item.userName)
}}
></Button>
</div>
}>
<EllipsisOutlined style={{
@ -1887,6 +1887,14 @@ const Meeting: React.FC = () => {
})
}}
>{roomUserItem.enableCamera ? '关闭视频' : '打开视频'}</Button> : null}
{roomUserItem.uid !== user.uid ? <Button
type="primary"
className='m-ant-btn'
size={'small'}
onClick={() => {
equipmentManagement(roomUserItem.uid, roomUserItem.userName)
}}
></Button> : null}
{roomUserItem.uid !== user.uid ? <Button
type="primary"
style={{ backgroundColor: '#EC3C3C' }}
@ -1896,14 +1904,6 @@ const Meeting: React.FC = () => {
getRoomKickout(state.channelId, roomUserItem.uid, roomUserItem.userName)
}}
></Button> : null}
{roomUserItem.uid !== user.uid ? <Button
type="primary"
className='m-ant-btn'
size={'small'}
onClick={() => {
equipmentManagement(roomUserItem.uid, roomUserItem.userName)
}}
></Button> : null}
</div> : <div style={{ color: 'white' }}></div>
}>
<div>