From 5ab82d4571740c4582cd5f0a7ebd2575ea67c446 Mon Sep 17 00:00:00 2001 From: Ironsp <1522278303@qq.com> Date: Thu, 24 Sep 2026 11:17:39 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=8E=88=E6=9D=83=E6=BF=80=E6=B4=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.d.ts | 2 + src/components/home/activateNotice.vue | 155 +++++++++++++++++++++++++ src/components/home/construction.vue | 5 +- src/components/home/progress.vue | 7 +- src/components/home/projectList.vue | 21 ++-- src/components/home/status.vue | 5 +- src/components/home/warning.vue | 21 ++-- src/components/unauthorized.vue | 113 ++++++++++++++++++ src/composables/useDeviceAuth.ts | 83 +++++++++++++ src/pages.json | 4 +- src/pages/Ahome/index.vue | 10 ++ src/utils/device.ts | 3 +- 12 files changed, 406 insertions(+), 23 deletions(-) create mode 100644 src/components/home/activateNotice.vue create mode 100644 src/components/unauthorized.vue create mode 100644 src/composables/useDeviceAuth.ts diff --git a/src/components.d.ts b/src/components.d.ts index f648498..99f6fba 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -16,6 +16,7 @@ declare module 'vue' { HeatmapLayerPanel: typeof import('./components/heatmap/layerPanel.vue')['default'] HeatmapLegend: typeof import('./components/heatmap/legend.vue')['default'] HeatmapPointDetail: typeof import('./components/heatmap/pointDetail.vue')['default'] + HomeActivateNotice: typeof import('./components/home/activateNotice.vue')['default'] HomeConstruction: typeof import('./components/home/construction.vue')['default'] HomeHomeNav: typeof import('./components/home/homeNav.vue')['default'] HomeList: typeof import('./components/home/list.vue')['default'] @@ -39,6 +40,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'] + Unauthorized: typeof import('./components/unauthorized.vue')['default'] WarningFilter: typeof import('./components/warning/filter.vue')['default'] WarningItem: typeof import('./components/warning/item.vue')['default'] WorkDashboard: typeof import('./components/work/dashboard.vue')['default'] diff --git a/src/components/home/activateNotice.vue b/src/components/home/activateNotice.vue new file mode 100644 index 0000000..594a041 --- /dev/null +++ b/src/components/home/activateNotice.vue @@ -0,0 +1,155 @@ + + + + + diff --git a/src/components/home/construction.vue b/src/components/home/construction.vue index e9d2c53..9730414 100644 --- a/src/components/home/construction.vue +++ b/src/components/home/construction.vue @@ -1,7 +1,9 @@