From 339d12b7b86a5559dcc44c079e20072b2ae66d1b Mon Sep 17 00:00:00 2001 From: kron Date: Sat, 8 Nov 2025 10:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ShootProgress2.vue | 19 +++++++++---------- src/components/TeamAvatars.vue | 25 +++++++++++++++---------- src/pages/team-battle.vue | 4 ++-- 3 files changed, 26 insertions(+), 22 deletions(-) diff --git a/src/components/ShootProgress2.vue b/src/components/ShootProgress2.vue index 5d512a9..2becd8b 100644 --- a/src/components/ShootProgress2.vue +++ b/src/components/ShootProgress2.vue @@ -80,34 +80,33 @@ onBeforeUnmount(() => { display: flex; flex-direction: column; align-items: center; - margin-bottom: 12vw; + margin-left: 10rpx; } .container > image { width: 360rpx; height: 80rpx; - transform: translateY(7px); + transform: translateY(24rpx); } .container > view:last-child { width: 100%; text-align: center; background-color: #444444; border-radius: 20px; - font-size: 12px; - height: 15px; - line-height: 15px; + height: 24rpx; position: relative; overflow: hidden; } .container > view:last-child > view { - position: absolute; - height: 15px; + height: 24rpx; border-radius: 15px; transition: all 1s linear; } .container > view:last-child > text { - font-size: 10px; - line-height: 15px; + font-size: 18rpx; color: #fff; - position: relative; + position: absolute; + top: 0; + left: 50%; + transform: translateX(-50%); } diff --git a/src/components/TeamAvatars.vue b/src/components/TeamAvatars.vue index bd13741..c3c265b 100644 --- a/src/components/TeamAvatars.vue +++ b/src/components/TeamAvatars.vue @@ -55,7 +55,10 @@ watch( {{ firstName }} @@ -100,15 +104,16 @@ watch( align-items: center; position: relative; width: 20vw; - height: 45px; + height: 10rpx; margin: 0 20rpx; } .container > text { position: absolute; font-size: 10px; text-align: center; - width: 40px; - bottom: -12px; + width: 90rpx; + bottom: -100rpx; + transform: translateY(-50% - 40rpx); } .player { transition: all 0.3s ease; @@ -123,7 +128,7 @@ watch( } .player > text { position: absolute; - font-size: 8px; + font-size: 16rpx; text-align: center; width: 40px; left: 0px; @@ -134,6 +139,6 @@ watch( position: absolute; width: 45rpx; height: 45rpx; - top: -30rpx; + transition: all 0.3s ease; } diff --git a/src/pages/team-battle.vue b/src/pages/team-battle.vue index 35ebfab..ed94c47 100644 --- a/src/pages/team-battle.vue +++ b/src/pages/team-battle.vue @@ -391,7 +391,7 @@ onHide(() => { display: flex; align-items: center; justify-content: center; - margin-bottom: -7vw; - margin-top: -3vw; + margin-top: -1%; + margin-bottom: 6%; }