feat: 订单功能完善

This commit is contained in:
duanshuwen
2025-07-30 10:26:53 +08:00
parent 8142e8b078
commit b40d49998c
6 changed files with 330 additions and 69 deletions

View File

@@ -98,12 +98,18 @@ const handleTabChange = ({ index }) => {
const handleOrderClick = (orderData) => {
console.log("订单点击:", orderData);
// 这里可以添加订单详情跳转逻辑
uni.navigateTo({
url: `/pages/order/detail?id=${orderData.id}`,
});
};
// 处理订单呼叫
const handleOrderCall = (orderData) => {
console.log("订单呼叫:", orderData);
// 这里可以添加呼叫逻辑
uni.makePhoneCall({
phoneNumber: orderData.contactPhone,
});
};
// 处理订单完成