From 8ad7ee78ce968371d3a12fbef9860b8fb86d5cc4 Mon Sep 17 00:00:00 2001 From: sjeam <359824901@qq.com> Date: Thu, 14 Aug 2025 14:19:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=93=81=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 8 ++++---- src/pages/banquet/order/detail.vue | 10 ++++++++-- src/pages/tab/banquet/cook.vue | 6 +++--- src/router/index.ts | 2 +- src/static/images/tabbar/cook.png | Bin 0 -> 4014 bytes src/static/images/tabbar/cook_selected.png | Bin 0 -> 4516 bytes src/static/images/tabbar/hotel.png | Bin 0 -> 2212 bytes src/static/images/tabbar/hotel_selected.png | Bin 0 -> 2248 bytes 8 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 src/static/images/tabbar/cook.png create mode 100644 src/static/images/tabbar/cook_selected.png create mode 100644 src/static/images/tabbar/hotel.png create mode 100644 src/static/images/tabbar/hotel_selected.png diff --git a/src/pages.json b/src/pages.json index 0afd8d8..ee49d99 100644 --- a/src/pages.json +++ b/src/pages.json @@ -208,14 +208,14 @@ "text": "首页" }, { - "iconPath": "static/images/tabbar/shouye.png", - "selectedIconPath": "static/images/tabbar/shouye_selected.png", + "iconPath": "static/images/tabbar/cook.png", + "selectedIconPath": "static/images/tabbar/cook_selected.png", "pagePath": "pages/tab/banquet/cook", "text": "选厨师" }, { - "iconPath": "static/images/tabbar/bofang.png", - "selectedIconPath": "static/images/tabbar/bofang_selected.png", + "iconPath": "static/images/tabbar/hotel.png", + "selectedIconPath": "static/images/tabbar/hotel_selected.png", "pagePath": "pages/tab/banquet/hotel", "text": "选酒店" }, diff --git a/src/pages/banquet/order/detail.vue b/src/pages/banquet/order/detail.vue index 2ceb5cb..0b64d99 100644 --- a/src/pages/banquet/order/detail.vue +++ b/src/pages/banquet/order/detail.vue @@ -158,7 +158,7 @@ 厨师姓名:{{ server_user.public_name }} 厨师联系方式:{{ server_user.phone }} @@ -385,7 +385,13 @@ export default defineComponent({ } }); }, - + //点击详情 + cookDetail (id: number) { + // console.log(id); + uni.navigateTo({ + url: `/pages/banquet/cook/detail?id=${id}` + }); + }, }, diff --git a/src/pages/tab/banquet/cook.vue b/src/pages/tab/banquet/cook.vue index 847ab4f..99dbe1a 100644 --- a/src/pages/tab/banquet/cook.vue +++ b/src/pages/tab/banquet/cook.vue @@ -17,7 +17,7 @@ - +