From 55be0269598e3abe1dd717605937ee33da137d15 Mon Sep 17 00:00:00 2001 From: chen <2659004835@qq.com> Date: Wed, 30 Mar 2022 16:22:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=88=91=E7=9A=84=E8=B4=A6?= =?UTF-8?q?=E6=88=B7=E9=A1=B5=E3=80=81=E5=B7=A5=E7=A8=8B=E5=B8=88=E5=B7=A5?= =?UTF-8?q?=E5=8D=95=E7=BB=93=E7=AE=97=E9=A1=B5=E3=80=81=E6=8F=90=E5=8F=96?= =?UTF-8?q?=E6=8B=A8=E6=89=93=E7=94=B5=E8=AF=9D=E5=85=AC=E5=85=B1=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commons/base.css | 3 + jsFile/tools.js | 4 +- pages/forget/forget.vue | 2 +- pages/tabbar/pagehome/pagehome.vue | 4 +- pages/workOrder/details.vue | 448 +++------- pages/workOrder/workOrderLlsit.vue | 158 +--- pages/workOrder/workOrderThree.vue | 1287 ++++++++++++++-------------- pagesB/my-account/my-account.vue | 106 ++- 8 files changed, 869 insertions(+), 1143 deletions(-) diff --git a/commons/base.css b/commons/base.css index f660238..3a239f6 100644 --- a/commons/base.css +++ b/commons/base.css @@ -33,6 +33,8 @@ .width46{width: 46%;} .width45{width: 45%;} .width33{width: 33%;} +.width32{width: 32%;} +.width31{width: 31%;} .width30{width: 30%;} .width29{width: 29%;} .width28{width: 28%;} @@ -48,6 +50,7 @@ .posixzy{position: fixed;left: 0;right: 0;z-index: 2;bottom: 0;} .posia-op{position: absolute;top: 0;right: 0;left: 0;bottom: 0;opacity: 0;} .syxzo{top: 0;left: 0;right: 0;bottom: 0;opacity: 0;} +.position-sticky{position: sticky;top: 40px;z-index: 2;} .dis{display: flex;} diff --git a/jsFile/tools.js b/jsFile/tools.js index d9bbd38..3948c8b 100644 --- a/jsFile/tools.js +++ b/jsFile/tools.js @@ -113,7 +113,7 @@ const tools = { str = str.toFixed(2); str = str+''; } - return str.includes('.') ? str*1 : str = num + '.00'; + return str.includes('.') ? str : str = num + '.00'; }, // type:+加、-减、*乘、/除 // len:小数后保留几位 @@ -523,7 +523,7 @@ const tools = { const res = uni.getSystemInfoSync(); if(res.platform=='ios'){ uni.makePhoneCall({ - phoneNumber:phone, + phoneNumber:phone*1, success: () => {}, fail: () => {} }) diff --git a/pages/forget/forget.vue b/pages/forget/forget.vue index 9b28545..2bfdd98 100644 --- a/pages/forget/forget.vue +++ b/pages/forget/forget.vue @@ -77,7 +77,7 @@ this.$requst.post('/universal/api.login/password_find',params).then(res=>{ if(res.code==1) { this.$toolAll.tools.showToast('找回成功'); - setTimeout(()=>{uni.navigateBack({delta:1})},1000) + setTimeout(()=>{uni.navigateTo({url:'/pages/login/login'})},1000) } else { this.$toolAll.tools.showToast(res.msg); } diff --git a/pages/tabbar/pagehome/pagehome.vue b/pages/tabbar/pagehome/pagehome.vue index 3b15579..57e007f 100644 --- a/pages/tabbar/pagehome/pagehome.vue +++ b/pages/tabbar/pagehome/pagehome.vue @@ -437,9 +437,7 @@ }, // 拨打电话事件 callEv(){ - uni.makePhoneCall({ - phoneNumber: '15616330510' - }) + this.$toolAll.tools.countCustomer('15616330510'); } } } diff --git a/pages/workOrder/details.vue b/pages/workOrder/details.vue index 55215a7..479d3fa 100644 --- a/pages/workOrder/details.vue +++ b/pages/workOrder/details.vue @@ -1,10 +1,10 @@