From 7399c9e0c02296c431a7c27b3279b77d21115f08 Mon Sep 17 00:00:00 2001 From: lzx_win <2602107437@qq.com> Date: Thu, 16 Oct 2025 10:55:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DHTTP=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E5=A4=84=E7=90=86=E5=92=8CUI=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在http.js中添加错误日志输出并修复加载状态显示 - 移除rentingDetail.vue中的投诉信息显示 - 在allUser.vue中添加默认头像和昵称显示 - 在index.vue中调整动态信息显示并移除订阅按钮 --- api/http.js | 4 ++-- pages/index/index.vue | 12 ++++++------ pages_order/mine/allUser.vue | 4 ++-- pages_order/renting/rentingDetail.vue | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/api/http.js b/api/http.js index 68b0c24..a15d082 100644 --- a/api/http.js +++ b/api/http.js @@ -49,8 +49,8 @@ function http(uri, data, callback, method = 'GET', showLoading, title, req) { callback(res.data) }, - - fail: () => { + fail: (e) => { + console.log(e); uni.showLoading({}) setTimeout(()=>{ uni.hideLoading() diff --git a/pages/index/index.vue b/pages/index/index.vue index a440749..92ea380 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -26,7 +26,7 @@ {{ headInfo.name }} - + {{headInfo.activityNum}}活动 --> + 江华便民生活好帮手 @@ -68,11 +68,11 @@ - + diff --git a/pages_order/mine/allUser.vue b/pages_order/mine/allUser.vue index 0766060..1d58800 100644 --- a/pages_order/mine/allUser.vue +++ b/pages_order/mine/allUser.vue @@ -10,11 +10,11 @@ - + - {{ item.nickName }} + {{ item.nickName || '匿名墙友' }} diff --git a/pages_order/renting/rentingDetail.vue b/pages_order/renting/rentingDetail.vue index 8dc5398..b16ee3a 100644 --- a/pages_order/renting/rentingDetail.vue +++ b/pages_order/renting/rentingDetail.vue @@ -74,7 +74,7 @@ {{ detail.showings }} - + 小区: