From 305691dd3759e3bd95fdd70ff46693d04f2925d4 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 15 五月 2025 15:18:13 +0800
Subject: [PATCH] 自定义tabbar,首页视频使用不同颜色的tabbar

---
 pages/tabbar/cart/cartList.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/pages/tabbar/cart/cartList.vue b/pages/tabbar/cart/cartList.vue
index 999f74a..dce2147 100644
--- a/pages/tabbar/cart/cartList.vue
+++ b/pages/tabbar/cart/cartList.vue
@@ -1,5 +1,5 @@
 <template>
-  <div class="wrapper">
+  <view class="wrapper">
     <u-navbar :is-back="false" title="璐墿杞�">
       <div slot="right">
         <div class="light-color edit" @click="isEdit = !isEdit">{{ !isEdit ? '缂栬緫' : '瀹屾垚'}}</div>
@@ -175,7 +175,8 @@
       </view>
     </div>
     <u-toast ref="uToast" />
-  </div>
+	<custom-tabbar bgColor="#ffffff" :selected="2"></custom-tabbar>
+  </view>
 </template>
 <script>
 import * as API_Trade from "@/api/trade";
@@ -623,7 +624,7 @@
   left: 0;
   top: 0;
   width: 100%;
-  height: 100vh;
+  height: calc(100vh - 50px);
   z-index: 99;
   padding-bottom: var(--window-bottom);
   display: flex;
@@ -688,7 +689,7 @@
 }
 
 .wrapper {
-  height: 100%;
+  height: calc(100% - 50px);;
 }
 
 /deep/ .u-col {
@@ -774,7 +775,7 @@
   justify-content: space-between;
   position: fixed;
   // #ifdef APP-PLUS || MP-WEIXIN
-  bottom: 0;
+  bottom: 50px;
   // #endif
   // #ifdef H5
   bottom: var(--window-bottom);

--
Gitblit v1.8.0