From c14c1add3497840416bcb1c2f81b881db773a1e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=81=B0=E7=81=B0?= Date: Wed, 7 Aug 2024 11:29:37 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=B0=83=E6=95=B4=E3=80=91=E5=9B=A0?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=9C=B0=E5=9D=80=E5=BA=93=E4=B8=8E=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E5=9C=B0=E5=9D=80=E5=BA=93=E4=B8=8D=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=EF=BC=8C=E5=AD=98=E5=9C=A8=E5=AF=BC=E5=85=A5=E5=AF=B9?= =?UTF-8?q?=E5=BA=94=E4=B8=8D=E4=BA=86=E7=9A=84=E9=97=AE=E9=A2=98=EF=BC=8C?= =?UTF-8?q?=E7=89=B9=E7=A7=BB=E9=99=A4=E6=AD=A4=E5=BD=95=E5=85=A5=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E6=96=B9=E5=BC=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/member/address/index/index.vue | 46 +------------------ 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/member/address/index/index.vue b/CoreCms.Net.Uni-App/CoreShop/pages/member/address/index/index.vue index b9dfae21..a9d5b27a 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/member/address/index/index.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/member/address/index/index.vue @@ -85,10 +85,6 @@ - - - @@ -497,47 +493,7 @@ export default { } }); // #endif - }, - // #ifdef MP-WEIXIN - wechatAddress() { - this.getType = 0; - let _that = this; - wx.chooseAddress({ - success: res => { - if (res.errMsg == "chooseAddress:ok") { - //获取成功 - _that.form.name = res.userName; - _that.form.mobile = res.telNumber; - _that.form.address = res.detailInfo; - - _that.pickerValue = res.provinceName + " " + res.cityName + " " + res.countyName; - let data = { - provinceName: res.provinceName, - cityName: res.cityName, - countyName: res.countyName, - }; - this.$u.api.getAreaId(data).then(res => { - if (res.status) { - this.areaId = res.data; - this.init(); - } else { - uni.showModal({ - title: '提示', - content: '地区选择出现问题,请重新选择地区', - showCancel: false - }); - } - }); - - console.log(res); - } else { - this.$refs.uToast.show({ title: '获取微信地址失败', type: 'error' }); - } - } - }); - }, - // #endif - + } }, }