diff --git a/src/views/page/xhxcelshDraw.vue b/src/views/page/xhxcelshDraw.vue
index 4e18c5f..e4a0765 100644
--- a/src/views/page/xhxcelshDraw.vue
+++ b/src/views/page/xhxcelshDraw.vue
@@ -77,8 +77,8 @@
-
![]()
-
{{ i.nickname ? JSON.parse(i.nickname) : '' }}
+
![]()
+
{{ (i.user && i.user.nickname) ? JSON.parse(i.user.nickname) : '' }}
@@ -132,11 +132,11 @@ export default {
page: 1,
page_size: 9999,
activity_list_id: 16,
+ draw_prize_id: [this.$route.params.id]
},
false
);
- const resUsers = res.data.filter((i) => i.draw_prize_id == this.$route.params.id)
- this.resultUsers = this.originalUsers.filter(i => resUsers.find(j => j.mobile == i.id))
+ this.resultUsers = res.data
this.showEnd = true
},
async getProduct() {
@@ -226,7 +226,8 @@ export default {
const result = (await draw({
id: this.$route.params.id,
})).draw_numbers;
- this.resultUsers = this.originalUsers.filter(item => result.indexOf(item.id) !== -1)
+ await this.getResult();
+ //this.resultUsers = this.originalUsers.filter(item => result.indexOf(item.id) !== -1)
clearInterval(this.timer)
endAudio.play()
this.start = false
@@ -516,6 +517,8 @@ export default {
grid-row-gap: 77px;
margin-top: 102px;
padding: 0 215px;
+ overflow: scroll;
+ height: 840px;
&-item {