From c2684e5b9fb2901756599bcc49288904d5410756 Mon Sep 17 00:00:00 2001 From: wangfukang <15630117759@163.com> Date: Fri, 29 May 2026 16:40:06 +0800 Subject: [PATCH] 1 --- pages/index/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 68d9ecf..8878cea 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -412,7 +412,7 @@ + alt="" style="width: 55rpx;height: 55rpx;" /> @@ -428,7 +428,7 @@ + alt="" style="width: 55rpx;height: 55rpx;" /> @@ -1050,9 +1050,11 @@ if (!uni.getStorageSync('worker') && res.result != null) { this.$refs.tishiPopup.open() uni.setStorageSync('worker', res.result) + that.$refs.tabBar.indexWorkerCount ++ }else{ if(res.message == '接单成功'){ that.tui.toast(res.message); + that.$refs.tabBar.indexWorkerCount ++ }else{ that.tui.toast(res.message,2000); } @@ -1070,7 +1072,7 @@ that.paotuiCount -= 1 } } - that.$refs.tabBar.indexWorkerCount ++ + setTimeout(res => { this.getUserLocation(uni.getStorageSync('worker') ? uni.getStorageSync('worker').workerId : res.result.workerId) }, 2000) @@ -1080,9 +1082,7 @@ that.tui.toast(res.message); return; } - uni.hideLoading(); }).catch((res) => {}); - }, rejectOrder(item, index) { let that = this