feat(mine): fix balance

This commit is contained in:
woody 2025-07-15 13:43:32 +08:00
parent e819dc852c
commit c16f8eacf7
1 changed files with 6 additions and 6 deletions

View File

@ -115,8 +115,8 @@
<view class="yes_t">拓展结余</view>
<view
:class="
balanceProgress.leftValue != 0 ||
balanceProgress.rightValue != 0
totalBalanceProgress.leftValue != 0 ||
totalBalanceProgress.rightValue != 0
? 'ju_left_bottom1'
: 'ju_left_bottom'
"
@ -125,14 +125,14 @@
class="current-progress"
:style="{
width: yesPercent(
balanceProgress.leftValue,
balanceProgress.rightValue
totalBalanceProgress.leftValue,
totalBalanceProgress.rightValue
),
}"
></view>
<view class="cha">
左区 {{ balanceProgress.leftValue || 0 }}/右区
{{ balanceProgress.rightValue || 0 }}
左区 {{ totalBalanceProgress.leftValue || 0 }}/右区
{{ totalBalanceProgress.rightValue || 0 }}
</view>
</view>
</view>