From c899ddfe49c5dedf6e78fc136dd0efdbe3951dfd Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期五, 01 三月 2024 09:38:20 +0800
Subject: [PATCH] feat(提交): 代码

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

diff --git a/pages/cart/index.js b/pages/cart/index.js
index 41fcea5..7622fcd 100644
--- a/pages/cart/index.js
+++ b/pages/cart/index.js
@@ -1,30 +1,18 @@
 // pages/cart/index.js
-const app = getApp()
 Page({
 
   /**
    * 椤甸潰鐨勫垵濮嬫暟鎹�
    */
   data: {
-    right: [
-      {
-        text: '缂栬緫',
-        className: 'btn edit-btn',
-      },
-      {
-        text: '鍒犻櫎',
-        className: 'btn delete-btn',
-      },
-    ],
+
   },
-  onDelete() {
-    wx.showToast({ title: '浣犵偣鍑讳簡鍒犻櫎', icon: 'none' });
-  },
+
   /**
    * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇
    */
   onLoad(options) {
-    this.shoppingCartGet()
+
   },
 
   /**
@@ -74,16 +62,5 @@
    */
   onShareAppMessage() {
 
-  },
-  shoppingCartGet() {
-
-    app.MG.store.getShoppingCartProductList({
-      start: 0,
-      size: 999,
-      filterList: [],
-      searchList: []
-    }).then(res => {
-      console.log(res);
-    })
   }
 })
\ No newline at end of file

--
Gitblit v1.9.1