继续完善购物逻辑闭环,consumer模块完成度80%

This commit is contained in:
2026-01-27 17:33:39 +08:00
parent f2f208f258
commit 4ab722a118
22 changed files with 5290 additions and 515 deletions

View File

@@ -111,9 +111,9 @@ const goShopping = () => {
})
}
const goToDetail = (id: string) => {
const goToDetail = (product: Product) => {
uni.navigateTo({
url: `/pages/mall/consumer/product-detail?productId=${id}`
url: `/pages/mall/consumer/product-detail?productId=${product.id}&price=${product.price}&originalPrice=${product.original_price || ''}`
})
}