From 08b475e84d25ff50814d3cc7c1291dc12271ab3b Mon Sep 17 00:00:00 2001 From: qiuchenfan <2035024011@qq.com> Date: Wed, 19 Nov 2025 08:22:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E7=BB=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/body/ImageGridSection.tsx | 24 +++++++++++++++--------- app/routes/news.tsx | 4 ++-- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/app/components/body/ImageGridSection.tsx b/app/components/body/ImageGridSection.tsx index 813ca63..c71f167 100644 --- a/app/components/body/ImageGridSection.tsx +++ b/app/components/body/ImageGridSection.tsx @@ -7,6 +7,10 @@ const ImageGridSection = () => { "/images/carousel-2.jpg", "/images/carousel-3.jpg" ]; + {/* 最外 左右两列间 内边 内容最大宽 水平居 微软雅黑 + 2 列+ 2 行 格子间距 固定宽高 + */} + const listItems = [ '新闻标题一:重要政策发布', '新闻标题二:经济数据稳步回升', @@ -23,8 +27,9 @@ const ImageGridSection = () => { margin: '0 auto', fontFamily: 'Microsoft YaHei, sans-serif' }}> - - {/* 左侧:3张图片 + 1个轮播图 2x2 网格 */} + + {/* 左侧:3张图片 + 1个轮播图 2x2 网格 圆 防溢 拉伸填满 + 保持比例填充 消除底部空白*/}