From 105cdbf3256d2a65cabe97e43de5f66c0a4f2928 Mon Sep 17 00:00:00 2001 From: Ge Hao Date: Mon, 26 Dec 2016 17:23:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=B7=BB=E5=8A=A0=20toast=20?= =?UTF-8?q?=EF=BC=8C=E5=9B=A0=E4=B8=BA=E6=9C=89=E6=97=B6=E6=AF=94=E8=BE=83?= =?UTF-8?q?=E6=85=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mine/mine.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pages/mine/mine.js b/pages/mine/mine.js index 6bb5581..827e87c 100644 --- a/pages/mine/mine.js +++ b/pages/mine/mine.js @@ -100,6 +100,11 @@ Page({ bindLoginMobilecode: function(e) { if (!this.bindCheckMobile(this.data.mobile)) { return } + wx.showToast({ + title: '登录中...', + icon: 'loading', + duration: 5000 + }) var data = {mobile: this.data.mobile, mobile_code: e.detail.value.code, name: this.data.userInfo.nickName} profile.postCustomerInfo(data, this.infoCallback) }, @@ -107,6 +112,11 @@ Page({ bindLoginPassword: function(e) { var mobile = e.detail.value.mobile if (!this.bindCheckMobile(mobile)) { return } + wx.showToast({ + title: '登录中...', + icon: 'loading', + duration: 5000 + }) var data = {mobile: mobile, password: e.detail.value.password} profile.postCustomerInfo(data, this.infoCallback) }, @@ -154,6 +164,7 @@ Page({ key:"zichan_slides", data:data }) + wx.hideToast() }) } })