diff --git a/api/product/favorite.js b/api/product/favorite.js index 7c552305..b217f6bf 100644 --- a/api/product/favorite.js +++ b/api/product/favorite.js @@ -19,6 +19,13 @@ export function createFavorite(spuId) { }); } +// 添加多个商品收藏 +export function createFavoriteList(spuIds) { + return request.post('app-api/product/favorite/create-list', { + spuIds + }); +} + // 取消商品收藏 export function deleteFavorite(spuId) { return request.delete('app-api/product/favorite/delete', { diff --git a/pages/order_addcart/order_addcart.vue b/pages/order_addcart/order_addcart.vue index 5e2d56e6..4c16d453 100644 --- a/pages/order_addcart/order_addcart.vue +++ b/pages/order_addcart/order_addcart.vue @@ -43,7 +43,6 @@ {{property.valueName}} ¥{{ fen2yuan(item.sku.price) }} - 请重新选择商品规格 重选 @@ -97,16 +96,16 @@ - + - + - + @@ -129,10 +128,18 @@ - - + + @@ -140,14 +147,16 @@