From b0128497cea9d7ce703e02652a884e250db4de04 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期二, 02 四月 2024 15:06:58 +0800
Subject: [PATCH] 检索bug2

---
 pages/cart/index.js |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/pages/cart/index.js b/pages/cart/index.js
index 0682774..d00cc4c 100644
--- a/pages/cart/index.js
+++ b/pages/cart/index.js
@@ -58,7 +58,17 @@
         title: '鍒犻櫎鍥句功鎴愬姛',
         icon: 'none'
       });
+      this.setData({
+        totalPrice: 0.00,
+        selectedCount: 0,
+        checkAll: false,
+      })
+
+
     });
+
+
+
   },
 
   shoppingCartGet() {
@@ -229,8 +239,9 @@
       url: '/pages/testLogin/index'
     });
   },
-  //瑙﹀簳鍑芥暟
-  onReachBottom() {
+
+
+  onScrollToLower() {
     if (this.data.shoppingCartData.length < this.data.totalSize) {
       this.setData({
         isMore: true,
@@ -247,7 +258,6 @@
         })
         console.log('300');
       }, 300)
-
     }
   },
   // 涓嬫媺鍑芥暟

--
Gitblit v1.9.1