feat: 添加关闭

This commit is contained in:
tim
2025-08-19 22:35:28 +08:00
parent aec5321f89
commit eb18dc8e94

View File

@@ -168,6 +168,8 @@
</div>
</div>
<div class="post-close-container">该帖子已关闭内容仅供阅读无法进行互动</div>
<ClientOnly>
<CommentEditor
@submit="postComment"
@@ -939,6 +941,18 @@ onMounted(async () => {
gap: 10px;
}
.post-close-container {
padding: 40px;
margin-top: 15px;
text-align: center;
font-size: 12px;
color: var(--text-color);
background-color: var(--background-color);
border: 1px dashed var(--normal-border-color);
border-radius: 10px;
opacity: 0.5;
}
.scroller {
margin-top: 20px;
margin-left: 20px;