From b68548ddd255428836352185ac7aee19befd8eb0 Mon Sep 17 00:00:00 2001 From: lld <15027638633@163.com> Date: Thu, 25 Dec 2025 17:17:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 14 +- pages/control/index.vue | 665 ++++++++++++++++++++++++++++++++++++++++ utils/mqtt.js | 4 + 3 files changed, 682 insertions(+), 1 deletion(-) create mode 100644 pages/control/index.vue diff --git a/pages.json b/pages.json index e7bf318..a49001d 100644 --- a/pages.json +++ b/pages.json @@ -31,6 +31,11 @@ "navigationBarTitleText": "示例" } }, { + "path": "pages/control/index", + "style": { + "navigationBarTitleText": "控制中心" + } + },{ "path": "pages/mine/avatar/index", "style": { "navigationBarTitleText": "修改头像" @@ -86,7 +91,14 @@ "iconPath": "static/images/tabbar/home.png", "selectedIconPath": "static/images/tabbar/home_.png", "text": "首页" - }, { + }, + { + "pagePath": "pages/control/index", + "iconPath": "static/images/tabbar/work.png", + "selectedIconPath": "static/images/tabbar/work_.png", + "text": "控制中心" + }, + { "pagePath": "pages/work/index", "iconPath": "static/images/tabbar/work.png", "selectedIconPath": "static/images/tabbar/work_.png", diff --git a/pages/control/index.vue b/pages/control/index.vue new file mode 100644 index 0000000..052cd19 --- /dev/null +++ b/pages/control/index.vue @@ -0,0 +1,665 @@ + + + + + + \ No newline at end of file diff --git a/utils/mqtt.js b/utils/mqtt.js index f970a65..a599ed7 100644 --- a/utils/mqtt.js +++ b/utils/mqtt.js @@ -66,3 +66,7 @@ export function mqttDisconnect(){ } } + + + +