diff --git a/src/components/Modal.vue b/src/components/Modal.vue new file mode 100644 index 0000000..d831c0e --- /dev/null +++ b/src/components/Modal.vue @@ -0,0 +1,99 @@ + + + + + diff --git a/src/components/SettingCard.vue b/src/components/SettingCard.vue new file mode 100644 index 0000000..16f8428 --- /dev/null +++ b/src/components/SettingCard.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/src/components/Tab.vue b/src/components/Tab.vue new file mode 100644 index 0000000..22f94da --- /dev/null +++ b/src/components/Tab.vue @@ -0,0 +1,112 @@ + + + + + diff --git a/src/pages/Home.vue b/src/pages/Home.vue index c59e59c..ca0b815 100644 --- a/src/pages/Home.vue +++ b/src/pages/Home.vue @@ -278,18 +278,10 @@

紧急模式

-
-
历史报警信息
-
- - - - - -
-
+ + @@ -297,8 +289,13 @@ import Header from 'cpns/Header' import BigCard from 'cpns/BigCard' import SmallCard from 'cpns/SmallCard' -import WarnCard from 'cpns/WarnCard' +import SettingCard from 'cpns/SettingCard' import Battery from 'cpns/Battery' +import Modal from 'cpns/Modal' +import { ref, onMounted } from 'vue' +// 刚开机时 +const initialBoot = ref(true) +onMounted(() => {})