diff --git a/images/icon/47f8f3454b398d2a7b67b10d78321687.png b/images/icon/47f8f3454b398d2a7b67b10d78321687.png new file mode 100644 index 0000000..3b6338f Binary files /dev/null and b/images/icon/47f8f3454b398d2a7b67b10d78321687.png differ diff --git a/pages/index/index.js b/pages/index/index.js index 03d9df6..44b396e 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -52,7 +52,7 @@ Page({ { name: "居住评价", url: "/subpages/mine/checkInEvaluate/checkInEvaluate", - image:'../../images/icon/nav_3.png' + image:'../../images/icon/47f8f3454b398d2a7b67b10d78321687.png' }, // { // name: "更多", diff --git a/subpages/index/checkInUser/checkInUser.js b/subpages/index/checkInUser/checkInUser.js index a9ef168..6bc42a1 100644 --- a/subpages/index/checkInUser/checkInUser.js +++ b/subpages/index/checkInUser/checkInUser.js @@ -102,6 +102,20 @@ Page({ }) }, submit() { + if(this.data.form.idCard.length != 18){ + wx.showToast({ + title: '请确认身份证号', + icon:'none' + }) + return false + } + if(this.data.form.telephone != 11){ + wx.showToast({ + title: '请确认手机号', + icon:'none' + }) + return false + } this.bindIdCard() if (this.data.type === 'out') { setTimeout(()=>{