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