diff --git a/src/components/warning/item.vue b/src/components/warning/item.vue index bb2e5b5..fa65f07 100644 --- a/src/components/warning/item.vue +++ b/src/components/warning/item.vue @@ -1,15 +1,29 @@ - + {{ deviceName }} @@ -41,7 +55,6 @@ defineProps<{ background-color: #ffffff; border-radius: 12px; padding: 16px; - /* border-left: 4px solid #ff4d4f; */ } .item-header { diff --git a/src/pages/warning/detail/index.vue b/src/pages/warning/detail/index.vue new file mode 100644 index 0000000..c05b30c --- /dev/null +++ b/src/pages/warning/detail/index.vue @@ -0,0 +1,55 @@ + + + + + + + + + + {{ JSON.stringify(warningData, null, 2) }} + + + + + + + diff --git a/src/pages/warning/index.vue b/src/pages/warning/index.vue index d9687af..a6e24d2 100644 --- a/src/pages/warning/index.vue +++ b/src/pages/warning/index.vue @@ -35,6 +35,7 @@ const warnings = [