修复签到展示bug,修改图片比例为16:9

This commit is contained in:
田岩
2025-11-24 15:36:50 +08:00
parent 1aee63f2d6
commit e32c6289ae
20 changed files with 171 additions and 523 deletions
+2 -2
View File
@@ -178,7 +178,7 @@
// 计算text字段
let text = '1'; // 默认显示1
if (dayNumber === 30) {
text = '30'; // 第30天显示30
text = '20'; // 第30天显示30
} else if ((dayNumber % 30) % 7 === 0) {
text = '5'; // 每7天(第7、14、21、28、35天)显示5
}
@@ -207,8 +207,8 @@
}
const open = (isSignedStatus, days, onCheckInClick = () => {}, onCheckInSuccess = () => {}) => {
console.log('isSignedStatus', isSignedStatus);
isSigned.value = isSignedStatus; // 今日签到状态
// isSigned.value = false; // 今日签到状态
continuousDay.value = days; // 连续签到
checkInClickCallback = onCheckInClick;
checkInSuccessCallback = onCheckInSuccess;