Commit 8f53b37141bf7d60081f9c26838095e74e983ca8
1 parent
bc36244f
更改手机,添加打转转
Showing
1 changed file
with
7 additions
and
0 deletions
packageB/pages/user/Change_phone/Change_phone.js
@@ -88,6 +88,11 @@ Page({ | @@ -88,6 +88,11 @@ Page({ | ||
88 | } else { | 88 | } else { |
89 | return false | 89 | return false |
90 | } | 90 | } |
91 | + | ||
92 | + wx.showLoading({ | ||
93 | + mask:true | ||
94 | + }); | ||
95 | + | ||
91 | getApp().request.post("/api/weshop/smslog/sendsms", { | 96 | getApp().request.post("/api/weshop/smslog/sendsms", { |
92 | data: { | 97 | data: { |
93 | store_id: r.stoid, | 98 | store_id: r.stoid, |
@@ -96,6 +101,8 @@ Page({ | @@ -96,6 +101,8 @@ Page({ | ||
96 | wxopenid: wxopenid | 101 | wxopenid: wxopenid |
97 | }, | 102 | }, |
98 | success: function(res) { | 103 | success: function(res) { |
104 | + wx.hideLoading(); | ||
105 | + | ||
99 | if (res.data.code == 0) { | 106 | if (res.data.code == 0) { |
100 | th.setData({ | 107 | th.setData({ |
101 | isver: 0, | 108 | isver: 0, |