From 0375a599e25b7f27c57d8c00f801761d9cce8aa2 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期二, 05 三月 2024 18:12:17 +0800 Subject: [PATCH] revert: 阿斯顿 --- pages/goods/details/components/buy-bar/index.js | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/pages/goods/details/components/buy-bar/index.js b/pages/goods/details/components/buy-bar/index.js index ae274e2..16d3f33 100644 --- a/pages/goods/details/components/buy-bar/index.js +++ b/pages/goods/details/components/buy-bar/index.js @@ -40,6 +40,7 @@ data: { fillPrice: false, + shoppingCartGetId: null }, methods: { @@ -47,6 +48,24 @@ const { isStock } = this.properties; if (!isStock) return; this.triggerEvent('toAddCart'); + // let query = { + // start: 0, + // size: 999, + // filterList: [], + // searchList: [] + // } + // app.MG.store.getShoppingCartProductList(query).then(res => { + // res.datas.forEach((item) => { + // console.log(item.saleMethod.id, 'item.saleMethod.id'); + // this.setData({ + // shoppingCartGetId: item.saleMethod.id + // }) + + // }) + // }) + + + }, toBuyNow(e) { -- Gitblit v1.9.1