Task:抽奖
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
<button v-else class="my-tickets-btn" @click="navToMyTickets">
|
||||
<text class="btn-text">我的抽奖码</text>
|
||||
</button>
|
||||
<view class="claim-tip">*请在7天内领取,过期失效</view>
|
||||
<view class="claim-tip">*请在{{ remainingClaimDays }}天内领取,过期失效</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -180,7 +180,8 @@ export default {
|
||||
showCouponSuccessPopup: false,
|
||||
showHistory: false,
|
||||
entryWithoutActivityId: false,
|
||||
historyList: []
|
||||
historyList: [],
|
||||
remainingClaimDays: 7
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
@@ -364,6 +365,7 @@ export default {
|
||||
this.userWinList = this.mapUserWinList(filteredMyTicketList)
|
||||
this.hasWon = this.userWinList.length > 0 ? 1 : 0
|
||||
this.periodLabel = winnerData.periodNo || "01"
|
||||
this.remainingClaimDays = winnerData.remainingClaimDays || 7
|
||||
} catch (e) {
|
||||
uni.showToast({
|
||||
title: "中奖数据加载失败",
|
||||
|
||||
Reference in New Issue
Block a user