样式优化
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user