From 8ec48945132ddee4973a19e7e6ff76e3d0909eb8 Mon Sep 17 00:00:00 2001 From: tim Date: Mon, 14 Jul 2025 14:15:12 +0800 Subject: [PATCH] feat: mark as read button --- open-isle-cli/src/views/MessagePageView.vue | 148 +++++++++++++++++++- open-isle-cli/src/views/ProfileView.vue | 3 +- 2 files changed, 148 insertions(+), 3 deletions(-) diff --git a/open-isle-cli/src/views/MessagePageView.vue b/open-isle-cli/src/views/MessagePageView.vue index 7d1843a13..7f76627ab 100644 --- a/open-isle-cli/src/views/MessagePageView.vue +++ b/open-isle-cli/src/views/MessagePageView.vue @@ -13,6 +13,7 @@ @@ -459,6 +585,9 @@ export default { font-weight: normal; font-size: 14px; opacity: 0.8; + display: flex; + justify-content: space-between; + align-items: center; } .notif-content-text { @@ -476,4 +605,19 @@ export default { font-weight: bold; color: var(--text-color); } + +.mark-read-button { + color: var(--primary-color); + font-size: 12px; + cursor: pointer; +} + +.mark-read-button:hover { + text-decoration: underline; +} + +.has-read-button { + font-size: 12px; +} + diff --git a/open-isle-cli/src/views/ProfileView.vue b/open-isle-cli/src/views/ProfileView.vue index 2a895f0c8..03ab772cf 100644 --- a/open-isle-cli/src/views/ProfileView.vue +++ b/open-isle-cli/src/views/ProfileView.vue @@ -622,12 +622,13 @@ export default { flex-direction: row; gap: 20px; width: 100%; + flex-wrap: wrap; } .hot-reply, .hot-topic, .hot-tag { - width: 33%; + width: 40%; } .profile-timeline {