Compare commits
4 Commits
38cc93cba4
...
dev-zcx
| Author | SHA1 | Date | |
|---|---|---|---|
| 29520d0daa | |||
| f5c0df688c | |||
| ccef999bbe | |||
| 589eec1d80 |
@@ -48,7 +48,9 @@
|
||||
actiNum: 0,
|
||||
total: 0,
|
||||
winningList: [],
|
||||
activityRule: undefined
|
||||
activityRule: undefined,
|
||||
startTime: undefined,
|
||||
endTime: undefined
|
||||
}
|
||||
},
|
||||
onLoad(op) {
|
||||
@@ -115,6 +117,9 @@
|
||||
})
|
||||
},
|
||||
handleComplete() {
|
||||
if(){
|
||||
|
||||
}
|
||||
saveWinner({
|
||||
phone: useUserStore().userInfo?.phone || '',
|
||||
detailId: this.detailId,
|
||||
@@ -123,11 +128,14 @@
|
||||
this.btnText = '再刮一次!'
|
||||
if(resp.code == 200) {
|
||||
this.getActivityNum()
|
||||
if(this.result != '谢谢惠顾'){
|
||||
let help = ",完成助力即可领取奖品!"
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: `恭喜获得${this.result}` + help
|
||||
})
|
||||
}
|
||||
|
||||
this.showBtn = true
|
||||
}
|
||||
})
|
||||
|
||||
@@ -92,7 +92,12 @@
|
||||
path: '/pages/me/help?id=' + this.winnerId + '&type=2'
|
||||
}
|
||||
},
|
||||
|
||||
onPullDownRefresh() {
|
||||
if(this.type == 1){
|
||||
this.getWinnerInfo()
|
||||
this.getHelpInfo()
|
||||
}
|
||||
}
|
||||
methods: {
|
||||
//查询中奖信息
|
||||
getWinnerInfo() {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<view v-if="item.status == 0" class="btn" @tap="handleHelp(item)">助力</view>
|
||||
<view v-else-if="item.status == 1" class="btn" @tap="handleWriteoff(item)">核销</view>
|
||||
<img v-else-if="item.status == 2" src="/static/image/mine/writeoff.png" style="width: 120rpx;height: 120rpx;" />
|
||||
<view v-else class="btn" @tap="handleWriteoff(item)">核销</view>
|
||||
<img v-else src="/static/image/mine/outtime.png" style="width: 120rpx;height: 120rpx;" />
|
||||
</view>
|
||||
</view>
|
||||
</u-list-item>
|
||||
|
||||
BIN
src/static/image/mine/outtime.png
Normal file
BIN
src/static/image/mine/outtime.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Reference in New Issue
Block a user