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