|
@@ -25,7 +25,7 @@
|
|
<div
|
|
<div
|
|
class=" bg-yellow-400 rounded-full text-white flex justify-center items-center mt-4 cursor-pointer"
|
|
class=" bg-yellow-400 rounded-full text-white flex justify-center items-center mt-4 cursor-pointer"
|
|
:class="index + 1 > todayNum && 'future'"
|
|
:class="index + 1 > todayNum && 'future'"
|
|
- style="width: 4vw; height: 1.6vw;"
|
|
|
|
|
|
+ style="width: 4vw; height: 1.6vw; font-size: 0.8vw;"
|
|
@click="signIn(item, index)"
|
|
@click="signIn(item, index)"
|
|
v-if="index >= lastSignDay"
|
|
v-if="index >= lastSignDay"
|
|
>
|
|
>
|
|
@@ -33,7 +33,7 @@
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
class=" bg-green-400 rounded-full text-white flex justify-center items-center mt-4"
|
|
class=" bg-green-400 rounded-full text-white flex justify-center items-center mt-4"
|
|
- style="width: 4vw; height: 1.6vw;"
|
|
|
|
|
|
+ style="width: 4vw; height: 1.6vw; font-size: 0.8vw;"
|
|
v-if="index < lastSignDay"
|
|
v-if="index < lastSignDay"
|
|
>
|
|
>
|
|
已经签到
|
|
已经签到
|
|
@@ -95,6 +95,9 @@ export default {
|
|
this.todayNum = parseInt(res.data.remark) + 1
|
|
this.todayNum = parseInt(res.data.remark) + 1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ } else {
|
|
|
|
+ this.todayNum = 1
|
|
|
|
+ this.lastSignDay = 0
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|