From 30b344b77622d8e53039f2aa48b317ab399ca590 Mon Sep 17 00:00:00 2001 From: long <452591453@qq.com> Date: Mon, 25 May 2026 12:49:36 +0800 Subject: [PATCH] =?UTF-8?q?style(metronome):=20=E8=84=9A=E5=8D=B0=E9=87=8D?= =?UTF-8?q?=E7=94=BB=E4=B8=BA=E8=91=AB=E8=8A=A6=E5=9E=8B,=E5=91=8A?= =?UTF-8?q?=E5=88=AB=E6=A4=AD=E5=9C=86=E6=84=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 之前的 SVG path 内外侧太对称,看起来还是椭圆。重新设计: - viewBox 100x140 → 100x150 (拉长比例 1:1.5,更"瘦长") - 主体 path 内侧凹陷 + 外侧饱满,形成葫芦轮廓: · 内侧足弓 x 收到 22 (凹陷) · 外侧饱满 x 推到 78 (凸出) · 前足比脚跟略宽,模拟真实脚型 - 5 个脚趾: · 拇趾 rotate(-18°) 内侧明显倾斜 · 小趾 rotate(+22°) 外侧外展 · cy 沿弧线 22→11→9→13→20,形成自然弧形 · rx 从 6.5 递减到 3.5,大小过渡更自然 - 容器尺寸从 100x140 → 96x144,匹配 SVG 新比例 - walker 高度 200→220rpx 以容纳抬脚动画上限 Co-authored-by: Cursor --- TUICallKit-Vue3/pages/training/metronome.vue | 12 ++++++------ TUICallKit-Vue3/static/training/footprint.svg | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/TUICallKit-Vue3/pages/training/metronome.vue b/TUICallKit-Vue3/pages/training/metronome.vue index 8f45c196..79011167 100644 --- a/TUICallKit-Vue3/pages/training/metronome.vue +++ b/TUICallKit-Vue3/pages/training/metronome.vue @@ -412,7 +412,7 @@ $radius-btn: 20rpx; .walker { position: relative; width: 100%; - height: 200rpx; + height: 220rpx; display: flex; justify-content: center; align-items: flex-end; @@ -420,7 +420,7 @@ $radius-btn: 20rpx; .walker .ground { position: absolute; - bottom: 18rpx; + bottom: 22rpx; left: 10%; right: 10%; height: 1rpx; @@ -438,9 +438,9 @@ $radius-btn: 20rpx; * ============================================================ */ .foot { position: absolute; - bottom: 18rpx; - width: 100rpx; - height: 140rpx; + bottom: 22rpx; + width: 96rpx; + height: 144rpx; .footprint { display: block; @@ -454,7 +454,7 @@ $radius-btn: 20rpx; bottom: -6rpx; left: 50%; transform: translateX(-50%); - width: 76rpx; + width: 70rpx; height: 8rpx; background: radial-gradient( ellipse at center, diff --git a/TUICallKit-Vue3/static/training/footprint.svg b/TUICallKit-Vue3/static/training/footprint.svg index 3ef52eee..359d67f3 100644 --- a/TUICallKit-Vue3/static/training/footprint.svg +++ b/TUICallKit-Vue3/static/training/footprint.svg @@ -1,11 +1,11 @@ - + - - - - - - + + + + + +