diff --git a/src/styles/framework/base/flexbox.scss b/src/styles/framework/base/flexbox.scss index 87ec54b..1032b2a 100644 --- a/src/styles/framework/base/flexbox.scss +++ b/src/styles/framework/base/flexbox.scss @@ -465,6 +465,9 @@ Flex, Grow, & Shrink 待确定 .margin-left-42 { margin-left: 42px; } + .margin-top-8{ + margin-top: 8px; + } .margin-top-24 { margin-top: 24px; } diff --git a/src/view/device-detail/whole-setting-range.vue b/src/view/device-detail/whole-setting-range.vue index 1cf8baa..8fcc566 100644 --- a/src/view/device-detail/whole-setting-range.vue +++ b/src/view/device-detail/whole-setting-range.vue @@ -8,15 +8,25 @@ />
全屋全感范围设定
-
所选范围至少包含一台室内机和一台新风
+
+ 所选范围至少包含一台室内机和一台新风 +
{{ item.title }}
- - + +
@@ -34,23 +44,23 @@ const settingList = ref([ { id: 1, title: "客厅空调", - state: true + state: true, }, { id: 2, title: "卧室空调", - state: false + state: false, }, { id: 3, title: "儿童房空调", - state: true + state: true, }, { id: 4, title: "新风除湿机", - state: false - } + state: false, + }, ]); diff --git a/src/view/device-detail/whole-setting.vue b/src/view/device-detail/whole-setting.vue index aec056e..d5bf8f8 100644 --- a/src/view/device-detail/whole-setting.vue +++ b/src/view/device-detail/whole-setting.vue @@ -137,7 +137,7 @@ const setData = () => { * 全屋设定,Event通知值变化 */ const wholeSetting = () => { - proxy.$eventBusService.emit("queryData", tem.value, hum.value); + proxy.$eventBusService.emit("queryData", { tem: tem.value, hum: hum.value }); router.back(); }; const temSetting = (type: String) => { diff --git a/src/view/tabs/home-screen.vue b/src/view/tabs/home-screen.vue index 73c50eb..66ea4f0 100644 --- a/src/view/tabs/home-screen.vue +++ b/src/view/tabs/home-screen.vue @@ -3,77 +3,101 @@
-
+
{{ hour }}:{{ minutes }}
- + -
{{ messageNum }}
+
+ {{ messageNum }} +
- +
-
+
- +
- +
-
+
2
500
400
@@ -82,9 +106,16 @@ +} + diff --git a/src/view/ui/env-select.vue b/src/view/ui/env-select.vue index d9472bf..19c8ff0 100644 --- a/src/view/ui/env-select.vue +++ b/src/view/ui/env-select.vue @@ -43,13 +43,13 @@ const itemOnClick = (item: any) => { const seasonList = ref([ { id: 1, - tem: "14", + tem: "26", season: "春季", hum: 0 }, { id: 2, - tem: "34", + tem: "32", season: "夏季", hum: 0 }, @@ -61,7 +61,7 @@ const seasonList = ref([ }, { id: 4, - tem: "-4", + tem: "-10", season: "冬季", hum: 0 }