From 76616861ddcba43986e3e24a276217022f4fc145 Mon Sep 17 00:00:00 2001 From: initwithout Date: Tue, 16 May 2023 14:05:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=AA=E4=BA=BA=E8=B5=84?= =?UTF-8?q?=E6=96=99=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/product/detail.js | 1 - pages/user/user.js | 1 - pages/userinfo/userinfo.js | 3 +-- pages/userinfo/userinfo.wxml | 10 +++++----- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/pages/product/detail.js b/pages/product/detail.js index 451eb6e..c547d7e 100644 --- a/pages/product/detail.js +++ b/pages/product/detail.js @@ -136,7 +136,6 @@ Page({ accessId: app.globalData.accessId, storeId: 239, storeType: 1, - mobile:'', }).then(res => { if (res.code == 200) { var data = res.data; diff --git a/pages/user/user.js b/pages/user/user.js index 9fd77a3..8783935 100644 --- a/pages/user/user.js +++ b/pages/user/user.js @@ -145,7 +145,6 @@ Page({ accessId: app.globalData.accessId, storeId: 239, storeType: 1, - mobile:'', }).then(res => { if (res.code == 200) { var data = res.data; diff --git a/pages/userinfo/userinfo.js b/pages/userinfo/userinfo.js index b0aa8b9..ff81653 100644 --- a/pages/userinfo/userinfo.js +++ b/pages/userinfo/userinfo.js @@ -17,14 +17,13 @@ Page({ accessId: app.globalData.accessId, storeId: 239, storeType: 1, - mobile:'', }).then(res => { if (res.code == 200) { var data = res.data; if (data.data) { that.setData({ user: data.data.user, - company: data.data.company, + company: data.data.user.company, gender: data.data.user.sex==0?'女':'男' }); } diff --git a/pages/userinfo/userinfo.wxml b/pages/userinfo/userinfo.wxml index 570fc2a..d7e7b8a 100644 --- a/pages/userinfo/userinfo.wxml +++ b/pages/userinfo/userinfo.wxml @@ -44,23 +44,23 @@ 营业执照 - + - + 联系人(法人) - {{company.image}} + {{company.contact}} 联系方式 - {{company.phone}} + {{company.telephone}}