处理获奖展示

This commit is contained in:
liaozetao
2024-02-27 17:56:22 +08:00
committed by Dragon
parent 624afcc90a
commit a9fedeccf2

View File

@@ -44,12 +44,17 @@
<template v-slot="scope">
<div>轮次id: {{ scope.row.roundId }}</div>
<div>轮次礼物: {{ scope.row.giftName }}</div>
<div>礼物价值: {{ scope.row.giftPrice }}</div>
<div>需要魔法棒: {{ scope.row.targetNum }}</div>
<div>{{ scope.row.roundStatus == 0 ? "轮次进行中" : "轮次已结束" }}</div>
</template>
</el-table-column>
<el-table-column prop="stickNum" align="center" label="参与魔法棒数量" />
<el-table-column prop="isWin" align="center" label="该用户本轮是否中奖" />
<template v-slot="scope">
<el-table-column align="center" label="该用户本轮是否中奖">
{{ scope.row.winnerUid ? (scope.row.isWin ? '是' : '否') : '-' }}
</el-table-column>
</template>
</el-table>
<!-- 分页 -->