diff --git a/components/tab-bar/delivery.vue b/components/tab-bar/delivery.vue index ee938c5..854317c 100644 --- a/components/tab-bar/delivery.vue +++ b/components/tab-bar/delivery.vue @@ -462,7 +462,6 @@ if (worker == '' || worker == undefined || worker == null) { this.tui.toast('您还没有注册兼职') } - console.log("配送初始化") this.menuButtonInfo = uni.getMenuButtonBoundingClientRect() this.isOnLine = uni.getStorageSync('worker').isOnLine if (uni.getStorageSync('area')) { @@ -482,7 +481,6 @@ type: 'gcj02', isHighAccuracy: true, success: (res) => { - console.log('位置', res) that.latitude = res.latitude; that.longitude = res.longitude; @@ -492,14 +490,10 @@ }, false, false, true).then((res) => { }).catch((res) => {}); - }, - fail: (err) => { - console.log('获取位置失败', err); } }); }, onReachPage() { - console.log("11111") if (this.searchForm.pageNum >= this.totalPages) return; this.searchForm.pageNum++; this.getDelivery(); @@ -538,7 +532,6 @@ }, getDelivery() { let that = this - console.log('1111', uni.getStorageSync('worker')) this.tui.request("/mall/delivery/pagebyworker", "POST", this.searchForm, false, false).then((res) => { that.loadStatus = 'nomore'; if (res.code == 200) { @@ -824,7 +817,6 @@ this.$forceUpdate() }, ceshi(e) { - console.log("11111111", e) if (e.detail.code) { // 将 code 发送给后端 this.tui.request("/social/wechat/getPhone", "POST", { @@ -837,9 +829,6 @@ } }) - } else { - // 用户拒绝授权 - console.log('用户取消授权'); } } } diff --git a/components/tab-bar/myCenter.vue b/components/tab-bar/myCenter.vue index 6a8f413..3fc5b3c 100644 --- a/components/tab-bar/myCenter.vue +++ b/components/tab-bar/myCenter.vue @@ -4,7 +4,7 @@ 商家中心-{{shopCounts}} 兼职注册 兼职主页-{{workerCounts}} - 钱包余额-{{balance}} + 钱包余额 ¥{{balance}} 我的订单 @@ -50,7 +50,6 @@ init(){ this.schoolShop = uni.getStorageSync('schoolShop') - console.log("我的初始化",this.schoolShop) this.worker = uni.getStorageSync('worker') let shopId = uni.getStorageSync('shopId') let worker = uni.getStorageSync('worker') @@ -151,7 +150,6 @@ }else if(e == 'partTimeReg'){ let worker = uni.getStorageSync('worker') let that = this - console.log("111",worker) //当前人不是配送员身份 if(worker == undefined || worker == '' || worker == null){ that.tui.request("/worker/admin/add", "POST", {userId:uni.getStorageSync('id'),isChangeArea:1,region:JSON.parse(uni.getStorageSync('area')).id}, false, true).then((res) => { diff --git a/components/tab-bar/postList.vue b/components/tab-bar/postList.vue index 49295d7..aa2fc10 100644 --- a/components/tab-bar/postList.vue +++ b/components/tab-bar/postList.vue @@ -221,7 +221,6 @@ }, methods: { init() { - console.log("配送初始化") this.menuButtonInfo = uni.getMenuButtonBoundingClientRect() this.$forceUpdate() },