From 813e578f313dc1b0e84e2f08958ded09a876abe4 Mon Sep 17 00:00:00 2001 From: linda Date: Wed, 28 Oct 2026 18:01:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(order):=20=E6=96=B0=E5=A2=9E=E7=8B=AC?= =?UTF-8?q?=E7=AB=8B=E7=9A=84=E7=AB=8B=E5=8D=B3=E4=B8=8B=E5=8D=95=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 首页底部「立即下单」按钮改为进入 /pages/order/quick - 新页面内置服务选择弹层(类目 + 服务项目) - 支持一口价 / 师傅报价竞价 / 用户自主定价三种下单方式 - 复用地址、预约、费用试算与下单支付链路,数据与师傅端/后端同步 - 使用原生导航栏并在底部保留安全区,避免状态栏遮挡 --- YJYF/YJYF.vue | 2 +- pages.json | 8 + pages/order/quick.vue | 483 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 492 insertions(+), 1 deletion(-) create mode 100644 pages/order/quick.vue diff --git a/YJYF/YJYF.vue b/YJYF/YJYF.vue index dd60f15..ddc436b 100644 --- a/YJYF/YJYF.vue +++ b/YJYF/YJYF.vue @@ -283,7 +283,7 @@ const onCloseBanner = () => toast('已关闭') const onOrder = () => { if (!needLogin()) return - uni.showToast({ title: '请先选择服务类目', icon: 'none' }) + uni.navigateTo({ url: '/pages/order/quick' }) } const onUser = () => { if (!needLogin()) return diff --git a/pages.json b/pages.json index c897d42..243ba61 100644 --- a/pages.json +++ b/pages.json @@ -26,6 +26,14 @@ "path": "pages/order/create", "style": { "navigationBarTitleText": "确认订单" } }, + { + "path": "pages/order/quick", + "style": { + "navigationBarTitleText": "立即下单", + "navigationBarBackgroundColor": "#F0710D", + "navigationBarTextStyle": "white" + } + }, { "path": "pages/order/list", "style": { "navigationBarTitleText": "我的订单" } diff --git a/pages/order/quick.vue b/pages/order/quick.vue new file mode 100644 index 0000000..d43bb33 --- /dev/null +++ b/pages/order/quick.vue @@ -0,0 +1,483 @@ + + + + +