From 1e681b46c700015f93e970a9babbe8986e70ffa1 Mon Sep 17 00:00:00 2001 From: kron Date: Sun, 22 Jun 2025 15:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 27 ++++++++++++++++++++++++ src/components/AppFooter.vue | 2 +- src/components/SButton.vue | 15 ++++++++++--- src/components/Swiper.vue | 10 ++++----- src/constants.js | 1 + src/pages/battle-room.vue | 41 +++++++++++++++++++++++++++++------- src/pages/be-vip.vue | 26 +++++++++++------------ src/pages/friend-battle.vue | 10 +++++---- src/pages/my-device.vue | 2 +- src/pages/team-match.vue | 27 ------------------------ src/util.js | 17 +++++++++++++++ 11 files changed, 115 insertions(+), 63 deletions(-) diff --git a/src/App.vue b/src/App.vue index ee7e9d8..ac36a21 100644 --- a/src/App.vue +++ b/src/App.vue @@ -167,4 +167,31 @@ button::after { top: -1000px; left: 0; } +.round-end-tip { + width: 100%; + color: #fff; + display: flex; + flex-direction: column; + align-items: center; +} +.round-end-tip > view:nth-child(2) { + margin: 15px 0; + font-size: 24px; + display: flex; + align-items: center; + justify-content: center; +} +.round-end-tip > view:nth-child(2) > text:nth-child(2), +.round-end-tip > view:nth-child(2) > text:nth-child(4) { + color: #fed847; + width: 30px; + text-align: center; + font-size: 30px; +} +.round-end-tip > text:nth-child(3), +.round-end-tip > text:nth-child(4) { + color: #fff9; + font-size: 14px; + margin-bottom: 10px; +} diff --git a/src/components/AppFooter.vue b/src/components/AppFooter.vue index e698de0..deddac7 100644 --- a/src/components/AppFooter.vue +++ b/src/components/AppFooter.vue @@ -18,7 +18,7 @@ const tabs = [ ]; function handleTabClick(index) { - if (index !== 2 && !user.value.id) return props.signin(); + if (index !== 0 && !user.value.id) return props.signin(); if (index === 0) { uni.navigateTo({ url: "/pages/be-vip", diff --git a/src/components/SButton.vue b/src/components/SButton.vue index 9389502..b36eb85 100644 --- a/src/components/SButton.vue +++ b/src/components/SButton.vue @@ -1,5 +1,6 @@