From f3421265d20b2a784b8aa4ddc6174d8b256cbdcf Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 8 Sep 2025 14:02:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9changelog=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/PostChangeLogItem.vue | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/frontend_nuxt/components/PostChangeLogItem.vue b/frontend_nuxt/components/PostChangeLogItem.vue index 96db77e06..f1985d83f 100644 --- a/frontend_nuxt/components/PostChangeLogItem.vue +++ b/frontend_nuxt/components/PostChangeLogItem.vue @@ -6,26 +6,27 @@ class="change-log-avatar" :src="log.userAvatar" alt="avatar" + @click="() => navigateTo(`/users/${log.username}`)" /> {{ log.username }} - 变更了文章内容 - 变更了文章标题 - 变更了文章分类 - 变更了文章标签 - + 变更了文章内容 + 变更了文章标题 + 变更了文章分类 + 变更了文章标签 + - + - + - + - 投票已出结果 - 抽奖已开奖 + 投票已出结果 + 抽奖已开奖
{{ log.time }}
{ .change-log-container { display: flex; flex-direction: column; + /* padding-top: 5px; */ /* padding-bottom: 30px; */ - opacity: 0.7; font-size: 14px; } .change-log-text { @@ -93,11 +95,18 @@ const diffHtml = computed(() => { font-weight: bold; margin-right: 4px; } + +.change-log-user, +.change-log-content { + opacity: 0.7; +} + .change-log-avatar { width: 20px; height: 20px; border-radius: 50%; margin-right: 4px; + cursor: pointer; } .change-log-time { font-size: 12px;