Commit cf97cfb60802e98af948ceb9c9da3f0a4b00a015

Authored by season
2 parents 0fb402c2 3ca5f1bd

Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev

pages/user/Change_phone/Change_phone.js
... ... @@ -110,11 +110,11 @@ Page({
110 110 success: function(res) {
111 111 if (res.data.code == 0) {
112 112 getApp().my_warnning("更换成功", 0, th);
113   - // th.setData({
114   - // url: "/pages/user/userinfo/userinfo?change_phone" + change_phone
115   - // })
  113 + th.setData({
  114 + url: "/pages/user/userinfo/userinfo?change_phone" + change_phone
  115 + })
116 116 } else {
117   - getApp().my_warnning("更换失败", 0, th);
  117 + getApp().my_warnning(res.data.msg, 0, th);
118 118 return false;
119 119 }
120 120  
... ...
pages/user/userinfo/userinfo.wxml
... ... @@ -159,7 +159,7 @@
159 159 <input class="user-txt-right" bindblur="IdentityIDCard" value="" type="idcard" maxlength="18" placeholder="*身份证" />
160 160 </block> -->
161 161 </view>
162   - <view data-url="/pages/user/Change_phone/Change_phone?mobile={{user.mobile}}" bindtap="go_phone" class="user-name flex-vertical-between" data-type="mobile">
  162 + <view data-url="/pages/user/Change_phone/Change_phone?mobile={{user.mobile}}&openid={{user.weapp_openid}}" bindtap="go_phone" class="user-name flex-vertical-between" data-type="mobile">
163 163 <view class="user-name-txt">更换手机</view>
164 164 <view class="flex-center user-txt-right">
165 165 <view class="flex">{{phone}}</view>
... ...