From 5e9c5d2110e2957c14ac1534b3c8935b7d4d65b0 Mon Sep 17 00:00:00 2001 From: tim Date: Mon, 14 Jul 2025 14:56:58 +0800 Subject: [PATCH] feat: add unread ui --- open-isle-cli/src/views/MessagePageView.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/open-isle-cli/src/views/MessagePageView.vue b/open-isle-cli/src/views/MessagePageView.vue index 7d2a6a9ff..cd8b731ee 100644 --- a/open-isle-cli/src/views/MessagePageView.vue +++ b/open-isle-cli/src/views/MessagePageView.vue @@ -11,7 +11,8 @@ - +
+ - + + +
@@ -220,7 +222,7 @@ export default { const router = useRouter() const notifications = ref([]) const isLoadingMessage = ref(false) - const selectedTab = ref('all') + const selectedTab = ref('unread') const filteredNotifications = computed(() => selectedTab.value === 'all' ? notifications.value @@ -446,11 +448,15 @@ export default { .message-page { background-color: var(--background-color); - padding: 20px; - height: calc(100vh - var(--header-height) - 40px); + height: calc(100vh - var(--header-height)); overflow-y: auto; } +.timeline-container { + padding: 10px 20px; + height: 100%; +} + .notif-content { display: flex; flex-direction: column;