From b8887641e183f7740393de078c2d14705c428fbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=8E=AB=E5=94=90=E5=B0=BC?= Date: Sun, 13 Sep 2026 03:05:03 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E5=A4=9A=E4=B8=AA?= =?UTF-8?q?=E7=BB=84=E4=BB=B6UI=E7=BB=86=E8=8A=82=E4=B8=8E=E5=BD=92?= =?UTF-8?q?=E6=A1=A3=E9=A1=B5=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 调整了首页分类、链接操作、横幅、相册查看器、投票详情、评论弹窗等组件的样式、尺寸与文案,统一了文字大小、图标规格,重构归档页代码缩进与格式 --- .../uh-album-photo-viewer.vue | 14 +- .../uh-comment-modal/uh-comment-modal.vue | 43 +- .../uh-home-banner/uh-home-banner.vue | 16 +- .../uh-home-category/uh-home-category.vue | 2 +- .../uh-links-actions/uh-links-actions.vue | 14 +- src/pages-blog/archives/archives.vue | 572 +++++++++--------- src/pages-blog/vote-detail/vote-detail.vue | 18 +- 7 files changed, 331 insertions(+), 348 deletions(-) diff --git a/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue b/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue index 594d2f2..4f66a11 100644 --- a/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue +++ b/src/components/uh-album-photo-viewer/uh-album-photo-viewer.vue @@ -66,7 +66,7 @@ photos.value = [] handleLoadPhotos() } - }) + }, { immediate: true }) function handleClose() { isShow.value = false @@ -91,7 +91,6 @@ - {{ albumName }} @@ -99,12 +98,12 @@ - + - + {{ photo.description }} - + {{ photo.takenDate }} @@ -139,11 +137,11 @@ - 关闭 - 刷新 diff --git a/src/components/uh-comment-modal/uh-comment-modal.vue b/src/components/uh-comment-modal/uh-comment-modal.vue index 5784fbc..731cfb1 100644 --- a/src/components/uh-comment-modal/uh-comment-modal.vue +++ b/src/components/uh-comment-modal/uh-comment-modal.vue @@ -176,8 +176,7 @@ } async function handleHandle() { - if (!validateForm()) - return + if (!validateForm()) { return } uni.showLoading({ title: '正在提交...' }) @@ -269,54 +268,55 @@