From 4bea5631097d218c673116fa45d5c52982a204ee Mon Sep 17 00:00:00 2001 From: zhangyibo95 <690096405@qq.com> Date: Wed, 24 Jun 2026 17:09:34 +0800 Subject: [PATCH] =?UTF-8?q?update:=E6=9B=B4=E6=96=B0=E9=9D=B6=E7=BA=B8?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=E7=BA=A6=E6=88=98=E6=AC=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Container.vue | 5 ++ src/components/Header.vue | 8 +- src/pages/friend-battle.vue | 12 ++- src/pages/grade-intro.vue | 145 ++++++++++++++++++++++++++++------- src/pages/ranking.vue | 22 +++++- src/static/bow-target.png | Bin 30545 -> 25169 bytes src/util.js | 2 +- 7 files changed, 161 insertions(+), 33 deletions(-) diff --git a/src/components/Container.vue b/src/components/Container.vue index 36840f2..d29a221 100644 --- a/src/components/Container.vue +++ b/src/components/Container.vue @@ -41,6 +41,10 @@ const props = defineProps({ type: Boolean, default: true, }, + titleStyle: { + type: [String, Object, Array], + default: () => ({}), + }, showBottom: { type: Boolean, default: true, @@ -155,6 +159,7 @@ const goCalibration = async () => { :title="title" :onBack="onBack" :whiteBackArrow="whiteBackArrow" + :titleStyle="titleStyle" /> ({}), + }, }); const onClick = () => { @@ -118,7 +122,9 @@ onBeforeUnmount(() => { mode="widthFix" /> - + { + + + 创建约战房 @@ -268,7 +271,7 @@ onLoad(async (options) => { } .create-room>view:nth-child(3) { - margin: 12vw auto; + margin: 12vw auto 5vw auto; position: relative; display: flex; align-items: center; @@ -304,6 +307,13 @@ onLoad(async (options) => { margin-right: 2px; } +.pp-text{ + color: #fff; + text-align: center; + font-size: 22rpx; + margin-bottom: 20rpx; +} + .warnning { width: 100%; height: 100%; diff --git a/src/pages/grade-intro.vue b/src/pages/grade-intro.vue index 11784d7..145cbf5 100644 --- a/src/pages/grade-intro.vue +++ b/src/pages/grade-intro.vue @@ -1,31 +1,66 @@