优化共享小窗口显示
This commit is contained in:
parent
f70074aa6d
commit
cc69c3d864
|
|
@ -153,11 +153,11 @@ const ShareScreenWindow: React.FC = () => {
|
||||||
<>
|
<>
|
||||||
<div className={styles.shareScreenWindow} style={{ width: isExpand ? '100%' : '100%' }}>
|
<div className={styles.shareScreenWindow} style={{ width: isExpand ? '100%' : '100%' }}>
|
||||||
<div className={styles.shareScreenWindowTitle}>
|
<div className={styles.shareScreenWindowTitle}>
|
||||||
<span>{changeCurrentSeconds(timeStr)}
|
<span>{changeCurrentSeconds(timeStr)} {!isExpand ? '共享中' : ''}
|
||||||
{networkIcon(currentEffective)}
|
{networkIcon(currentEffective)}
|
||||||
<span style={{ color: 'white', marginLeft: '30px' }}>
|
<span style={{ color: 'white', marginLeft: '30px' }}>
|
||||||
{/* <span >网络质量:{networkQuality.level}</span> */}
|
{!isExpand ? <span style={{ marginRight: '10px' }}>网络质量:{networkQuality.level}</span> : ''}
|
||||||
<span style={{ marginRight: '6px' }}>延迟:{networkOther.lastmileDelay}ms</span>
|
<span>延迟:{networkOther.lastmileDelay}ms</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
{isExpand ? <span className='drag' style={{ flexShrink: 0 }} onClick={() => {
|
{isExpand ? <span className='drag' style={{ flexShrink: 0 }} onClick={() => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue