From 0765f8a800aca754e5c9d3c3b4e7e544b9ffdb7c Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Wed, 5 Nov 2025 15:20:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BA=B5=E5=90=91=E5=B8=83=E5=B1=80?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E6=A8=A1=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DynamicNewsCard/EventScrollList.js | 5 -- .../DynamicNewsCard/VerticalModeLayout.js | 79 +++++++++++-------- 2 files changed, 47 insertions(+), 37 deletions(-) diff --git a/src/views/Community/components/DynamicNewsCard/EventScrollList.js b/src/views/Community/components/DynamicNewsCard/EventScrollList.js index a4000365..a0113ecd 100644 --- a/src/views/Community/components/DynamicNewsCard/EventScrollList.js +++ b/src/views/Community/components/DynamicNewsCard/EventScrollList.js @@ -163,7 +163,6 @@ const EventScrollList = ({ {/* 纵向分栏模式 */} {mode === 'vertical' && ( - {/* 左侧:事件列表 (33.3%) - 使用虚拟滚动 + 双向无限滚动 */} - - + {/* 左侧:事件列表 - 使用分页模式 */} + + + {events.map((event) => ( + onEventSelect(event)} + isFollowing={eventFollowStatus[event.id]?.isFollowing} + followerCount={eventFollowStatus[event.id]?.followerCount} + onToggleFollow={onToggleFollow} + timelineStyle={getTimelineBoxStyle()} + borderColor={borderColor} + /> + ))} + {/* 右侧:事件详情 (66.7%) */}