feat: household TV companion with scoped pairing and direct LAN camera strip

This commit is contained in:
Codex
2026-10-16 00:35:17 +08:00
parent fb87ae4de9
commit 6aa20391b2
42 changed files with 1153 additions and 33 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+4 -2
View File
@@ -1,3 +1,5 @@
<!doctype html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="theme-color" content="#244d43"><link rel="icon" href="/zhao-icon.png"><link rel="apple-touch-icon" href="/zhao-icon.png"><title>赵府 · 智能数字管家</title> <script type="module" crossorigin src="/ui/assets/index-OX4XEEVF.js"></script>
<link rel="stylesheet" crossorigin href="/ui/assets/index-BOIfNXlB.css">
<!doctype html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="theme-color" content="#244d43"><link rel="icon" href="/zhao-icon.png"><link rel="apple-touch-icon" href="/zhao-icon.png"><title>赵府 · 智能数字管家</title> <script type="module" crossorigin src="/ui/assets/index-CBo81CLd.js"></script>
<link rel="modulepreload" crossorigin href="/ui/assets/bootstrap.min-z2h-5aUQ.js">
<link rel="stylesheet" crossorigin href="/ui/assets/bootstrap-DBkz-poX.css">
<link rel="stylesheet" crossorigin href="/ui/assets/index-B8TRemWE.css">
</head><body><div id="app"></div></body></html>
+5
View File
@@ -0,0 +1,5 @@
<!doctype html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="theme-color" content="#f3eee4"><meta name="referrer" content="no-referrer"><link rel="icon" href="/zhao-icon.png"><title>赵府 · 家庭时光</title> <script type="module" crossorigin src="/ui/assets/tv-BwowoKxJ.js"></script>
<link rel="modulepreload" crossorigin href="/ui/assets/bootstrap.min-z2h-5aUQ.js">
<link rel="stylesheet" crossorigin href="/ui/assets/bootstrap-DBkz-poX.css">
<link rel="stylesheet" crossorigin href="/ui/assets/tv-Bv_s0xCW.css">
</head><body><div id="app"></div></body></html>
+1 -1
View File
@@ -2,7 +2,7 @@
Object.assign(window.ZhaoVue,{
boot:bootApplication,
publish(){this.accept({state,user:currentUser,admin:isAdmin(),platformAdmin:isPlatformAdmin(),loggedIn,page:activePage,session:sessionGeneration,device:selectedDevice(),brandName:branding.name});},
api,notify:toast,address:ZhaoGeography.describe,
api,refresh,notify:toast,address:ZhaoGeography.describe,
async saveLayout(value){const saved=await api('/api/households/layout',value);state.householdLayout=saved;this.publish();return saved;},
async enterHome(id,network=false){try{if(id!==state.familyId&&!await switchHousehold(id))return;if(network){devicePresentation='topology';showPage('objects');}else showPage('overview');}catch(e){if(!e.stale)toast(e.message);}},
enterDevice,