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 @@
+
+
+
+
+ 控制设置
+
+
+
+
+
+
+
+ 卷被开
+ {{ show.jbk }}
+
+
+
+
+
+
+
+
+
+ 卷被关
+ {{ show.jbg }}
+
+
+
+
+
+
+
+
+
+ 卷膜1开
+ {{ show.jm1k }}
+
+
+
+
+
+
+
+
+
+ 卷膜1关
+ {{ show.jm1g }}
+
+
+
+
+
+
+
+
+
+ 卷膜2开
+ {{ show.jm2k }}
+
+
+
+
+
+
+
+
+
+ 卷膜2关
+ {{ show.jm2g }}
+
+
+
+
+
+
+
+
+ 卷膜3开
+ {{ show.jm3k }}
+
+
+
+
+
+
+
+
+
+ 卷膜3关
+ {{ show.jm3g }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ 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(){
}
}
+
+
+
+