优化停止视频的按钮位置
This commit is contained in:
@@ -851,6 +851,18 @@ export default function DeviceOverviewPage() {
|
|||||||
<div style={{ marginBottom: 8 }}>
|
<div style={{ marginBottom: 8 }}>
|
||||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 4 }}>
|
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 4 }}>
|
||||||
<span style={{ fontSize: 14, fontWeight: 500, color: "#666" }}>{t('devices.s25')}</span>
|
<span style={{ fontSize: 14, fontWeight: 500, color: "#666" }}>{t('devices.s25')}</span>
|
||||||
|
{!isUAV && robotPlayActive && (
|
||||||
|
<div style={{ textAlign: 'right' }}>
|
||||||
|
<Button
|
||||||
|
size="small"
|
||||||
|
danger
|
||||||
|
onClick={() => {
|
||||||
|
setRobotPlayActive(false);
|
||||||
|
}}
|
||||||
|
>{t('devices.fixed2StopFixed2VideoFixed2')}</Button>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
{isUAV && (
|
{isUAV && (
|
||||||
<Select
|
<Select
|
||||||
size="small"
|
size="small"
|
||||||
@@ -926,17 +938,6 @@ export default function DeviceOverviewPage() {
|
|||||||
)
|
)
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{!isUAV && robotPlayActive && (
|
|
||||||
<div style={{ marginTop: 6, textAlign: 'right' }}>
|
|
||||||
<Button
|
|
||||||
size="small"
|
|
||||||
danger
|
|
||||||
onClick={() => {
|
|
||||||
setRobotPlayActive(false);
|
|
||||||
}}
|
|
||||||
>{t('devices.fixed2StopFixed2VideoFixed2')}</Button>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user