|
@@ -20,6 +20,9 @@
|
|
'padding-bottom': '160rpx',
|
|
'padding-bottom': '160rpx',
|
|
}"
|
|
}"
|
|
>
|
|
>
|
|
|
|
+ <div class="flex items-center pl-2">
|
|
|
|
+ <img @click="goBack" src="https://file.rongcyl.cn/festatic/bkm/back.png" style="height: 32px; width: 32px" />
|
|
|
|
+ </div>
|
|
<div class="card rounded-md shadow-sm mx-auto mt-10 py-2">
|
|
<div class="card rounded-md shadow-sm mx-auto mt-10 py-2">
|
|
<div class="fs16 bold italic text-gray-900 pl-3 my-2">签到赚积分</div>
|
|
<div class="fs16 bold italic text-gray-900 pl-3 my-2">签到赚积分</div>
|
|
<div class="flex justify-between text-black px-3">
|
|
<div class="flex justify-between text-black px-3">
|
|
@@ -107,6 +110,11 @@ export default {
|
|
this.getTaskStat()
|
|
this.getTaskStat()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ goBack() {
|
|
|
|
+ wx.navigateBack({
|
|
|
|
+ delta: 1,
|
|
|
|
+ })
|
|
|
|
+ },
|
|
reveiveTaskReward() {
|
|
reveiveTaskReward() {
|
|
if (this.status == 2) {
|
|
if (this.status == 2) {
|
|
return
|
|
return
|
|
@@ -158,7 +166,8 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
sign(i) {
|
|
sign(i) {
|
|
- if (i == this.todayIndex) {
|
|
|
|
|
|
+ console.log(this.signList[i].status)
|
|
|
|
+ if (i == this.todayIndex && !this.signList[i].status) {
|
|
signToday().then(this.getList)
|
|
signToday().then(this.getList)
|
|
wx.showToast({
|
|
wx.showToast({
|
|
title: '签到成功',
|
|
title: '签到成功',
|