diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index e84c65ff..a83837ee 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -301,6 +301,7 @@ onMounted(async () => { :offset="[0, 10]" anchor="bottom middle" self="top middle" + style="max-height: 30vh; width: 300px" @before-hide=" () => { state.notiOpen = false; @@ -327,7 +328,7 @@ onMounted(async () => { @click="setActive(btn)" /> -
+
-
+
@@ -364,7 +366,10 @@ onMounted(async () => { {{ item.detail }}
- + {{ moment(item.createdAt).fromNow() }} { :delay="1000" :offset="[10, 10]" > + {{ item.title }} {{ item.detail }}