Commit d845c043 authored by guoyou's avatar guoyou

中奖列表

parent 2d9e1013
<template>
<div class="app-container calendar-list-container">
<div class="online">
<!-- <div class="online">
<h4>参与活动奖励抽奖</h4>
<table border="1">
<tr>
......@@ -19,7 +19,7 @@
<td>宫格9</td>
</tr>
</table>
</div>
</div> -->
<div class="local">
<h4>发布会现场奖品抽奖</h4>
<table border="1">
......@@ -358,18 +358,21 @@ export default {
} else {
if (data.data.localePrize != ''){
data.data.localePrize.forEach(element => {
if (!element.goodsId) {
element.goodsId = ''
}
if (!element.totalStock) {
element.totalStock = ''
}
if (!element.dayMaxUse) {
element.dayMaxUse = ''
}
// if (!element.goodsId) {
// element.goodsId = ''
// }
// if (!element.totalStock) {
// element.totalStock = ''
// }
// if (!element.dayMaxUse) {
// element.dayMaxUse = ''
// }
});
}
console.log(this.table);
this.table = data.data.localePrize
console.log(this.table);
}
})
},
......@@ -491,13 +494,13 @@ li p:nth-child(7) {
.online,
.local {
width: 49%;
display: inline-block;
margin: 0 auto;
}
.online {
float: left;
}
.local {
float: right;
/* float: right; */
}
h4 {
text-align: center;
......
......@@ -117,7 +117,7 @@ export default {
phone: null,
activityId: 2,
prizeType: null,
hasWinning: 2
hasWinning: 1
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment