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 { >label {
height: 18px; height: 18px;
width: 18px; width: 18px;

View File

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