|
@@ -90,11 +90,11 @@ Page({ |
|
|
var username = null; |
|
|
var username = null; |
|
|
} |
|
|
} |
|
|
if (that.data.flag == 2 && that.data.date) { |
|
|
if (that.data.flag == 2 && that.data.date) { |
|
|
var birthdate = new Date(that.data.date).getTime(); |
|
|
|
|
|
|
|
|
var birthday = new Date(that.data.date).getTime(); |
|
|
} else { |
|
|
} else { |
|
|
var birthdate = null; |
|
|
|
|
|
|
|
|
var birthday = null; |
|
|
} |
|
|
} |
|
|
if (username == null || address == null || sex == 0 || birthdate == null) { |
|
|
|
|
|
|
|
|
if (username == null || address == null || sex == 0 || birthday == null) { |
|
|
wx.showToast({ |
|
|
wx.showToast({ |
|
|
title: '请输入完整的用户信息', |
|
|
title: '请输入完整的用户信息', |
|
|
icon:"none" |
|
|
icon:"none" |
|
@@ -106,7 +106,7 @@ Page({ |
|
|
sex: sex, |
|
|
sex: sex, |
|
|
address: address, |
|
|
address: address, |
|
|
name: username, |
|
|
name: username, |
|
|
birthdate: birthdate, |
|
|
|
|
|
|
|
|
birthday: birthday, |
|
|
activityId: that.data.activityId |
|
|
activityId: that.data.activityId |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|