commit
This commit is contained in:
@@ -140,6 +140,14 @@ layout("/mobile/platform.html"){
|
|||||||
this.pageData()
|
this.pageData()
|
||||||
},
|
},
|
||||||
async toCommentator(o){
|
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) {
|
if (o.reviewMode == 1 && !o.canJoin) {
|
||||||
vant.Dialog.alert({
|
vant.Dialog.alert({
|
||||||
@@ -158,7 +166,7 @@ layout("/mobile/platform.html"){
|
|||||||
confirmButtonColor: '#1867b0'
|
confirmButtonColor: '#1867b0'
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}``
|
||||||
|
|
||||||
const resp = await $.get('/mobile/wakeshome/review/appraisal/isAssess',{id:o.id})
|
const resp = await $.get('/mobile/wakeshome/review/appraisal/isAssess',{id:o.id})
|
||||||
if (resp.data > 0){
|
if (resp.data > 0){
|
||||||
|
|||||||
Reference in New Issue
Block a user