From a7ef4380d87a01a5c4dca9a2f1d86fea80efb5bf Mon Sep 17 00:00:00 2001 From: smallclover <18363998103@163.com> Date: Thu, 16 Oct 2025 21:13:56 +0900 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D=201.?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BD=91=E9=A1=B5=E6=A8=A1=E5=BC=8F=E4=B8=8B?= =?UTF-8?q?=EF=BC=8Cmarkdown=E4=BB=A3=E7=A0=81=E8=BF=87=E9=95=BF=202.?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BD=91=E9=A1=B5=E6=A8=A1=E5=AE=9E=E4=B8=8B?= =?UTF-8?q?=EF=BC=8C=E6=8C=89=E9=92=AE=E6=96=87=E5=AD=97=E6=8D=A2=E8=A1=8C?= =?UTF-8?q?=203.=E4=BF=AE=E5=A4=8D=E7=BD=91=E9=A1=B5=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B=EF=BC=8C=E6=B6=88=E6=81=AF=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend_nuxt/assets/global.css | 6 ++++-- .../components/NotificationContainer.vue | 1 + frontend_nuxt/pages/message.vue | 20 +++++++++---------- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/frontend_nuxt/assets/global.css b/frontend_nuxt/assets/global.css index 42d4118be..4db59267d 100644 --- a/frontend_nuxt/assets/global.css +++ b/frontend_nuxt/assets/global.css @@ -205,7 +205,6 @@ body { border-radius: 4px; background-color: var(--code-highlight-background-color); color: var(--text-color); - white-space: pre; /* 禁止自动换行 */ } .copy-code-btn { @@ -370,7 +369,10 @@ body { .d2h-code-line { padding-left: 10px !important; } - + /* 手机端不换行 */ + .info-content-text code { + white-space: pre; /* 禁止自动换行 */ + } /* .d2h-diff-table { font-size: 6px !important; } diff --git a/frontend_nuxt/components/NotificationContainer.vue b/frontend_nuxt/components/NotificationContainer.vue index db002aab4..352b17a6e 100644 --- a/frontend_nuxt/components/NotificationContainer.vue +++ b/frontend_nuxt/components/NotificationContainer.vue @@ -45,6 +45,7 @@ export default { font-size: 12px; cursor: pointer; margin-left: 10px; + white-space: nowrap; } .mark-read-button:hover { diff --git a/frontend_nuxt/pages/message.vue b/frontend_nuxt/pages/message.vue index 94b39b820..e89680ec4 100644 --- a/frontend_nuxt/pages/message.vue +++ b/frontend_nuxt/pages/message.vue @@ -75,7 +75,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.parentComment.id}`" > -
+ 回复了 @@ -85,7 +85,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ @@ -115,7 +115,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ @@ -162,7 +162,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ 进行了表态 @@ -267,7 +267,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ @@ -287,7 +287,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.parentComment.id}`" > -
+ 回复了 -
+
@@ -323,7 +323,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ @@ -342,7 +342,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ @@ -556,7 +556,7 @@ 删除了您的帖子 -
+