From 4b74ae71c84d7c3a2fcc83d1ef75f11f8f8c05e0 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期二, 30 五月 2023 10:28:28 +0800 Subject: [PATCH] 增加新功能,修复bug --- pages/customer-page/customer-my/faYunstatistics/faYunstatistics.vue | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) diff --git a/pages/customer-page/customer-my/faYunstatistics/faYunstatistics.vue b/pages/customer-page/customer-my/faYunstatistics/faYunstatistics.vue index 90a2217..0285a75 100644 --- a/pages/customer-page/customer-my/faYunstatistics/faYunstatistics.vue +++ b/pages/customer-page/customer-my/faYunstatistics/faYunstatistics.vue @@ -32,9 +32,11 @@ <view class="left"><combined-title :title="item.condition"></combined-title></view> <view class="card-top_num"> {{ item.taskCoalList.length }}杞{ - item.taskCoalList.reduce((prev, cur) => { - return prev + cur.clean; - }, 0) + item.taskCoalList + .reduce((prev, cur) => { + return prev + cur.clean; + }, 0) + .toFixed(2) }}鍚� </view> </view> @@ -559,10 +561,10 @@ return uni.getStorageSync('roleType'); }, dateRange() { - return `${this.firstFilter}-${this.lastFilter}`; + return `${this.firstFilter}鑷�${this.lastFilter}`; }, dateselect() { - return `${this.first}-${this.last}`; + return `${this.first}鑷�${this.last}`; }, coalTotal() { return this.coalList.length; @@ -588,8 +590,8 @@ }, watch: { dateselect(newV, old) { - let tempDate = `${this.first}-${this.last}`; - if (newV != old && old != '-') { + let tempDate = `${this.first}鑷�${this.last}`; + if (newV != old && old != '鑷�') { this.first = newV.slice(0, 10); this.last = newV.slice(11); this.getTmTaskCoalData(); @@ -616,7 +618,9 @@ width: vww(40); } .scroll-Y { - height: 900rpx; + height: 1000rpx; + position: relative; + top: 20rpx; } .utils-button { width: 94%; @@ -824,7 +828,7 @@ font-weight: 400; color: #f81414; position: absolute; - right: -10rpx; + right: 12rpx; display: flex; flex-wrap: wrap; } @@ -921,7 +925,7 @@ } } .filter-main { - height: 950rpx; + min-height: 950rpx; width: 100%; display: flex; flex-direction: column; -- Gitblit v1.9.1