UI细节调整
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user