diff --git a/src/pages.json b/src/pages.json index 55154ef..c8c4dfd 100644 --- a/src/pages.json +++ b/src/pages.json @@ -45,7 +45,22 @@ }, { "root": "pages/shop", - "pages": [] + "pages": [ + { + "path": "detail", + "style": { + "navigationBarTitleText": "", + "disableScroll": true + } + }, + { + "path": "product-detail", + "style": { + "navigationBarTitleText": "", + "disableScroll": true + } + } + ] }, { "root": "pages/apply", diff --git a/src/pages/shop/components/product-car.vue b/src/pages/shop/components/product-car.vue new file mode 100644 index 0000000..6235c7b --- /dev/null +++ b/src/pages/shop/components/product-car.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/src/pages/shop/components/product-row.vue b/src/pages/shop/components/product-row.vue new file mode 100644 index 0000000..4c5a6cf --- /dev/null +++ b/src/pages/shop/components/product-row.vue @@ -0,0 +1,96 @@ + + + + + diff --git a/src/pages/shop/components/product-total.vue b/src/pages/shop/components/product-total.vue new file mode 100644 index 0000000..8a5aef4 --- /dev/null +++ b/src/pages/shop/components/product-total.vue @@ -0,0 +1,59 @@ + + + + + + \ No newline at end of file diff --git a/src/pages/shop/detail.vue b/src/pages/shop/detail.vue new file mode 100644 index 0000000..9270683 --- /dev/null +++ b/src/pages/shop/detail.vue @@ -0,0 +1,410 @@ + + + + + diff --git a/src/pages/shop/product-detail.vue b/src/pages/shop/product-detail.vue new file mode 100644 index 0000000..a195710 --- /dev/null +++ b/src/pages/shop/product-detail.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/src/pages/tabbar/shop.vue b/src/pages/tabbar/shop.vue index 938247e..fd0a9a3 100644 --- a/src/pages/tabbar/shop.vue +++ b/src/pages/tabbar/shop.vue @@ -8,7 +8,7 @@ import { merchantApi } from "@@/api"; const state = reactive({ pa: { pagesize: 10, - type: "shop", + type: "canteen", }, }); @@ -46,7 +46,7 @@ const query = (page: number, pagesize: number) => { class="flex-row card p-20rpx m-b-20rpx" v-for="(v, i) in pageHook.list" :key="i" - @tap="router.jump('/pages/merchant/detail', { id: v.id })" + @tap="router.jump('/pages/shop/detail', { id: v.id })" >