From 0c83611409654cfc53c64345ba60b7e1e5fcc5b7 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期一, 01 九月 2025 14:27:22 +0800
Subject: [PATCH] 调整弹窗样式

---
 pages/cusbar/cart/cartList.vue |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/pages/cusbar/cart/cartList.vue b/pages/cusbar/cart/cartList.vue
index 38e5ea9..da6bd4a 100644
--- a/pages/cusbar/cart/cartList.vue
+++ b/pages/cusbar/cart/cartList.vue
@@ -10,11 +10,11 @@
       <image src="/pages/subComponents/static/emptyCart.png" mode="aspectFit"></image>
       <view class="empty-tips">
         绌虹┖濡備篃
-        <navigator class="navigator" url="/pages/tabbar/home/index" open-type="switchTab">闅忎究閫涢��></navigator>
+        <navigator class="navigator" url="/pages/commodity-square/commoditySquare" open-type="navigate">闅忎究閫涢��></navigator>
       </view>
     </view>
     <!-- 搴楅摵鍟嗗搧淇℃伅 -->
-    <div class="content" :style="{height: windowHeight - marginBottom - 50 + 'px'}">
+    <div class="content" :style="{height: windowHeight - marginBottom - 200 + 'px'}">
       <div class="box box2" :class="{ invalid: isInvalid(item) }" v-for="(item, index) in cartDetail.cartList"
         :key="index">
         <view class="tab">
@@ -240,15 +240,16 @@
    */
   onShow() {
     this.deleteShow ? (this.deleteShow = false) : true;
-    if (this.$refs.swiperAction) {
-      this.$refs.swiperAction.forEach((item, index) => {
-        item.show = false;
-      });
+	this.getCardData();
+		// if (this.$refs.swiperAction) {
+		//   this.$refs.swiperAction.forEach((item, index) => {
+		//     item.show = false;
+		//   });
+		//   this.getCardData();
+		// } else {
+		//   this.getCardData();
+		// }
 
-      this.getCardData();
-    } else {
-      this.getCardData();
-    }
   },
   methods: {
     /**
@@ -718,6 +719,7 @@
 .content {
   padding: 20rpx 0 20rpx 0;
   margin-bottom: 80rpx;
+  overflow: auto;
 }
 
 .line {

--
Gitblit v1.8.0