From 1ad951913ef42f3b5cc4c351dba7a0b1f9b9f587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=8E=AB=E5=94=90=E5=B0=BC?= Date: Mon, 15 Jun 2026 22:02:59 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E4=BC=98=E5=8C=96=E5=A4=9A?= =?UTF-8?q?=E7=AF=87=E9=A1=B5=E9=9D=A2=E7=BB=86=E8=8A=82=E4=B8=8E=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E5=B1=95=E7=A4=BA=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 隐藏两个页面的测试调试模块 2. 将图库默认样式改为card模式 3. 优化评论项间距与图标、内容展示 4. 调整代码块圆角样式与文章详情页逻辑 5. 新增文章导航封面处理与加载逻辑优化 --- .../mp-html/components/mp-html/node/node.vue | 2 +- .../static/app-plus/mp-html/local.html | 2 +- .../post-detail/uh-post-comment-panel.vue | 8 +- src/pages/gallery/gallery.vue | 4 +- src/pages/moments/moments.vue | 2 +- src/subpkg-blog/post-detail/post-detail.vue | 147 +++++++++--------- 6 files changed, 85 insertions(+), 80 deletions(-) diff --git a/src/components/mp-html/components/mp-html/node/node.vue b/src/components/mp-html/components/mp-html/node/node.vue index d2609f7..3638f65 100644 --- a/src/components/mp-html/components/mp-html/node/node.vue +++ b/src/components/mp-html/components/mp-html/node/node.vue @@ -821,7 +821,7 @@ export default { } } -
\ No newline at end of file +
\ No newline at end of file diff --git a/src/components/post-detail/uh-post-comment-panel.vue b/src/components/post-detail/uh-post-comment-panel.vue index c41039e..004baa9 100644 --- a/src/components/post-detail/uh-post-comment-panel.vue +++ b/src/components/post-detail/uh-post-comment-panel.vue @@ -319,7 +319,7 @@ onMounted(() => { :src="avatar(reply.owner.avatar)" mode="aspectFill" /> - + {{ reply.owner.displayName || '匿名用户' }} {{ timeFrom(reply.spec.creationTime || reply.metadata.creationTimestamp) }} @@ -329,13 +329,15 @@ onMounted(() => { 回复 {{ reply.spec.quoteReply }}: - {{ reply.spec.raw }} + + + - + 回复 diff --git a/src/pages/gallery/gallery.vue b/src/pages/gallery/gallery.vue index cbb6f74..05813b2 100644 --- a/src/pages/gallery/gallery.vue +++ b/src/pages/gallery/gallery.vue @@ -29,7 +29,7 @@ interface IGalleryGroup { const groupBanner = reactive({ current: 0, }) -const galleryStyle = ref('mix') +const galleryStyle = ref('card') const showListPanel = reactive({ show: false, metadataName: '', @@ -182,7 +182,7 @@ onPageScroll(() => { })