From 39830cceb4ee8a56864c28ef6a9479a64930ae33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AD=90=E8=B4=A4?= Date: Mon, 12 Jan 2026 10:06:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E6=B4=BB=E5=8A=A8=E9=A1=B6?= =?UTF-8?q?=E9=83=A8banner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/controller/home/event_list_controller.dart | 4 ++-- lib/pages/home/event_list.dart | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/controller/home/event_list_controller.dart b/lib/controller/home/event_list_controller.dart index 9d4b1b9..852aac4 100644 --- a/lib/controller/home/event_list_controller.dart +++ b/lib/controller/home/event_list_controller.dart @@ -22,8 +22,8 @@ class EventListController extends GetxController with GetTickerProviderStateMixi late final TabController tabController; final imgList = [ - "https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/57211062B4AA.jpg", - "https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/175A787530A6.jpg", + // "https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/57211062B4AA.jpg", + // "https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/175A787530A6.jpg", "https://dating-agency-prod.oss-cn-shenzhen.aliyuncs.com/06109B7B681A.jpg" ].obs; diff --git a/lib/pages/home/event_list.dart b/lib/pages/home/event_list.dart index 4bb86c7..d84e7a7 100644 --- a/lib/pages/home/event_list.dart +++ b/lib/pages/home/event_list.dart @@ -68,9 +68,12 @@ class EventList extends StatelessWidget { padding: EdgeInsets.all(15.w), height: 165.w, child: Swiper( - autoplay: true, - itemCount: 3, + autoplay: false, + itemCount: 1, loop: true, + onTap: (int index){ + TDImageViewer.showImageViewer(context: context, images: ["https://dating-agency-test.oss-accelerate.aliyuncs.com/35BA357937A1.jpg"]); + }, itemBuilder: (BuildContext context, int index) { return CachedNetworkImage( imageUrl: controller.imgList[index],