优化样式

This commit is contained in:
yj 2024-07-19 17:03:14 +08:00
parent 0838f59a2e
commit 9049041ac0
2 changed files with 6 additions and 5 deletions

View File

@ -57,6 +57,7 @@
background-color: black;
color: white;
font-size: 16px;
cursor: pointer;
}
}
@ -255,7 +256,7 @@
box-sizing: border-box;
.active {
border: 1px solid white;
border: 1px solid rgb(106, 106, 106);
box-sizing: border-box;
}

View File

@ -519,7 +519,7 @@ const Meeting: React.FC = () => {
</div>
</div>
{meetingContentUser(item)}
{item.enableCamera ? null : meetingContentError()}
{item.enableCamera ? null : meetingContentError(currentVideoId, item)}
</div>
)}
</div>
@ -939,11 +939,11 @@ const meetingContentUser = (item: any) => {
</>
)
}
const meetingContentError = () => {
const meetingContentError = (currentVideoId: any, item: any) => {
return (
<>
<div className={styles.meetingContentError}>
<div className={`${styles.meetingContentError} ${currentVideoId === item.account ? styles.active : ''}`}>
</div>
</>
)