From 84be21b1bf1cc072ede420a8601f1ef47a6c1caf Mon Sep 17 00:00:00 2001 From: long <452591453@qq.com> Date: Sat, 31 Oct 2026 11:56:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(training):=20=E4=BF=AE=E5=A4=8D=20AI=20?= =?UTF-8?q?=E8=B7=9F=E7=BB=83=E9=A6=96=E9=A1=B5=E5=8A=A8=E4=BD=9C=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E5=9C=A8=E9=83=A8=E5=88=86=E6=9C=BA=E5=9E=8B=E4=B8=8A?= =?UTF-8?q?=E5=8F=98=E6=88=90=E5=8D=95=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 两张卡片宽度加固定 gap 恰好凑满 100%,rpx 换算取整后多出 1px,第二张被挤到下一行。 列间距改用 space-between 分配。 --- TUICallKit-Vue3/training/pages/pose-hub.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TUICallKit-Vue3/training/pages/pose-hub.vue b/TUICallKit-Vue3/training/pages/pose-hub.vue index f5408eee4..5cc9edb71 100644 --- a/TUICallKit-Vue3/training/pages/pose-hub.vue +++ b/TUICallKit-Vue3/training/pages/pose-hub.vue @@ -223,10 +223,13 @@ function open(id: MoveId) { color: #6c7a71; } +// 列间距用 space-between 分配剩余空间:rpx 换算 px 有取整,“两张卡 + 固定 gap”恰好凑满 100% 时 +// 部分机型会多出 1px,第二张卡被挤到下一行 .grid { display: flex; flex-wrap: wrap; - gap: 24rpx; + justify-content: space-between; + row-gap: 24rpx; } .card {