feat: wire watch pages to @system.interconnect bridge

This commit is contained in:
2026-09-01 18:50:32 +08:00
parent 9694f69579
commit a4bc6cffc3
4 changed files with 115 additions and 27 deletions
+3 -4
View File
@@ -16,6 +16,7 @@
<script>
import router from '@system.router'
import bridge from '../../common/bridge.js'
export default {
private: {
@@ -27,13 +28,11 @@ export default {
},
sendQuick(index) {
const item = this.quick[index]
// 空壳:后续通过 interconnect 发给手机/服务器
console.log('quick send', item)
bridge.sendCommand({ kind: 'quick', quick: item, content: item })
this.text = item
},
sendText() {
// 空壳:后续通过 interconnect 发送
console.log('send text', this.text)
bridge.sendText(this.text)
},
goBack() {
router.back()