diff --git a/frontend_nuxt/components/LoginOverlay.vue b/frontend_nuxt/components/LoginOverlay.vue index af508a404..7149c4fc6 100644 --- a/frontend_nuxt/components/LoginOverlay.vue +++ b/frontend_nuxt/components/LoginOverlay.vue @@ -3,15 +3,30 @@
- - + +
diff --git a/frontend_nuxt/pages/index.vue b/frontend_nuxt/pages/index.vue index 74e3c994b..ca18a3a7c 100644 --- a/frontend_nuxt/pages/index.vue +++ b/frontend_nuxt/pages/index.vue @@ -70,7 +70,7 @@ {{ article.title }} - +
@@ -296,6 +296,7 @@ const { comments: p.commentCount, views: p.views, rssExcluded: p.rssExcluded || false, + isRestricted: p.visibleScope === 'ONLY_ME' || p.visibleScope === 'ONLY_REGISTER', time: TimeManager.format( selectedTopic.value === '最新回复' ? p.lastReplyAt || p.createdAt : p.createdAt, ), @@ -337,6 +338,7 @@ const fetchNextPage = async () => { members: (p.participants || []).map((m) => ({ id: m.id, avatar: m.avatar })), comments: p.commentCount, views: p.views, + isRestricted: p.visibleScope === 'ONLY_ME' || p.visibleScope === 'ONLY_REGISTER', rssExcluded: p.rssExcluded || false, time: TimeManager.format( selectedTopic.value === '最新回复' ? p.lastReplyAt || p.createdAt : p.createdAt, diff --git a/frontend_nuxt/pages/posts/[id]/index.vue b/frontend_nuxt/pages/posts/[id]/index.vue index 45eea0f0e..31ce3bf8c 100644 --- a/frontend_nuxt/pages/posts/[id]/index.vue +++ b/frontend_nuxt/pages/posts/[id]/index.vue @@ -1,23 +1,22 @@