feat: watch UI empty shell (3-page swiper, mascot, sessions, settings, detail, input)

This commit is contained in:
2026-09-01 18:45:58 +08:00
parent 25798241db
commit a8ee608e6f
10 changed files with 615 additions and 46 deletions
+16
View File
@@ -0,0 +1,16 @@
// DSHWatch bridge stub (empty-shell UI phase)
// 真正的 interconnect 逻辑后续接入。这里先留一个数据/回调占位,方便页面引用。
const listeners = []
function setStatus(text) {
// 空壳:后续改为广播给页面
listeners.forEach((fn) => fn && fn(text))
}
function connect() {
// 空壳
setStatus('未连接')
}
export { connect, setStatus }
Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB