完善订单

This commit is contained in:
2025-05-16 15:15:36 +08:00
parent 2b0d3c9c20
commit 7ae003c61f
8 changed files with 433 additions and 60 deletions

View File

@ -215,20 +215,20 @@
});
}
});
console.log("this.cartList>>>", goods);
console.log("this.cartList1>>>", goods);
if (goods.length == 0) return this.$toast({
title: "您还没有选择商品哦",
});
// uni.navigateTo({
// url: "/pages/confirm_order/confirm_order?data=" +
// encodeURIComponent(
// JSON.stringify({
// goods,
// type: "cart",
// })
// ),
// });
uni.navigateTo({
url: "/pages/order_now/order_now?data=" +
encodeURIComponent(
JSON.stringify({
goods,
type: "cart",
})
),
});
},
},