feat(mine): fix balance
This commit is contained in:
parent
e819dc852c
commit
c16f8eacf7
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue