diff --git a/api/system/data.js b/api/system/data.js
new file mode 100644
index 0000000..ac10c22
--- /dev/null
+++ b/api/system/data.js
@@ -0,0 +1,12 @@
+import request from '@/utils/request'
+
+// 查询DTU温湿度上报数据列表
+export function findDtuDataByInfo(query) {
+ return request({
+ url: '/system/data/findDtuDataByInfo',
+ method: 'get',
+ params: query
+ })
+}
+
+
diff --git a/components/uni-divider/uni-divider-text.vue b/components/uni-divider/uni-divider-text.vue
new file mode 100644
index 0000000..cff8bea
--- /dev/null
+++ b/components/uni-divider/uni-divider-text.vue
@@ -0,0 +1,77 @@
+
+
+
+
+
+ {{ lineText }}
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/uni-divider/uni-divider.vue b/components/uni-divider/uni-divider.vue
new file mode 100644
index 0000000..768bb29
--- /dev/null
+++ b/components/uni-divider/uni-divider.vue
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config.js b/config.js
index 9e80a59..10c8aae 100644
--- a/config.js
+++ b/config.js
@@ -1,8 +1,8 @@
// 应用全局配置
module.exports = {
// baseUrl: 'https://vue.ruoyi.vip/prod-api',
- // baseUrl: 'http://localhost:8088',
- baseUrl: 'http://1.94.254.176:8088',
+ baseUrl: 'http://172.14.24.109:8088',
+ // baseUrl: 'http://1.94.254.176:8088',
// 应用信息
appInfo: {
// 应用名称
diff --git a/main.js b/main.js
index a6e0a62..016c627 100644
--- a/main.js
+++ b/main.js
@@ -5,6 +5,8 @@ import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import { getDicts } from "@/api/system/dict/data"
+import "./utils/uni.css";
+
Vue.use(plugins)
diff --git a/pages/control/index.vue b/pages/control/index.vue
index fd16337..9ab14d4 100644
--- a/pages/control/index.vue
+++ b/pages/control/index.vue
@@ -2,16 +2,63 @@
控制设置
-
+
-
-
+
+
+
{{ temp }}
+
+
+
+
+ {{ liveData.temp1 }}
+ 温度1
+
+
+ {{ liveData.temp2 }}
+ 温度2
+
+
+ {{ liveData.temp3 }}
+ 温度3
+
+
+ {{ liveData.temp4 }}
+ 温度4
+
+
+
+
+
+ {{ liveData.humi1 }}
+ 湿度1
+
+
+ {{ liveData.humi2 }}
+ 湿度2
+
+
+ {{ liveData.humi3 }}
+ 湿度3
+
+
+ {{ liveData.humi4 }}
+ 湿度4
+
+
+
+
+
+
+
+
+
@@ -107,8 +154,15 @@