From 00077bd7cae20830ce821f66f26a555e13e0503c Mon Sep 17 00:00:00 2001 From: xuechunyuan <17853500702@163.com> Date: Wed, 23 Aug 2023 16:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=E9=95=BF=E6=8C=89=E8=AF=86=E5=88=AB=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 +- pages/pages_zhentou/contact/contact.vue | 2 +- pages/pages_zhentou/myPage/myPage.vue | 7 +- pages/pages_zhentou/order/confirmOrder.vue | 56 ++++++++++--- pages/pages_zhentou/order/order.vue | 95 ++++++++++++++++++++-- 5 files changed, 142 insertions(+), 22 deletions(-) diff --git a/App.vue b/App.vue index bafa876..f111356 100644 --- a/App.vue +++ b/App.vue @@ -60,8 +60,8 @@ globalData: { openId: '', test: '', - // baseUrl: "http://192.168.3.32:80", - baseUrl: "http://192.168.1.106:80", + baseUrl: "http://192.168.3.32:80", + // baseUrl: "http://192.168.1.106:80", // baseUrl: "http://47.104.224.41:80",//测试环境 imgPrefix: "http://47.104.224.41:9000/etriphome/appresource/image/", //图片资源 }, diff --git a/pages/pages_zhentou/contact/contact.vue b/pages/pages_zhentou/contact/contact.vue index 371c0d9..ee27bb6 100644 --- a/pages/pages_zhentou/contact/contact.vue +++ b/pages/pages_zhentou/contact/contact.vue @@ -3,7 +3,7 @@ - + 壹人壹枕 diff --git a/pages/pages_zhentou/myPage/myPage.vue b/pages/pages_zhentou/myPage/myPage.vue index e2a6a70..6169b30 100644 --- a/pages/pages_zhentou/myPage/myPage.vue +++ b/pages/pages_zhentou/myPage/myPage.vue @@ -9,7 +9,7 @@ 昵称 - + @@ -81,8 +81,9 @@ 'Blade-Auth': 'bearer ' + uni.getStorageSync('token') }, success: (res) => { - if (res.data.code == 200) { - this.updateAvatar(res.data.link); + let _data = JSON.parse(res.data); + if (_data.code == 200) { + this.updateAvatar(_data.data.link); } } }) diff --git a/pages/pages_zhentou/order/confirmOrder.vue b/pages/pages_zhentou/order/confirmOrder.vue index 8039179..a13e8f4 100644 --- a/pages/pages_zhentou/order/confirmOrder.vue +++ b/pages/pages_zhentou/order/confirmOrder.vue @@ -1,9 +1,9 @@