From 391b9b3a57c5db813c29514046d6201a0cfe34ce Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Thu, 9 Apr 2026 13:42:27 +0800 Subject: [PATCH] 11 --- pages/index/index.vue | 115 +++++++++++++++++++++++------------------- 1 file changed, 62 insertions(+), 53 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 764ebb3..9bb88c0 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -370,6 +370,9 @@ data() { return { pages:[{ + name:'商家订单详情111', + url:'/package2/shop/orderDetail' + },{ name:'发布订单评价111', url:'/package1/order/orderEvaluate' },{ @@ -567,59 +570,7 @@ }, onShow() { - let that = this - uni.getSystemInfo({ - success: function(info) { - that.width = info.screenWidth * 2; - } - }); - let worker = uni.getStorageSync('worker') - if(worker != '' && worker != undefined && worker != null){ - this.worker = worker - } - // 获取用户当前位置 - this.getUserLocation(); - // 建立WebSocket连接或定时请求获取配送员位置 - this.getDeliveryLocation(); - if(!uni.getStorageSync('area')){ - this.checkArea() - }else{ - if(uni.getStorageSync('area')){ - this.searchForm.regionId = JSON.parse(uni.getStorageSync('area')).id; - } - let area = JSON.parse(uni.getStorageSync('area')) - this.areaName = area.title - if(uni.getStorageSync('waimaiData')){ - let waimailist = uni.getStorageSync('waimaiData') - if(waimailist.length > 0){ - for(let a = 0;a 0){ - for(let a = 0;a 0){ + for(let a = 0;a 0){ + for(let a = 0;a