From 93463d63f0dd81c436aa3335506611aab8356b88 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期一, 25 三月 2024 23:39:40 +0800
Subject: [PATCH] 样式修改

---
 pages/cart/index.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/pages/cart/index.js b/pages/cart/index.js
index 7d37d43..ad14b41 100644
--- a/pages/cart/index.js
+++ b/pages/cart/index.js
@@ -25,9 +25,13 @@
     this.shoppingCartGet();
   },
   onShow() {
+    if (typeof this.getTabBar === 'function' && this.getTabBar()) {
+      this.getTabBar().setData({
+        active: 3
+      })
+    }
     this.shoppingCartGet();
     this.setData({ totalPrice: 0.00, selectedCount: 0, checkAll: false, })
-
   },
   onDelete(e) {
     const item = e.currentTarget.dataset.item;

--
Gitblit v1.9.1