From e816da4cf2c29869887b1de104085262f431f610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Thu, 31 Jul 2025 15:54:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E5=9B=BE=E6=A0=87-=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/community/index/index.css | 8 ++++++++ packages/community/index/index.vue | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/packages/community/index/index.css b/packages/community/index/index.css index 876821dc..f7d207b5 100644 --- a/packages/community/index/index.css +++ b/packages/community/index/index.css @@ -189,6 +189,10 @@ image { transform: translateX(-50%); } +.newsList{ + margin-bottom: 100rpx; +} + .newsItem { display: flex; align-items: center; @@ -311,4 +315,8 @@ image { width: 100rpx; height: 100rpx; margin-bottom: 16rpx; +} + +.grid_Text{ + font-size: 24rpx; } \ No newline at end of file diff --git a/packages/community/index/index.vue b/packages/community/index/index.vue index dbfc5a8d..1d5cff45 100644 --- a/packages/community/index/index.vue +++ b/packages/community/index/index.vue @@ -70,7 +70,7 @@ :key="index" > - {{ item.nav_name }} + {{ item.nav_name }} @@ -501,6 +501,7 @@ export default { }, async selectTab(index, item) { + console.log("🚀 ~ selectTab ~ item:", item) const isTabChange = this.selectedTab !== index; if (isTabChange) { this.page_num = 1; @@ -508,7 +509,6 @@ export default { // this.loadMoreText = "下拉加载后续10条,共计30条"; } this.selectedTab = index; - console.log("选中的tab:", index); const res = await request(apiArr.infoPage, "POST", { community_id: Number(uni.getStorageSync("changeCommData").id), announcement_category_id: item.id,