修复签到展示bug,修改图片比例为16:9
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user