From 960bd8ec5c08298dec05aba1ce1097ad27168f6c Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Wed, 3 Jul 2024 11:08:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AE=A2=E5=8D=95=E7=BB=AD?= =?UTF-8?q?=E8=B4=B9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/request.js | 16 --- order/orderDetail/orderDetail.vue | 180 ++++++++++++++++++++++-------- 2 files changed, 135 insertions(+), 61 deletions(-) diff --git a/apis/request.js b/apis/request.js index 31e247e..9673157 100644 --- a/apis/request.js +++ b/apis/request.js @@ -1,17 +1,7 @@ import config from '@/config/request' -let HTTP_COUNT = 0 // loading次数 let logouted = 0 const request = options => { - HTTP_COUNT++ - if (config.showLoading) { - // 请求数据时的loading - // uni.showToast({ - // title: '加载中', - // duration: 200, - // icon: 'loading' - // }) - } const header = Object.assign({}, config.headers, { token: uni.getStorageSync('token') }) @@ -65,12 +55,6 @@ const request = options => { }) reject(err) }, - complete: () => { - if (config.showLoading) { - // HTTP_COUNT-- - // HTTP_COUNT || uni.hideLoading() - } - } }) }) } diff --git a/order/orderDetail/orderDetail.vue b/order/orderDetail/orderDetail.vue index 02101fa..8bf2a80 100644 --- a/order/orderDetail/orderDetail.vue +++ b/order/orderDetail/orderDetail.vue @@ -170,6 +170,13 @@ + + + + 续费 + + + 请选择客户 @@ -186,12 +193,13 @@