feat: 流水
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<view class="modal-content-result">
|
||||
<view v-for="item in prize" class="modal-content-result-item">
|
||||
<view class="par-value">
|
||||
<text v-if="item.type === 'redpacket'" class="moeny">¥ </text>{{ item.parValue }}
|
||||
<text v-if="item.type === 'balance'" class="moeny">¥ </text>{{ item.parValue }}
|
||||
</view>
|
||||
<view class="prize-name">{{ item.prizeName }}</view>
|
||||
</view>
|
||||
|
||||
@@ -98,7 +98,7 @@ export default {
|
||||
times: num,
|
||||
}
|
||||
const { data } = await raffleExecute(params);
|
||||
this.targetIndex = this.prizesObj.prizes.findIndex(ele => ele.id === data.idList[0].id);
|
||||
this.targetIndex = this.prizesObj.prizes.findIndex(ele => ele.id === data.idList[0]);
|
||||
|
||||
this.currentPrize = data.prizeList;
|
||||
console.log("0------", this.currentPrize)
|
||||
|
||||
Reference in New Issue
Block a user