From 8f0cbff3f13b6591b67bd9d64b96d1325d8c6421 Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Mon, 8 Nov 2021 09:27:24 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=E5=8E=BB=E6=8A=A5?= =?UTF-8?q?=E5=90=8D=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/signUpEntrance/signUpEntrance.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pages/signUpEntrance/signUpEntrance.js b/pages/signUpEntrance/signUpEntrance.js index 90e8f2a..9ce8135 100644 --- a/pages/signUpEntrance/signUpEntrance.js +++ b/pages/signUpEntrance/signUpEntrance.js @@ -84,6 +84,16 @@ Page({ }, // 报名 signUp() { + // 超出报名时间 提示 + let flag = this.compareCurrentTime(this.data.meetingDetailIngfo.registerDeadline) + if(flag){ + wx.showToast({ + title: '当前会议超出报名时间,不可报名', + icon:'none', + duration:2000 + }) + return + } const that = this // 企业列表与参会人列表调用的是无权限接口 wx.setStorage({ @@ -132,7 +142,6 @@ Page({ }, // 预览文件 preview(e) { - console.log(e); const fileObj = e.currentTarget.dataset.file; previewFile(fileObj.id, fileObj.name) }, @@ -145,10 +154,7 @@ Page({ data: false }) let url = decodeURIComponent(options.q) - console.log(options,'options'); - console.log(url,'url'); let meetingId = url.split('=')[1] - console.log(meetingId,'meetingId'); this.queryMeetingDetail(meetingId) },