样式优化

This commit is contained in:
kron
2025-11-10 17:47:32 +08:00
parent cd8814189f
commit 81ab085e48
5 changed files with 15 additions and 13 deletions

View File

@@ -65,7 +65,7 @@ watch(
class="flag"
:style="{
[isRed ? 'left' : 'right']: '10rpx',
top: currentTeam ? '-44rpx' : '-30rpx',
top: currentTeam ? '-36rpx' : '-24rpx',
}"
/>
<view
@@ -76,7 +76,7 @@ watch(
width: (isFirst(item.id) ? 80 : 60) + 'rpx',
height: (isFirst(item.id) ? 80 : 60) + 'rpx',
zIndex: team.length - ((players[item.id] || {}).sort || 0),
border: isFirst(item.id) ? '3rpx solid' : '2rpx solid',
border: isFirst(item.id) ? '3.5rpx solid' : '2rpx solid',
borderColor: isRed ? '#ff6060' : '#5fadff',
top: isFirst(item.id) ? '0rpx' : '12rpx',
[isRed ? 'left' : 'right']: getPos(item.id) + 'rpx',
@@ -130,9 +130,9 @@ watch(
}
.player > text {
position: absolute;
font-size: 16rpx;
font-size: 15rpx;
text-align: center;
width: 80rpx;
width: 76rpx;
left: 0;
bottom: 0;
color: #fff;