From ef4dceba1bb10a2fe61a0ca25dd781cf9df1741d Mon Sep 17 00:00:00 2001 From: Agent Date: Sat, 28 Mar 2026 12:54:55 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8C=89=E9=92=AE=E7=AD=89=E9=97=B4?= =?UTF-8?q?=E8=B7=9D=E5=88=86=E5=B8=83=EF=BC=8C=E5=AE=BD=E5=BA=A6=E8=B0=83?= =?UTF-8?q?=E4=B8=BA18%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/index.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 8a1e79b..81bf2b0 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -413,18 +413,25 @@ export default { flex-wrap: wrap; } -/* 手机端 - 2列布局 */ +/* 手机端 - 等间距布局 */ +.menu-grid { + display: flex; + flex-wrap: wrap; + justify-content: space-around; + padding: 10rpx; +} + .menu-card { + width: 18%; aspect-ratio: 1; - width: 22%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); - border-radius: 16rpx; + border-radius: 12rpx; margin: 8rpx; display: flex; flex-direction: column; align-items: center; justify-content: center; - padding: 10rpx; + padding: 6rpx; } .menu-card:active {