diff --git a/src/pages.json b/src/pages.json
index 386a3d4..ee49d99 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -93,7 +93,27 @@
"navigationStyle": "custom"
},
"needLogin": true
- }
+ },
+ {
+ "path": "combo/dishes",
+ "style": {
+ "navigationBarTitleText": "菜品详情",
+ "navigationStyle": "custom"
+ },
+ "needLogin": true
+ },
+
+ {
+ "path": "combo/dishes_combo",
+ "style": {
+ "navigationBarTitleText": "菜品套餐",
+ "navigationStyle": "custom"
+ },
+ "needLogin": true
+ },
+
+
+
]
},
{
@@ -188,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/combo/detail.vue b/src/pages/banquet/combo/detail.vue
index 1ac442d..95f611a 100644
--- a/src/pages/banquet/combo/detail.vue
+++ b/src/pages/banquet/combo/detail.vue
@@ -110,22 +110,21 @@
:round=false custom-class="margin-right-24" />
-
+
-
+
-
-
+
-
+
@@ -147,8 +146,8 @@
费用合计:
-
- ¥{{ totalPrice }}元
+
+ ¥{{ totalPrice }}元
@@ -158,7 +157,7 @@
厨师姓名:{{ server_user.public_name }}
厨师联系方式:{{ server_user.phone }}
- 查看详情
+
@@ -216,8 +215,6 @@
}
]">
-
-
+
+
+
+
+
+
+
+
+
+ {{matchedItems_sc.name}} {{matchedItems_sc.tag_name}}
+
+ 销量:{{matchedItems_sc.sales}}
+
+
+
+
+ 菜品介绍
+
+
+ {{matchedItems_sc.intro}}
+
+
+
+
+
+
+ 菜品展示
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/banquet/combo/dishes_combo.vue b/src/pages/banquet/combo/dishes_combo.vue
new file mode 100644
index 0000000..7f656d4
--- /dev/null
+++ b/src/pages/banquet/combo/dishes_combo.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ {{matchedItems_sc.name}} {{matchedItems_sc.tag_name}}
+
+ 销量:{{matchedItems_sc.sales}}
+
+
+
+
+ 菜品介绍
+
+
+ {{matchedItems_sc.intro}}
+
+
+
+
+
+
+ 菜品展示
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/banquet/combo/index.vue b/src/pages/banquet/combo/index.vue
index 0254c92..222d695 100644
--- a/src/pages/banquet/combo/index.vue
+++ b/src/pages/banquet/combo/index.vue
@@ -81,7 +81,7 @@ body {
class="fv-page flex-col">
-
+
@@ -134,7 +134,7 @@ body {
-->
- 已选{{ this.set_num }}餐,合计¥{{ totalPrice }}元
+ 已选{{ this.set_num }}餐,合计¥{{ totalPrice }}元
{
- // if (res.code === 1) {
- // this.matchedItems_sp = res.data;
- // // this.$refs.pagingRefSP?.complete(res.data);
- // } else {
- // uni.$u.toast(res.msg);
- // }
- // });
-
- // },
//加入购物车
addCart (id) {
uni.navigateTo({
diff --git a/src/pages/banquet/order/detail.vue b/src/pages/banquet/order/detail.vue
index 65c72d5..0b64d99 100644
--- a/src/pages/banquet/order/detail.vue
+++ b/src/pages/banquet/order/detail.vue
@@ -1,205 +1,398 @@
-
-
-
-
-
-
-
- {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+ 支付金额
+
+
+ 剩余时间
+
+
+
+ {{ current.hours > 10 ? current.hours : '0' + current.hours
+ }}
+ :
+ {{ current.minutes }}
+ :
+ {{ current.seconds }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+ 第{{ parseInt(index) + 1 }}餐
+
+
+
+
+
+ 做宴时段:{{ matchedItems[0].banquet_date }}
+
+ 做宴时段:{{ matchedItems[0].banquet_time }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 费用合计:
+
+ ¥{{ totalPrice }}元
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 厨师姓名:{{ server_user.public_name }}
+ 厨师联系方式:{{ server_user.phone }}
+
+ 查看详情
+
+
+
+
+
+
+ 1.(不交定金)如若厨师接到更高价订单,可能会将您的订单取消。
+ 2.(付定金)如若厨师的做席档期存在冲突,可能会致电与您沟通,并推荐您更换厨师。
+ 3.如若档期冲突订单被厨师取消,定金将原路返回,请放心下单。
+ 4.在此,感谢您对此平台以及厨师们的支持,您的支持就是我们前进的最大动力。
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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 @@
-
+
@@ -132,10 +132,10 @@ export default defineComponent({
},
//点击详情
- goodsDetail (id: number) {
+ cookDetail (id: number) {
// console.log(id);
uni.navigateTo({
- url: `/pages/banquet/cook/detail?id=${id}&is_add=1`
+ url: `/pages/banquet/cook/detail?id=${id}`
});
},
diff --git a/src/pages/tab/banquet/index.vue b/src/pages/tab/banquet/index.vue
index e5fa740..e595d9b 100644
--- a/src/pages/tab/banquet/index.vue
+++ b/src/pages/tab/banquet/index.vue
@@ -7,7 +7,7 @@
.wd-grid-item-img-cook {
width: 100%;
- height: 180px;
+ height: 160px;
border-radius: 20rpx;
}
@@ -16,7 +16,7 @@
-
@@ -29,23 +29,12 @@
src="https://lihaiim.oss-cn-chengdu.aliyuncs.com/public/uploads/images/20250813/202508131655082b6295503.png" />
-
-
-
- 张德标
-
-
-
- 张德标
-
-
-
- 张德标
-
-
-
- 张德标
-
+
+
+
+ {{item.certification.public_name}}
+
+
@@ -89,12 +78,12 @@ export default defineComponent({
goTabCook () {
uni.switchTab({
- url: '/pages/banquet/cook/list'
+ url: '/pages/tab/banquet/cook'
});
},
goTabHotel () {
uni.switchTab({
- url: '/pages/banquet/hotel/list'
+ url: '/pages/tab/banquet/hotel'
});
},
@@ -103,9 +92,6 @@ export default defineComponent({
handleClick (e) {
console.log(e)
},
- // onChange (e) {
- // console.log(e)
- // },
handleClickCategory (index: number) {
this.categoryIndex = index;
@@ -118,26 +104,12 @@ export default defineComponent({
this.$refs.pagingRefSP?.reload();
},
- // getCategoryList () {
- // CommonApi.commonGet('/api/dishes/category').catch((res) => {
- // if (res.code === 1) {
- // this.categoryList = res.data;
- // this.handleClickCategory(0)
- // } else {
- // uni.$u.toast(res.msg);
- // }
- // });
- // },
-
//列表分页
changeSP () {
- // console.log(pageNo);
- // this.search.page = pageNo;
CommonApi.commonGet('/api/banquet/chef/list', this.search).catch((res) => {
if (res.code === 1) {
this.matchedItems_sp = res.data;
// this.$refs.pagingRefSP?.complete(res.data);
- // console.log(res);
} else {
uni.$u.toast(res.msg);
}
@@ -148,7 +120,7 @@ export default defineComponent({
goodsDetail (id: number) {
console.log(id);
uni.navigateTo({
- url: `/pages/common/goods/detail?id=${id}&is_add=1`
+ url: `/pages/common/goods/detail?id=${id}`
});
},
diff --git a/src/pages/tab/user/index.vue b/src/pages/tab/user/index.vue
index 59452ce..8ea9e32 100644
--- a/src/pages/tab/user/index.vue
+++ b/src/pages/tab/user/index.vue
@@ -29,10 +29,10 @@
-
-
+
@@ -96,7 +96,8 @@ function orderList () {
function banquet () {
uni.$u.route({
type: 'navigateTo',
- url: '/pages/banquet/combo/index',
+ // url: '/pages/banquet/combo/index',
+ url: '/pages/banquet/order/list',
});
}
diff --git a/src/router/index.ts b/src/router/index.ts
index 9029a64..c84f1f3 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,7 +1,7 @@
import pagesJson from '@/pages.json';
// 路径常量
-export const HOME_PATH = '/pages/tab/home/index';
+export const HOME_PATH = '/pages/tab/banquet/index';
export const LOGIN_PATH = '/pages/common/login/index';
export const ERROR404_PATH = '/pages/common/404/index';
diff --git a/src/static/images/tabbar/cook.png b/src/static/images/tabbar/cook.png
new file mode 100644
index 0000000..5b3de55
Binary files /dev/null and b/src/static/images/tabbar/cook.png differ
diff --git a/src/static/images/tabbar/cook_selected.png b/src/static/images/tabbar/cook_selected.png
new file mode 100644
index 0000000..c09f865
Binary files /dev/null and b/src/static/images/tabbar/cook_selected.png differ
diff --git a/src/static/images/tabbar/hotel.png b/src/static/images/tabbar/hotel.png
new file mode 100644
index 0000000..dad056f
Binary files /dev/null and b/src/static/images/tabbar/hotel.png differ
diff --git a/src/static/images/tabbar/hotel_selected.png b/src/static/images/tabbar/hotel_selected.png
new file mode 100644
index 0000000..e646e01
Binary files /dev/null and b/src/static/images/tabbar/hotel_selected.png differ