细节调整
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -41,7 +41,7 @@ const props = defineProps({
|
||||
height: 105rpx;
|
||||
padding-top: 10px;
|
||||
padding-left: 20rpx;
|
||||
top: 25%;
|
||||
top: 0;
|
||||
left: 15%;
|
||||
}
|
||||
.long {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user