This commit is contained in:
yj 2024-09-13 11:46:13 +08:00
parent 3eebab8192
commit 2d63cdefdb
2 changed files with 14 additions and 7 deletions

View File

@ -29,6 +29,10 @@
}
}
>img {
width: 18px;
}
>label {
height: 18px;
width: 18px;

View File

@ -2108,8 +2108,8 @@ const Meeting: React.FC = () => {
key={rowIndex}>
<label>
<img src={row.active ? row.iconActive : row.icon} alt="" />
<div style={{ backgroundImage: `url(${ImageUrl.icon49})` }} id={`micr-item-${userInfo.uid}`}>
</div>
{!row.active ? <div style={{ backgroundImage: `url(${ImageUrl.icon49})` }} id={`micr-item-${userInfo.uid}`}>
</div> : ''}
</label>
<span>{row.title}</span>
</div>
@ -2212,11 +2212,14 @@ const meetingContentUser = (item: any, bool?: boolean) => {
<div style={{ background: item.roleId === '1' ? '#FDC229' : '#3F51B5' }}>
<img src={ImageUrl.icon32} alt="" />
</div> : null}
<label>
<img src={item.enableMicr ? ImageUrl.icon22 : ImageUrl.icon22Active} alt="" />
<div style={{ backgroundImage: `url(${ImageUrl.icon49})` }} id={`micr-${item.uid}`}>
</div>
</label>
{
bool ? !item.enableMicr ? <img src={item.enableMicr ? ImageUrl.icon22 : ImageUrl.icon22Active} alt="" /> : '' :
<label>
<img src={item.enableMicr ? ImageUrl.icon22 : ImageUrl.icon22Active} alt="" />
{item.enableMicr ? <div style={{ backgroundImage: `url(${ImageUrl.icon49})` }} id={`micr-${item.uid}`}>
</div> : ''}
</label>
}
<span style={{ maxWidth: bool ? '' : '8vw' }} title={`${item.userName}${item.roleId === '1' || item.isRoomManager ? item.roleId === '1' ? '(管理员)' : '(发言人)' : ''}`}>
{item.userName}
{item.roleId === '1' || item.isRoomManager ? item.roleId === '1' ? '(管理员)' : '(发言人)' : ''}