diff --git a/crates/web-ui/public/receivers.css b/crates/web-ui/public/receivers.css index 8b24511..5111724 100644 --- a/crates/web-ui/public/receivers.css +++ b/crates/web-ui/public/receivers.css @@ -10,3 +10,32 @@ .rx-surface .rx-cards{align-items:start} .rx-surface>.rx-footnote{margin-bottom:0} @media(max-width:650px){.rx-surface{padding:16px;min-height:360px}} + +/* Compact receiver toolbar and single-screen connection form. */ +.rx-toolbar{margin:0 0 18px;gap:12px} +.rx-toolbar label{flex:1 1 280px;white-space:nowrap;margin:0;gap:10px} +.rx-toolbar input{width:240px;max-width:320px;flex:1 1 180px;height:38px;padding:7px 10px} +.rx-toolbar button{width:auto;flex:0 0 auto;min-height:38px;padding:7px 14px;white-space:nowrap} +#rx-summary{white-space:nowrap;font-size:13px} +.rx-surface{min-height:calc(100dvh - 160px)} +.rx-drawer{padding:16px 20px} +.rx-drawer-header{gap:12px;margin:0 0 16px} +.rx-drawer-header .rx-tabs{margin:0;gap:8px} +.rx-drawer-header #rx-close{width:34px;height:34px;min-height:34px;padding:0;flex:0 0 34px} +.rx-drawer .rx-tabs button{padding:7px 12px;min-height:34px} +#rx-form{display:grid;gap:12px} +#rx-form label{margin:0;gap:5px;font-size:13px;line-height:1.4} +#rx-form input:not([type=checkbox]),#rx-form select{height:36px;min-height:36px;padding:6px 10px;font-size:13px;box-sizing:border-box} +.rx-name-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end} +.rx-drawer .rx-name-row label.rx-enable{height:36px;min-height:36px;gap:8px;white-space:nowrap} +#rx-serial-fields,#rx-network-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px} +#rx-form .rx-note{margin:0;padding:9px 10px;font-size:12px;line-height:1.5} +#rx-form .rx-footnote{margin:0;font-size:12px;line-height:1.5} +#rx-form .rx-actions button{width:auto;min-height:36px;padding:7px 16px} +#rx-message{margin:10px 0 0;font-size:12px;line-height:1.4} +#rx-message:empty{display:none} +#rx-diagnostic>p{margin:10px 0;font-size:13px} +#rx-stats{margin:12px 0;gap:7px;font-size:13px} +#rx-raw{max-height:min(180px,25dvh);margin:12px 0 0} +@media(max-height:600px){.rx-drawer{padding:12px 16px}.rx-drawer-header{margin-bottom:10px}#rx-form{gap:8px}#rx-form input:not([type=checkbox]),#rx-form select{height:32px;min-height:32px}#rx-form .rx-note{padding:6px 8px}} +@media(max-width:650px){.rx-toolbar label{flex-basis:100%}.rx-toolbar input{max-width:none}#rx-summary{margin-right:auto}.rx-surface{min-height:calc(100dvh - 195px)}} diff --git a/crates/web-ui/src/receivers.html b/crates/web-ui/src/receivers.html index a591a3a..7cd2b72 100644 --- a/crates/web-ui/src/receivers.html +++ b/crates/web-ui/src/receivers.html @@ -1,20 +1,18 @@
-

设备管理

管理接收机连接与解码。无人机目标和地图位于实时工作台默认界面。

-
正在加载接收机…
+
正在加载接收机…

切换菜单不停止后台接收。停用、修改连接或删除只影响当前接收机。

-

接收机

-
-
+
+
-

只读接收,不向模块发送配置指令。更改连接参数将重启当前接收任务。

+

只读接收;修改连接参数会重启当前接收任务。