BUG修复
This commit is contained in:
@@ -49,7 +49,7 @@ onLoad(async (options) => {
|
||||
:style="{
|
||||
width: `${Math.max(100 / data.players.length, 18)}vw`,
|
||||
}"
|
||||
mode="aspectFill"
|
||||
mode="widthFix"
|
||||
class="player-bg"
|
||||
/>
|
||||
<Avatar
|
||||
@@ -93,11 +93,8 @@ onLoad(async (options) => {
|
||||
}
|
||||
.players {
|
||||
display: flex;
|
||||
height: 85px;
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
background-color: #fff3;
|
||||
}
|
||||
.players::-webkit-scrollbar {
|
||||
width: 0;
|
||||
@@ -105,21 +102,25 @@ onLoad(async (options) => {
|
||||
color: transparent;
|
||||
}
|
||||
.players > view {
|
||||
background-color: #fff3;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 12px;
|
||||
padding-top: 5px;
|
||||
flex: 0 0 auto;
|
||||
position: relative;
|
||||
height: 68px;
|
||||
margin-bottom: 10px;
|
||||
padding-top: 7px;
|
||||
}
|
||||
.player-bg {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.players > view > text {
|
||||
margin-top: 5px;
|
||||
margin: 5px 0;
|
||||
width: 80%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user