This commit is contained in:
Paidax
2024-08-29 09:59:46 +08:00
parent 9506d4e3d1
commit 118f5d7d63
@@ -140,6 +140,14 @@ layout("/mobile/platform.html"){
this.pageData()
},
async toCommentator(o){
const start = new Date(o.startTime);
const end = new Date(o.endTime);
const now = new Date();
// 检查当前时间是否在 startTime 和 endTime 之间
return now >= start && now <= end;
//自评模式
if (o.reviewMode == 1 && !o.canJoin) {
vant.Dialog.alert({
@@ -158,7 +166,7 @@ layout("/mobile/platform.html"){
confirmButtonColor: '#1867b0'
})
return
}
}``
const resp = await $.get('/mobile/wakeshome/review/appraisal/isAssess',{id:o.id})
if (resp.data > 0){