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 @@