闫增涛
2024-03-21 057199d5c5284a71e5d04e091492873ced412fa5
pages/cart/index.js
@@ -20,7 +20,9 @@
    });
    this.shoppingCartGet();
  },
  onShow() {
    this.shoppingCartGet();
  },
  onDelete(e) {
    const item = e.currentTarget.dataset.item;
    app.MG.store.delShoppingCart({
@@ -125,5 +127,10 @@
        direction: 'column',
      });
    }
  },
  onLogin() {
    wx.navigateTo({
      url: '/pages/testLogin/index'
    });
  }
});