From 64d33e27c96b3b1cb3ece5a607b3a47a6c11d94b Mon Sep 17 00:00:00 2001
From: yvan.ni <765199919@qq.com>
Date: Tue, 5 Nov 2019 09:51:36 +0800
Subject: [PATCH] 修改地址
---
pages/user/userinfo/userinfo.js | 20 ++++++++++++++------
pages/user/userinfo/userinfo.wxml | 5 +++--
2 files changed, 17 insertions(+), 8 deletions(-)
diff --git a/pages/user/userinfo/userinfo.js b/pages/user/userinfo/userinfo.js
index a3c925f..b0e96f3 100644
--- a/pages/user/userinfo/userinfo.js
+++ b/pages/user/userinfo/userinfo.js
@@ -58,6 +58,7 @@ Page({
gradename:"",//会员权益的卡
isBool:"",
sto_sele_id:"",//所属门店id
+ is_zy:0,
},
//是否启动密码消费
isstcsp:function(){
@@ -555,8 +556,9 @@ Page({
}
});
},
- onShow: function() {
-
+
+ onShow: function() {
+ if(this.data.is_zy) return false;
this.wait_for_store_config();
var e = this;
var req = t;
@@ -572,10 +574,10 @@ Page({
phone: a.mobile,
user: a,
openid: a.openid,
- sto_sele_id: a.pickup_id,
+ sto_sele_id: a.pickup_id,
consumption: a.paypwd,
- identity_card:a.idcard,
-
+ identity_card:a.idcard,
+ address:a.address,
});
}
})
@@ -772,6 +774,12 @@ Page({
}
})
- }
+ } ,
+
+ go_phone:function(e){
+ var url=e.currentTarget.dataset.url;
+ this.setData({is_zy:1});
+ getApp().goto(url);
+ }
});
\ No newline at end of file
diff --git a/pages/user/userinfo/userinfo.wxml b/pages/user/userinfo/userinfo.wxml
index ab4efb5..cfaceea 100644
--- a/pages/user/userinfo/userinfo.wxml
+++ b/pages/user/userinfo/userinfo.wxml
@@ -159,13 +159,14 @@
-->
-
+
更换手机
{{phone}}
∟
-
+
+
地址