From dc42b59789a5aae4128f3998896f25093bf4d94f Mon Sep 17 00:00:00 2001
From: fengachen <373943794@qq.com>
Date: Tue, 26 Oct 2021 15:33:34 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=E6=8F=90=E7=A4=BA?=
=?UTF-8?q?=E8=AF=AD=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/signUpPage/signUpPage.js | 28 +++++++++++++++++-----------
pages/signUpPage/signUpPage.wxml | 10 +++++-----
2 files changed, 22 insertions(+), 16 deletions(-)
diff --git a/pages/signUpPage/signUpPage.js b/pages/signUpPage/signUpPage.js
index 9643fd8..72ba048 100644
--- a/pages/signUpPage/signUpPage.js
+++ b/pages/signUpPage/signUpPage.js
@@ -82,8 +82,11 @@ Page({
selectedMeeting: {},
// 是否正确填写信息
flag: false,
+ // 是否是首页消息进来的
+ indexMsgBool:false,
// 首页消息
- indexMsg: ''
+ indexMsg: '',
+
},
// 是否需要发票的选择
needInvoiceChange(e) {
@@ -159,7 +162,7 @@ Page({
// 是否需要发票
if (formData.needInvoice === -1) {
wx.showToast({
- title: '请选择发票',
+ title: '请选择是否需要发票',
icon: 'none',
duration: 2000
})
@@ -193,14 +196,14 @@ Page({
return
}
// 是否住酒店
- if (formData.checkInHotel === '') {
- wx.showToast({
- title: '请选择是否住酒店',
- icon: 'none',
- duration: 2000
- })
- return
- }
+ // if (formData.checkInHotel === '') {
+ // wx.showToast({
+ // title: '请选择是否住酒店',
+ // icon: 'none',
+ // duration: 2000
+ // })
+ // return
+ // }
signUpApi.signUpMeeting(formData).then(res => {
if (res.success) {
@@ -220,7 +223,7 @@ Page({
}else{
wx.showToast({
title: res.message,
- icon: 'error',
+ icon: 'none',
duration: 2000
})
}
@@ -278,6 +281,9 @@ Page({
const that = this
// 是否是从首页消息进来的报名
if (options.type === 'indexMsg') {
+ this.setData({
+ indexMsgBool:true
+ })
// 查询会议信息
this.queryMeetingInfo(options.meetingId)
// 默认填写个人信息
diff --git a/pages/signUpPage/signUpPage.wxml b/pages/signUpPage/signUpPage.wxml
index 216d3ef..32fbd65 100644
--- a/pages/signUpPage/signUpPage.wxml
+++ b/pages/signUpPage/signUpPage.wxml
@@ -5,7 +5,7 @@
参会单位:
-
+
@@ -30,7 +30,7 @@
-
+
缴费方式:
@@ -44,8 +44,8 @@
-
-
+
+
是否需要发票:
@@ -71,7 +71,7 @@
- 是否住酒店:
+ 是否住酒店: