feat: 订单功能完善
This commit is contained in:
@@ -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,
|
||||
});
|
||||
};
|
||||
|
||||
// 处理订单完成
|
||||
|
||||
Reference in New Issue
Block a user