From c97913da2dcd790720c8b68bc01a594616f70163 Mon Sep 17 00:00:00 2001 From: Timi Date: Fri, 21 Aug 2026 13:52:52 +0800 Subject: [PATCH] add Notify --- src/layout/MainLayout.vue | 59 ++-- src/pages/notify/NotifyDetail.vue | 235 ++++++++++++++++ src/pages/notify/NotifyList.vue | 432 ++++++++++++++++++++++++++++++ src/pages/tabs/HomeTab.vue | 39 ++- src/router/index.ts | 4 +- src/router/routes/notifyRoutes.ts | 36 +++ src/store/navBarStore.ts | 11 + src/utils/permission.ts | 3 + vite.config.ts | 12 +- 9 files changed, 803 insertions(+), 28 deletions(-) create mode 100644 src/pages/notify/NotifyDetail.vue create mode 100644 src/pages/notify/NotifyList.vue create mode 100644 src/router/routes/notifyRoutes.ts diff --git a/src/layout/MainLayout.vue b/src/layout/MainLayout.vue index d580c3d..c03385d 100644 --- a/src/layout/MainLayout.vue +++ b/src/layout/MainLayout.vue @@ -14,23 +14,36 @@
@@ -216,6 +229,14 @@ const tabBarHeight = computed(() => { -webkit-backdrop-filter: blur(10px); } + .badge { + + :deep(.t-badge__content) { + display: flex; + align-items: center; + } + } + .nav-btn { padding: 0; border: none; @@ -243,6 +264,10 @@ const tabBarHeight = computed(() => { display: flex; align-items: center; justify-content: flex-end; + + :deep(.t-badge) { + display: inline-flex; + } } .nav-text { diff --git a/src/pages/notify/NotifyDetail.vue b/src/pages/notify/NotifyDetail.vue new file mode 100644 index 0000000..89b99f1 --- /dev/null +++ b/src/pages/notify/NotifyDetail.vue @@ -0,0 +1,235 @@ + + + + + diff --git a/src/pages/notify/NotifyList.vue b/src/pages/notify/NotifyList.vue new file mode 100644 index 0000000..62fd1d3 --- /dev/null +++ b/src/pages/notify/NotifyList.vue @@ -0,0 +1,432 @@ + + + + + diff --git a/src/pages/tabs/HomeTab.vue b/src/pages/tabs/HomeTab.vue index 220605f..b8d36d2 100644 --- a/src/pages/tabs/HomeTab.vue +++ b/src/pages/tabs/HomeTab.vue @@ -14,15 +14,19 @@