diff --git a/components.d.ts b/components.d.ts index ca8b0f6..ccce504 100644 --- a/components.d.ts +++ b/components.d.ts @@ -15,11 +15,13 @@ declare module 'vue' { VanCheckbox: typeof import('vant/es')['Checkbox'] VanCheckboxGroup: typeof import('vant/es')['CheckboxGroup'] VanIcon: typeof import('vant/es')['Icon'] + VanLoading: typeof import('vant/es')['Loading'] VanNavBar: typeof import('vant/es')['NavBar'] VanPopup: typeof import('vant/es')['Popup'] VanTab: typeof import('vant/es')['Tab'] VanTabbar: typeof import('vant/es')['Tabbar'] VanTabbarItem: typeof import('vant/es')['TabbarItem'] VanTabs: typeof import('vant/es')['Tabs'] + VanTag: typeof import('vant/es')['Tag'] } } diff --git a/public/assets/img.jpg b/public/assets/img.jpg new file mode 100644 index 0000000..de6f0c8 Binary files /dev/null and b/public/assets/img.jpg differ diff --git a/src/router/index.ts b/src/router/index.ts index fa86e96..3f458f4 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,5 +1,8 @@ import { createRouter, createWebHistory } from "vue-router"; - +import AlarmLevel from "@/views/alarm/alarmLevel.vue"; +import AlarmList from "@/views/alarm/alarmList.vue"; +import AlarmDetail from "@/views/alarm/alarmDetail.vue"; +("@/views/alarm/alarmLevel.vue"); const router = createRouter({ history: createWebHistory(import.meta.env.BASE_URL), routes: [ @@ -20,6 +23,16 @@ const router = createRouter({ path: "/management", component: () => import("@/views/management.vue"), }, + { + path: "/alarmLevel", + name: "AlarmLevel", + component: AlarmLevel, + }, + { + path: "/alarmList", + name: "AlarmList", + component: AlarmList, + }, ], }, { @@ -49,6 +62,11 @@ const router = createRouter({ path: "/ktxx/:title", component: () => import("@/views/ktxx.vue"), }, + { + name: "AlarmDetail", + path: "/alarmDetail", + component: AlarmDetail, + }, ], }); diff --git a/src/views/alarm.vue b/src/views/alarm.vue index e02d226..d2eb5a3 100644 --- a/src/views/alarm.vue +++ b/src/views/alarm.vue @@ -1,2 +1,286 @@ - - + + + + + \ No newline at end of file diff --git a/src/views/alarm/alarmDetail.vue b/src/views/alarm/alarmDetail.vue new file mode 100644 index 0000000..bc31573 --- /dev/null +++ b/src/views/alarm/alarmDetail.vue @@ -0,0 +1,430 @@ + + + + + \ No newline at end of file diff --git a/src/views/alarm/alarmLevel.vue b/src/views/alarm/alarmLevel.vue new file mode 100644 index 0000000..41866e6 --- /dev/null +++ b/src/views/alarm/alarmLevel.vue @@ -0,0 +1,366 @@ + + + + + \ No newline at end of file diff --git a/src/views/alarm/alarmList.vue b/src/views/alarm/alarmList.vue new file mode 100644 index 0000000..3025f93 --- /dev/null +++ b/src/views/alarm/alarmList.vue @@ -0,0 +1,279 @@ + + + + + \ No newline at end of file diff --git a/src/views/home.vue b/src/views/home.vue index dd8b045..911142b 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -1,2 +1,205 @@ - - + + + + +