代码更新

This commit is contained in:
GaoHao
2025-03-03 09:44:11 +08:00
parent b4a0393d2d
commit fd0c452a76
55 changed files with 2263 additions and 2658 deletions

View File

@@ -8,8 +8,13 @@ export function getNowCart(carItem,goodsList) {
if( carItem.is_temporary != 1 ){
goodsList.map(goodsItem => {
if(carItem.product_id == goodsItem.id){
carItem.lowPrice = goodsItem.lowPrice
carItem.lowMemberPrice = goodsItem.lowMemberPrice
goodsItem.skuList.map(item=>{
if(carItem.sku_id == item.id){
carItem.lowPrice = item.salePrice
carItem.lowMemberPrice = item.memberPrice
carItem.specInfo = item.specInfo
}
})
carItem.name = goodsItem.name
carItem.coverImg = goodsItem.coverImg
carItem.packFee = goodsItem.packFee