提交
This commit is contained in:
@@ -47,10 +47,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 右侧:统计信息 -->
|
<!-- 右侧:统计信息 -->
|
||||||
<div class="detail_stats">
|
<div class="detail_stats">
|
||||||
<div class="stat_item">
|
|
||||||
<span class="stat_icon price_diamond">♦</span>
|
|
||||||
<span>{{ obj.totalOrnamentsPrice }}</span>
|
|
||||||
</div>
|
|
||||||
<div class="stat_item">
|
<div class="stat_item">
|
||||||
<span class="stat_icon">👤</span>
|
<span class="stat_icon">👤</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;
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user