This commit is contained in:
@zuopngfei 2025-08-05 11:26:06 +08:00
parent 859b9851a9
commit 8410bc1040

View File

@ -38,6 +38,9 @@ Page({
const list = res.list.map(item => {
const startDate = new Date(item.start_date)
const endDate = new Date(item.end_date)
if (startDate == endDate && today == startDate){
item.status = '进行中'
}
if (today > endDate) {
item.status = '已结束'
} else if (today < startDate) {