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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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