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 @@ + + + + +