diff --git a/src/assets/imgs/device-detail/normal-mode/loop_pur@2x.png b/src/assets/imgs/device-detail/normal-mode/loop_pur@2x.png
new file mode 100644
index 0000000..8a327f0
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/loop_pur@2x.png differ
diff --git a/src/assets/imgs/device-detail/normal-mode/loop_pur_select@2x.png b/src/assets/imgs/device-detail/normal-mode/loop_pur_select@2x.png
new file mode 100644
index 0000000..c6dfab3
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/loop_pur_select@2x.png differ
diff --git a/src/assets/imgs/device-detail/normal-mode/save_air@2x.png b/src/assets/imgs/device-detail/normal-mode/save_air@2x.png
new file mode 100644
index 0000000..c84dcad
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/save_air@2x.png differ
diff --git a/src/assets/imgs/device-detail/normal-mode/save_air_select@2x.png b/src/assets/imgs/device-detail/normal-mode/save_air_select@2x.png
new file mode 100644
index 0000000..7d50ab0
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/save_air_select@2x.png differ
diff --git a/src/assets/imgs/device-detail/normal-mode/shut_down_loop_pur@2x.png b/src/assets/imgs/device-detail/normal-mode/shut_down_loop_pur@2x.png
new file mode 100644
index 0000000..ad95cd2
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/shut_down_loop_pur@2x.png differ
diff --git a/src/assets/imgs/device-detail/normal-mode/shut_down_save_air@2x.png b/src/assets/imgs/device-detail/normal-mode/shut_down_save_air@2x.png
new file mode 100644
index 0000000..b746087
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/shut_down_save_air@2x.png differ
diff --git a/src/assets/imgs/device-detail/normal-mode/shut_down_smart_auto@2x.png b/src/assets/imgs/device-detail/normal-mode/shut_down_smart_auto@2x.png
new file mode 100644
index 0000000..4457bf5
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/shut_down_smart_auto@2x.png differ
diff --git a/src/assets/imgs/device-detail/normal-mode/shut_down_ventilation@2x.png b/src/assets/imgs/device-detail/normal-mode/shut_down_ventilation@2x.png
new file mode 100644
index 0000000..291dd87
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/shut_down_ventilation@2x.png differ
diff --git a/src/assets/imgs/device-detail/normal-mode/smart_auto@2x.png b/src/assets/imgs/device-detail/normal-mode/smart_auto@2x.png
new file mode 100644
index 0000000..419444e
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/smart_auto@2x.png differ
diff --git a/src/assets/imgs/device-detail/normal-mode/smart_auto_select@2x.png b/src/assets/imgs/device-detail/normal-mode/smart_auto_select@2x.png
new file mode 100644
index 0000000..3f46407
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/smart_auto_select@2x.png differ
diff --git a/src/assets/imgs/device-detail/normal-mode/ventilation@2x.png b/src/assets/imgs/device-detail/normal-mode/ventilation@2x.png
new file mode 100644
index 0000000..d5ad56b
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/ventilation@2x.png differ
diff --git a/src/assets/imgs/device-detail/normal-mode/ventilation_select@2x.png b/src/assets/imgs/device-detail/normal-mode/ventilation_select@2x.png
new file mode 100644
index 0000000..f456053
Binary files /dev/null and b/src/assets/imgs/device-detail/normal-mode/ventilation_select@2x.png differ
diff --git a/src/view/device-detail/fresh-air.vue b/src/view/device-detail/fresh-air.vue
index 9394649..d4a1da5 100644
--- a/src/view/device-detail/fresh-air.vue
+++ b/src/view/device-detail/fresh-air.vue
@@ -13,11 +13,207 @@
新风换气机
+
+
+
+
+
+
+
{{ modeName }}
+
+
+
+
+
+
{{ windName }}
+
+
+
+
+
+
风向
+
+
+
+
+
+
开关
+
+
+
+
+
+
+
diff --git a/src/view/device-detail/mode/enmu/mode.enmu.ts b/src/view/device-detail/mode/enmu/mode.enmu.ts
index 9a54c2f..3c70226 100644
--- a/src/view/device-detail/mode/enmu/mode.enmu.ts
+++ b/src/view/device-detail/mode/enmu/mode.enmu.ts
@@ -36,4 +36,12 @@ export enum Mode {
HOT_WATER,
/** 泳池用水 */
SWIMMING_WATER,
+ /** 智慧自动 */
+ SMART_AUTO,
+ /** 循环净化 */
+ LOOP_PUR,
+ /** 节能新风 */
+ SAVE_AIR,
+ /** 普通换气 */
+ VENTILATION,
}
\ No newline at end of file
diff --git a/src/view/device-detail/mode/mode-dic.ts b/src/view/device-detail/mode/mode-dic.ts
index e290891..d9e1b72 100644
--- a/src/view/device-detail/mode/mode-dic.ts
+++ b/src/view/device-detail/mode/mode-dic.ts
@@ -230,6 +230,54 @@ const ModeOptions = [
selected: false,
selectModeBg: '/assets/imgs/device-detail/normal-mode/swimming_water_select@2x.png',
windDireImg: '/assets/imgs/device-detail/normal-mode/horiz_swing_cold@2x.png',
+ }, {
+ modeName: '智慧自动',
+ mode: Mode.SMART_AUTO,
+ modeImg: '/assets/imgs/device-detail/normal-mode/smart_auto@2x.png',
+ nomalBg: '/assets/imgs/device-detail/normal-mode/normal_bg_cold@2x.png',
+ smartBg: '',
+ selectSwitchImg: '/assets/imgs/device-detail/normal-mode/switch_cold@2x.png',
+ shutdownImg: '/assets/imgs/device-detail/normal-mode/shut_down_smart_auto@2x.png',
+ shutdownSwitchImg: '',
+ selected: false,
+ selectModeBg: '/assets/imgs/device-detail/normal-mode/smart_auto_select@2x.png',
+ windDireImg: '/assets/imgs/device-detail/normal-mode/horiz_swing_cold@2x.png',
+ }, {
+ modeName: '循环净化',
+ mode: Mode.LOOP_PUR,
+ modeImg: '/assets/imgs/device-detail/normal-mode/loop_pur@2x.png',
+ nomalBg: '/assets/imgs/device-detail/normal-mode/normal_bg_cold@2x.png',
+ smartBg: '',
+ selectSwitchImg: '/assets/imgs/device-detail/normal-mode/switch_cold@2x.png',
+ shutdownImg: '/assets/imgs/device-detail/normal-mode/shut_down_loop_pur@2x.png',
+ shutdownSwitchImg: '',
+ selected: false,
+ selectModeBg: '/assets/imgs/device-detail/normal-mode/loop_pur_select@2x.png',
+ windDireImg: '/assets/imgs/device-detail/normal-mode/horiz_swing_cold@2x.png',
+ }, {
+ modeName: '节能新风',
+ mode: Mode.SAVE_AIR,
+ modeImg: '/assets/imgs/device-detail/normal-mode/save_air@2x.png',
+ nomalBg: '/assets/imgs/device-detail/normal-mode/normal_bg_cold@2x.png',
+ smartBg: '',
+ selectSwitchImg: '/assets/imgs/device-detail/normal-mode/switch_cold@2x.png',
+ shutdownImg: '/assets/imgs/device-detail/normal-mode/shut_down_save_air@2x.png',
+ shutdownSwitchImg: '',
+ selected: false,
+ selectModeBg: '/assets/imgs/device-detail/normal-mode/save_air_select@2x.png',
+ windDireImg: '/assets/imgs/device-detail/normal-mode/horiz_swing_cold@2x.png',
+ }, {
+ modeName: '普通换气',
+ mode: Mode.VENTILATION,
+ modeImg: '/assets/imgs/device-detail/normal-mode/ventilation@2x.png',
+ nomalBg: '/assets/imgs/device-detail/normal-mode/normal_bg_cold@2x.png',
+ smartBg: '',
+ selectSwitchImg: '/assets/imgs/device-detail/normal-mode/switch_cold@2x.png',
+ shutdownImg: '/assets/imgs/device-detail/normal-mode/shut_down_ventilation@2x.png',
+ shutdownSwitchImg: '',
+ selected: false,
+ selectModeBg: '/assets/imgs/device-detail/normal-mode/ventilation_select@2x.png',
+ windDireImg: '/assets/imgs/device-detail/normal-mode/horiz_swing_cold@2x.png',
}
]
diff --git a/src/view/device-detail/mode/wind-dic.ts b/src/view/device-detail/mode/wind-dic.ts
index 71d121c..ac634e9 100644
--- a/src/view/device-detail/mode/wind-dic.ts
+++ b/src/view/device-detail/mode/wind-dic.ts
@@ -89,7 +89,10 @@ const WindOptions: any = [
}
];
ModeOptions.forEach(item => {
- if (item.mode === Mode.COLD || item.mode === Mode.COLD_WIND || item.mode === Mode.SWIMMING_WATER) {
+ if (
+ item.mode === Mode.COLD || item.mode === Mode.COLD_WIND || item.mode === Mode.SWIMMING_WATER
+ || item.mode === Mode.SMART_AUTO || item.mode === Mode.LOOP_PUR || item.mode === Mode.SAVE_AIR || item.mode === Mode.VENTILATION
+ ) {
const windOption = {...coldWind};
windOption.mode = item.mode;
WindOptions.push(windOption);