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

This commit is contained in:
2026-01-26 17:15:51 +08:00
parent be90f1213b
commit f2f208f258
21 changed files with 2516 additions and 217 deletions

View File

@@ -361,7 +361,7 @@ const submitReview = async () => {
}
// 提交商品评价
const productReviews = orderItems.value.map((item, index) => ({
/* const productReviews = orderItems.value.map((item, index) => ({
user_id: userId,
product_id: item.product_id,
order_id: orderId.value,
@@ -416,7 +416,10 @@ const submitReview = async () => {
if (orderError !== null) {
console.error('更新订单状态失败:', orderError)
}
} */
// MOCK SUBMIT
await new Promise(resolve => setTimeout(resolve, 1000))
// 显示成功提示
uni.showToast({