ljc 2 týždňov pred
rodič
commit
6d2fd072a8

+ 6 - 2
pages/ib/index.vue

@@ -24,10 +24,10 @@
           <uni-col :xs="24" :sm="24" :md="8" :lg="8" :xl="8">
           <view class="card position-relative">
             <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="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>
@@ -1040,4 +1040,8 @@ onMounted(async () => {
   font-size: px2rpx(12);
   line-height: 1.4;
 }
+.img-fluid {
+  width: px2rpx(50);
+  height: px2rpx(50);
+}
 </style>

+ 1 - 1
uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.vue

@@ -347,7 +347,7 @@ $nav-height: 44px;
 
 .uni-navbar--fixed {
 	position: fixed;
-	z-index: 1200;
+	z-index: 990;
 	/* #ifdef H5 */
 	left: var(--window-left);
 	right: var(--window-right);