This commit is contained in:
2026-04-24 15:45:45 +08:00
parent e6b2e8e3f5
commit 6aca41d70e
2 changed files with 12 additions and 10 deletions

View File

@@ -47,10 +47,6 @@
</div> </div>
<!-- 右侧统计信息 --> <!-- 右侧统计信息 -->
<div class="detail_stats"> <div class="detail_stats">
<div class="stat_item">
<span class="stat_icon price_diamond">&#9830;</span>
<span>{{ obj.totalOrnamentsPrice }}</span>
</div>
<div class="stat_item"> <div class="stat_item">
<span class="stat_icon">&#128100;</span> <span class="stat_icon">&#128100;</span>
<span>{{ obj.currentPeopleNum }}</span> <span>{{ obj.currentPeopleNum }}</span>
@@ -106,7 +102,7 @@
<div v-if="awardResult.length > 0" class="award_grid"> <div v-if="awardResult.length > 0" class="award_grid">
<div <div
class="award_item" class="award_item"
v-for="(item, index) in awardResult" v-for="(item, index) in showAllAwards ? awardResult : awardResult.slice(0, 3)"
:key="index" :key="index"
> >
<div class="award_price"> <div class="award_price">
@@ -123,6 +119,10 @@
</div> </div>
</div> </div>
</div> </div>
<div class="view_all" @click="showAllAwards = !showAllAwards" v-if="awardResult.length > 3">
{{ showAllAwards ? '收起' : '查看全部' }}
<span class="view_arrow">{{ showAllAwards ? '▲' : '▼' }}</span>
</div>
<div class="no_player" v-else>暂无获奖记录</div> <div class="no_player" v-else>暂无获奖记录</div>
</div> </div>
@@ -209,6 +209,7 @@ export default {
obj: {}, obj: {},
playerList: [], playerList: [],
showAllPrizes: false, showAllPrizes: false,
showAllAwards: false,
countdown: { h: '00', m: '00', s: '00' }, countdown: { h: '00', m: '00', s: '00' },
countdownTimer: null, countdownTimer: null,
defaultAvatar: require("@/assets/images/default-header.png"), defaultAvatar: require("@/assets/images/default-header.png"),
@@ -730,9 +731,6 @@ export default {
display: grid; display: grid;
grid-template-columns: repeat(3, 1fr); grid-template-columns: repeat(3, 1fr);
gap: 10px; gap: 10px;
@media (min-width: 500px) {
grid-template-columns: repeat(4, 1fr);
}
.award_item { .award_item {
background: rgba(255,255,255,0.07); background: rgba(255,255,255,0.07);
border-radius: 10px; border-radius: 10px;

View File

@@ -518,12 +518,16 @@ export default {
flex: 1; flex: 1;
height: 32px; height: 32px;
border-radius: 16px; border-radius: 16px;
background: #333; background: transparent;
color: #888; color: #f0a030;
border: 2px solid #f0a030;
font-size: 12px; font-size: 12px;
font-weight: bold;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
cursor: pointer;
user-select: none;
} }
} }
.isnull { .isnull {