parent
5972ef1248
commit
8ad7ee78ce
@ -208,14 +208,14 @@
|
|||||||
"text": "首页"
|
"text": "首页"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"iconPath": "static/images/tabbar/shouye.png",
|
"iconPath": "static/images/tabbar/cook.png",
|
||||||
"selectedIconPath": "static/images/tabbar/shouye_selected.png",
|
"selectedIconPath": "static/images/tabbar/cook_selected.png",
|
||||||
"pagePath": "pages/tab/banquet/cook",
|
"pagePath": "pages/tab/banquet/cook",
|
||||||
"text": "选厨师"
|
"text": "选厨师"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"iconPath": "static/images/tabbar/bofang.png",
|
"iconPath": "static/images/tabbar/hotel.png",
|
||||||
"selectedIconPath": "static/images/tabbar/bofang_selected.png",
|
"selectedIconPath": "static/images/tabbar/hotel_selected.png",
|
||||||
"pagePath": "pages/tab/banquet/hotel",
|
"pagePath": "pages/tab/banquet/hotel",
|
||||||
"text": "选酒店"
|
"text": "选酒店"
|
||||||
},
|
},
|
||||||
|
@ -158,7 +158,7 @@
|
|||||||
<view>厨师姓名:{{ server_user.public_name }}</view>
|
<view>厨师姓名:{{ server_user.public_name }}</view>
|
||||||
<view>厨师联系方式:{{ server_user.phone }}</view>
|
<view>厨师联系方式:{{ server_user.phone }}</view>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<wd-button size="small" plain>查看详情</wd-button>
|
<wd-button size="small" plain @click="cookDetail( server_user.id)">查看详情</wd-button>
|
||||||
</template>
|
</template>
|
||||||
</wd-card>
|
</wd-card>
|
||||||
|
|
||||||
@ -385,7 +385,13 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//点击详情
|
||||||
|
cookDetail (id: number) {
|
||||||
|
// console.log(id);
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/pages/banquet/cook/detail?id=${id}`
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
<up-cell-group :border="false">
|
<up-cell-group :border="false">
|
||||||
<view class="detail-box" v-for="(item, index) in matchedItems_sp" :key="index">
|
<view class="detail-box" v-for="(item, index) in matchedItems_sp" :key="index">
|
||||||
<u-cell :border="false" @click="goodsDetail(item.id)">
|
<u-cell :border="false" @click="cookDetail(item.id)">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<wd-img :width="100" :height="100" :src="item.avatar" :enable-preview="false" :radius="8" :round=false
|
<wd-img :width="100" :height="100" :src="item.avatar" :enable-preview="false" :radius="8" :round=false
|
||||||
custom-class="margin-right-24" />
|
custom-class="margin-right-24" />
|
||||||
@ -132,10 +132,10 @@ export default defineComponent({
|
|||||||
|
|
||||||
},
|
},
|
||||||
//点击详情
|
//点击详情
|
||||||
goodsDetail (id: number) {
|
cookDetail (id: number) {
|
||||||
// console.log(id);
|
// console.log(id);
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/banquet/cook/detail?id=${id}&is_add=1`
|
url: `/pages/banquet/cook/detail?id=${id}`
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import pagesJson from '@/pages.json';
|
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 LOGIN_PATH = '/pages/common/login/index';
|
||||||
export const ERROR404_PATH = '/pages/common/404/index';
|
export const ERROR404_PATH = '/pages/common/404/index';
|
||||||
|
|
||||||
|
BIN
src/static/images/tabbar/cook.png
Normal file
BIN
src/static/images/tabbar/cook.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
BIN
src/static/images/tabbar/cook_selected.png
Normal file
BIN
src/static/images/tabbar/cook_selected.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.4 KiB |
BIN
src/static/images/tabbar/hotel.png
Normal file
BIN
src/static/images/tabbar/hotel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
src/static/images/tabbar/hotel_selected.png
Normal file
BIN
src/static/images/tabbar/hotel_selected.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
Loading…
x
Reference in New Issue
Block a user