From ea6ae8d7fc7876d58ccff56407a0d1ff8c5184f6 Mon Sep 17 00:00:00 2001 From: "DESKTOP-RQ919RC\\Pc" <1300399510@qq.com> Date: Fri, 26 Dec 2025 18:50:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(homepage):=20=E4=BF=AE=E5=A4=8D=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E4=B8=BB=E9=A1=B5=E6=A0=B7=E5=BC=8F=E5=92=8C=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复个人主页的响应式布局问题,优化移动端显示效果 调整分类和排序区域的样式,移除不必要的margin-left 更新投票组件的内容显示类名为one-line-display-v2 修复主页加载逻辑,优化数据获取和分页处理 移除未使用的代码和注释,清理CSS样式 --- component/item-vote/item-vote.js | 2 +- component/item-vote/item-vote.txt | 2 +- css/homepage-me.css | 148 +++++--- css/homepage-me.less | 213 ++++++++--- css/homepage-other.css | 4 +- css/homepage-other.less | 4 +- css/public.less | 15 +- css/search-tag.css | 1 - css/search-tag.less | 1 - css/search.css | 56 +++ css/search.less | 67 ++++ homepage-me-V2.html | 193 +++++++--- homepage-other-V2.html | 169 +++++++-- js/homepage-me.js | 578 +++++++++++++++++------------- js/public.js | 4 +- js/publish_admin.js | 20 ++ publish_admin.html | 9 +- 17 files changed, 1033 insertions(+), 453 deletions(-) diff --git a/component/item-vote/item-vote.js b/component/item-vote/item-vote.js index 4c0f377..ea78623 100644 --- a/component/item-vote/item-vote.js +++ b/component/item-vote/item-vote.js @@ -81,5 +81,5 @@ export const itemVote = defineComponent({ itemHead, }, - template: `
{{ item.title }} {{ item.content }}
已结束
{{ item?.data?.votes }}
人参与
{{ index + 1 }}
{{ item.value }}
{{ item.count }}
`, + template: `
{{ item.title }} {{ item.content }}
已结束
{{ item?.data?.votes }}
人参与
{{ index + 1 }}
{{ item.value }}
{{ item.count }}
`, }); diff --git a/component/item-vote/item-vote.txt b/component/item-vote/item-vote.txt index d1141a7..ee60062 100644 --- a/component/item-vote/item-vote.txt +++ b/component/item-vote/item-vote.txt @@ -1,7 +1,7 @@
{{ item.title }} - {{ item.content }} + {{ item.content }}