|
@@ -24,10 +24,10 @@
|
|
|
<uni-col :xs="24" :sm="24" :md="8" :lg="8" :xl="8">
|
|
<uni-col :xs="24" :sm="24" :md="8" :lg="8" :xl="8">
|
|
|
<view class="card position-relative">
|
|
<view class="card position-relative">
|
|
|
<view class="card-body d-flex gap-3 align-items-center">
|
|
<view class="card-body d-flex gap-3 align-items-center">
|
|
|
- <view class="clearfix pe-2 text-warning"> <img src="/static/images/dollar.png" alt="dollar" class="img-fluid"> </view>
|
|
|
|
|
|
|
+ <view class="clearfix pe-2 text-warning"> <image src="/static/images/dollar.png" alt="dollar" mode="aspectFill" class="img-fluid"/> </view>
|
|
|
<view class="clearfix">
|
|
<view class="clearfix">
|
|
|
<view class="mb-1">{{ t('news_add_field.Label.Balance') }}</view>
|
|
<view class="mb-1">{{ t('news_add_field.Label.Balance') }}</view>
|
|
|
- <view class="mb-0 fw-bold ">${{ ibData.balance.toFixed(2) }}<text class="badge bg-danger-subtle text-danger">{{ t('Ib.Index.TotalRevenue') }}: ${{numberFormat(ibData.all || '0')}}</text></view>
|
|
|
|
|
|
|
+ <view class="mb-0 fw-bold ">${{ ibData.balance?.toFixed(2) }}<text class="badge bg-danger-subtle text-danger">{{ t('Ib.Index.TotalRevenue') }}: ${{numberFormat(ibData.all || '0')}}</text></view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -1040,4 +1040,8 @@ onMounted(async () => {
|
|
|
font-size: px2rpx(12);
|
|
font-size: px2rpx(12);
|
|
|
line-height: 1.4;
|
|
line-height: 1.4;
|
|
|
}
|
|
}
|
|
|
|
|
+.img-fluid {
|
|
|
|
|
+ width: px2rpx(50);
|
|
|
|
|
+ height: px2rpx(50);
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|