|
@@ -70,7 +70,7 @@
|
|
|
</template>
|
|
|
</el-step>
|
|
|
</el-steps>
|
|
|
- <div v-if="contestScores.length && contest.score.scoreStatus" class="score-box">
|
|
|
+ <!-- <div v-if="contestScores.length && contest.score.scoreStatus" class="score-box">
|
|
|
<div v-for="(item, index) in contestScores" :key="index">
|
|
|
<div class="score-lable" v-show="contest.score.showType">
|
|
|
<p>{{ item.lable }}</p>
|
|
@@ -85,6 +85,30 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ </div> -->
|
|
|
+ <div v-if="contestScores.length && contest.score.scoreStatus" style="margin-top: 20px;">
|
|
|
+ <el-table :data="contestScores" style="width: 100%">
|
|
|
+ <el-table-column prop="lable" label="奖项名称" align="center" width="200">
|
|
|
+ <template #default="scope">
|
|
|
+ <p>{{ scope.row.lable }}</p>
|
|
|
+ <p>
|
|
|
+ <el-icon color="#ffd111" size="18" v-for="scores in scope.row.scores" :key="scores.tmdid"><Trophy /></el-icon>
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="获奖人员" align="center">
|
|
|
+ <template #default="scope">
|
|
|
+ <div class="score-table">
|
|
|
+ <div v-for="scores in scope.row.scores" :key="scores.tmdid">
|
|
|
+ <el-avatar :size="35" :src="scores.picture" />
|
|
|
+ <p style="font-size: 14px; margin-top: 5px;">
|
|
|
+ {{ scores.type ? scores.teamName : scores.name }}({{ scores.score }}分)
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|