UI细节调整

This commit is contained in:
kron
2025-06-28 12:03:33 +08:00
parent 9f29a92d3d
commit 72f3013795
12 changed files with 62 additions and 45 deletions

View File

@@ -190,7 +190,11 @@ const onClose = () => {
:total="100"
:start="start"
/>
<view class="infos" v-if="step === 2 || step === 4">
<view
class="infos"
v-if="step === 2 || step === 4"
:style="{ marginBottom: step === 2 ? '40px' : '0' }"
>
<text v-if="step === 2">大人请射箭</text>
<Avatar v-if="step === 4" :src="user.avatar" :size="35" />
<BowPower :power="power" />
@@ -198,7 +202,6 @@ const onClose = () => {
<BowTarget
:start="start"
:avatar="step === 2 ? user.avatar : ''"
:power="start ? 0 : power"
:debug="step === 2"
v-if="step === 2 || step === 4"
:currentRound="step === 4 ? scores.length : 0"
@@ -248,11 +251,10 @@ const onClose = () => {
align-items: center;
justify-content: space-between;
padding: 0 15px;
padding-top: 15px;
padding-top: 20px;
}
.infos > text {
font-size: 20px;
color: #fed847;
margin-bottom: 50px;
}
</style>