大乱斗详情UI调整
This commit is contained in:
@@ -74,7 +74,7 @@ const comingSoon = () => {
|
||||
icon: "none",
|
||||
});
|
||||
};
|
||||
const topThreeColors = ["#FFD947 ", "#D2D2D2", "#FFA515"];
|
||||
const topThreeColors = ["#FFD947", "#D2D2D2", "#FFA515"];
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -301,8 +301,8 @@ const topThreeColors = ["#FFD947 ", "#D2D2D2", "#FFA515"];
|
||||
|
||||
.player-avatar,
|
||||
.more-players {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 50%;
|
||||
margin-right: -10px;
|
||||
border: 1px solid #000;
|
||||
@@ -335,13 +335,13 @@ const topThreeColors = ["#FFD947 ", "#D2D2D2", "#FFA515"];
|
||||
.more-players {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
font-size: 9px;
|
||||
line-height: 40px;
|
||||
line-height: 80rpx;
|
||||
text-align: center;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.more-players > text {
|
||||
margin-left: 4px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.region-stats {
|
||||
@@ -363,7 +363,7 @@ const topThreeColors = ["#FFD947 ", "#D2D2D2", "#FFA515"];
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #b3b3b3;
|
||||
color: #c5c5c5;
|
||||
font-size: 12px;
|
||||
}
|
||||
.region-item > text {
|
||||
|
||||
@@ -6,7 +6,7 @@ import BattleHeader from "@/components/BattleHeader.vue";
|
||||
import Avatar from "@/components/Avatar.vue";
|
||||
// import TeamResult from "@/components/TeamResult.vue";
|
||||
// import MeleeResult from "@/components/MeleeResult.vue";
|
||||
import PlayerScore from "@/components/PlayerScore.vue";
|
||||
import PlayerScore2 from "@/components/PlayerScore2.vue";
|
||||
import { getGameAPI } from "@/apis";
|
||||
|
||||
const blueTeam = ref([]);
|
||||
@@ -75,7 +75,6 @@ const checkBowData = () => {
|
||||
:blueTeam="blueTeam"
|
||||
:redTeam="redTeam"
|
||||
:players="data.players"
|
||||
:showRank="true"
|
||||
/>
|
||||
<!-- <view class="score-header">
|
||||
<text>决金箭轮(环数)</text>
|
||||
@@ -112,14 +111,16 @@ const checkBowData = () => {
|
||||
<image src="../static/back.png" mode="widthFix" />
|
||||
</view>
|
||||
</view>
|
||||
<PlayerScore
|
||||
<PlayerScore2
|
||||
v-if="data.players && data.players.length"
|
||||
v-for="(player, index) in data.players"
|
||||
:key="index"
|
||||
:name="player.name"
|
||||
:avatar="player.avatar"
|
||||
:scores="player.arrowHistory"
|
||||
:done="false"
|
||||
:totalScore="player.totalScore"
|
||||
:totalRing="player.totalRings"
|
||||
:rank="index + 1"
|
||||
/>
|
||||
<view
|
||||
v-for="(round, index) in roundsData"
|
||||
|
||||
Reference in New Issue
Block a user