diff --git a/src/components.d.ts b/src/components.d.ts
index 54dccc9..0438a24 100644
--- a/src/components.d.ts
+++ b/src/components.d.ts
@@ -29,5 +29,7 @@ declare module 'vue' {
SettingsSensorConfig: typeof import('./components/settings/sensorConfig.vue')['default']
SettingsWifiNetwork: typeof import('./components/settings/wifiNetwork.vue')['default']
SettingsWifiSettings: typeof import('./components/settings/wifiSettings.vue')['default']
+ WarningFilter: typeof import('./components/warning/filter.vue')['default']
+ WarningItem: typeof import('./components/warning/item.vue')['default']
}
}
diff --git a/src/components/home/warning.vue b/src/components/home/warning.vue
index 5ec29ff..4a5db95 100644
--- a/src/components/home/warning.vue
+++ b/src/components/home/warning.vue
@@ -1,10 +1,18 @@
+
+
diff --git a/src/components/warning/filter.vue b/src/components/warning/filter.vue
new file mode 100644
index 0000000..3ba174f
--- /dev/null
+++ b/src/components/warning/filter.vue
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+
+ {{ tab }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 共{{ totalCount }}条警告,其中
+ {{ unhandledCount }}条
+ 未处理
+
+
+ 未处理警告 ({{ unhandledCount }}条)
+
+
+
+
+
diff --git a/src/components/warning/item.vue b/src/components/warning/item.vue
new file mode 100644
index 0000000..bb2e5b5
--- /dev/null
+++ b/src/components/warning/item.vue
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+
+
+ {{ tag }}
+
+
+
+
+
+ {{ time }}
+
+
+ {{ trigger }}
+
+
+
+
+
diff --git a/src/pages/warning/index.vue b/src/pages/warning/index.vue
new file mode 100644
index 0000000..d9687af
--- /dev/null
+++ b/src/pages/warning/index.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/uni-pages.d.ts b/src/uni-pages.d.ts
index afeb87b..1320a73 100644
--- a/src/uni-pages.d.ts
+++ b/src/uni-pages.d.ts
@@ -9,6 +9,7 @@ type _LocationUrl =
"/pages/message/index" |
"/pages/report/index" |
"/pages/settings/index" |
+ "/pages/warning/index" |
"/pages/work/index";
interface NavigateToOptions {