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