UI细节调整

This commit is contained in:
kron
2025-06-18 21:30:54 +08:00
parent 38301f2f68
commit 554f891e31
9 changed files with 14 additions and 12 deletions

View File

@@ -92,7 +92,7 @@ const bgColors = ["#364469", "#692735", "#934B4B", "#A98B69", "#8268A2 "];
align-items: center;
justify-content: center;
color: #fff9;
font-size: 14px;
font-size: 12px;
margin-top: 15px;
overflow: hidden;
position: relative;
@@ -124,7 +124,7 @@ const bgColors = ["#364469", "#692735", "#934B4B", "#A98B69", "#8268A2 "];
align-items: center;
justify-content: center;
color: #fff9;
font-size: 14px;
font-size: 12px;
padding-top: 5px;
}
.player-name {

View File

@@ -67,10 +67,8 @@ setTimeout(() => {
>
<view>
<text
>成绩{{
result.arrows
.map((a) => a.ring)
.reduce((last, next) => last + next, 0)
>成绩{{
result.arrows.reduce((last, next) => last + next.ring, 0)
}}</text
>
<button @click="() => (showBowData = true)">
@@ -154,6 +152,9 @@ setTimeout(() => {
justify-content: space-between;
align-items: center;
}
.container-content > view:first-child > text:first-child {
color: #000;
}
.container-content > view:first-child > button {
display: flex;
align-items: center;

View File

@@ -99,6 +99,7 @@ watch(
}
.container > view:first-child > image:first-child {
width: 80px;
transform: translateX(10px);
}
.container > view:first-child > button:last-child > image {
width: 50px;

View File

@@ -217,7 +217,7 @@ const onClose = () => {
:result="practiseResult"
/>
</view>
<view :style="{ marginBottom: '10px' }">
<view :style="{ marginBottom: '20px' }">
<SButton v-if="step !== 4" :onClick="nextStep" :disabled="btnDisabled">{{
stepButtonTexts[step]
}}</SButton>

View File

@@ -149,7 +149,7 @@ onUnmounted(() => {
/>
<Timer :seq="timerSeq" :callBack="readyToGo" />
</view>
<view :style="{ marginBottom: '10px' }">
<view :style="{ marginBottom: '20px' }">
<SButton v-if="!battleId" :onClick="matching ? stopMatch : startMatch">{{
matching ? "取消匹配" : "开始匹配"
}}</SButton>

View File

@@ -245,7 +245,7 @@ const onPractiseLoading = async (page) => {
}
.player > text {
margin-top: 5px;
font-size: 14px;
font-size: 12px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;

View File

@@ -105,7 +105,7 @@ onUnmounted(() => {
:result="practiseResult"
/>
</view>
<view :style="{ marginBottom: '10px' }">
<view :style="{ marginBottom: '20px' }">
<SButton v-if="!start" :onClick="onReady">准备好了直接开始</SButton>
</view>
</Container>

View File

@@ -105,7 +105,7 @@ onUnmounted(() => {
:result="practiseResult"
/>
</view>
<view :style="{ marginBottom: '10px' }">
<view :style="{ marginBottom: '20px' }">
<SButton v-if="!start" :onClick="onReady">准备好了直接开始</SButton>
</view>
</Container>

View File

@@ -185,7 +185,7 @@ onUnmounted(() => {
/>
<Timer :seq="timerSeq" :callBack="readyToGo" />
</view>
<view :style="{ marginBottom: '10px' }">
<view :style="{ marginBottom: '20px' }">
<SButton v-if="!battleId" :onClick="matching ? stopMatch : startMatch">{{
matching ? "取消匹配" : "开始匹配"
}}</SButton>