refactor(panel): 前后端按模块拆分+屏幕/控制合并页 — 后端meowpanel.c 6372行拆src/*.c+mp.h(235函数原型,20端点output byte-identical,0warning)+前端拆mp_shared/mp_pages/meowpanel三层;屏幕·遥控合并(左屏实时画面+右MD3 SVG矢量按钮无emoji);重编后热更TF卡
This commit is contained in:
1 parent
f3ae06d7cd
commit
2dc4cad454
26 files changed
+9317
-2755
No files matched your search
@@ -293,6 +293,28 @@ input[type=range]{ width:100%; accent-color:var(--primary); }
|
||||
.key-btn:hover{ background:var(--hover); }
|
||||
.key-btn .k-ico{ font-size:20px; display:block; margin-bottom:4px; }
|
||||
|
||||
/* 屏幕·遥控 合并页:左screen右遥控板 */
|
||||
.screen-remote{ display:flex; gap:16px; align-items:flex-start; flex-wrap:wrap; }
|
||||
.screen-col{ flex:1 1 340px; min-width:280px; max-width:520px; }
|
||||
.remote-col{ flex:0 1 260px; min-width:220px; }
|
||||
.remote-col .card{ padding:14px 16px; }
|
||||
.remote-pad{ display:flex; flex-direction:column; gap:12px; }
|
||||
.remote-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
|
||||
.remote-btn{
|
||||
display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
|
||||
padding:12px 6px; border:none; border-radius:var(--radius-m);
|
||||
background:var(--surface-variant); color:var(--on-surface);
|
||||
border:var(--outline-w) solid var(--outline-variant);
|
||||
cursor:pointer; font:inherit; text-align:center; transition:background var(--speed);
|
||||
}
|
||||
.remote-btn:hover{ background:var(--hover); }
|
||||
.remote-btn .r-ico{ width:26px; height:26px; display:block; }
|
||||
.remote-btn .r-ico svg{ width:26px; height:26px; display:block; }
|
||||
.remote-btn .r-lbl{ font-size:12px; line-height:1.2; }
|
||||
.remote-bright{ display:flex; align-items:center; gap:8px; }
|
||||
.remote-bright .r-lbl{ font-size:12px; color:var(--on-surface-variant); white-space:nowrap; }
|
||||
.remote-bright input{ flex:1; }
|
||||
|
||||
/* 危险区 */
|
||||
.danger-box{ border:1px solid var(--error); border-radius:var(--radius-l); padding:16px 18px; }
|
||||
.danger-box .card-title{ color:var(--error); }
|
||||
|
||||
Reference in new issue
Block a user