优化轮到你了声音播放
This commit is contained in:
@@ -61,7 +61,11 @@ onBeforeUnmount(() => {
|
||||
<template>
|
||||
<view class="container">
|
||||
<image :src="RoundGoldImages[props.currentRound]" mode="widthFix" />
|
||||
<view>
|
||||
<view
|
||||
:style="{
|
||||
justifyContent: tips.includes('红队') ? 'flex-end' : 'flex-start',
|
||||
}"
|
||||
>
|
||||
<view
|
||||
:style="{
|
||||
width: `${(remain / total) * 100}%`,
|
||||
@@ -85,7 +89,7 @@ onBeforeUnmount(() => {
|
||||
.container > image {
|
||||
width: 360rpx;
|
||||
height: 80rpx;
|
||||
transform: translateY(24rpx);
|
||||
transform: translateY(20rpx);
|
||||
}
|
||||
.container > view:last-child {
|
||||
width: 100%;
|
||||
@@ -95,6 +99,8 @@ onBeforeUnmount(() => {
|
||||
height: 24rpx;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.container > view:last-child > view {
|
||||
height: 24rpx;
|
||||
|
||||
Reference in New Issue
Block a user