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;