细节调整

This commit is contained in:
kron
2025-07-23 16:01:16 +08:00
parent cfb1b8cd7f
commit 46ec2ade9a
7 changed files with 75 additions and 47 deletions

View File

@@ -25,7 +25,10 @@ defineProps({
<view class="players">
<view>
<view v-for="(result, index) in roundResults" :key="index">
<text>Round {{ index + 1 }}</text>
<text
>{{ index > 4 ? "决金箭" : "Round" }}
{{ index > 4 ? `R${index - 4}` : index + 1 }}</text
>
<view>
<text>{{
result.blueArrows.length
@@ -40,7 +43,10 @@ defineProps({
</view>
<view>
<view v-for="(result, index) in roundResults" :key="index">
<text>Round {{ index + 1 }}</text>
<text
>{{ index > 4 ? "决金箭" : "Round" }}
{{ index > 4 ? `R${index - 4}` : index + 1 }}</text
>
<view>
<text>{{
result.redArrows.length

View File

@@ -41,7 +41,7 @@ const props = defineProps({
height: 105rpx;
padding-top: 10px;
padding-left: 20rpx;
top: 25%;
top: 0;
left: 15%;
}
.long {

View File

@@ -239,11 +239,8 @@ onUnmounted(() => {
transform: translateX(10px) translateY(-10px);
}
.container > view:last-child {
display: flex;
justify-content: center;
align-items: center;
z-index: -1;
width: clac(100% - 30px);
width: calc(100% - 30px);
margin: 0 15px;
text-align: center;
background-color: #ffffff80;

View File

@@ -23,6 +23,9 @@ onMounted(() => {
if (props.lvl > user.value.lvl) {
updateUser({ ...user.value, lvl: props.lvl });
}
setTimeout(() => {
props.onClose();
}, 1500);
});
</script>
@@ -51,7 +54,7 @@ onMounted(() => {
<text>射灵{{ lvl }}</text>
<text>!</text>
</view>
<button @click="onClose" hover-class="none">关闭</button>
<!-- <button @click="onClose" hover-class="none">关闭</button> -->
</view>
</template>