diff --git a/src/api/pad.js b/src/api/pad.js new file mode 100644 index 0000000..ebb8bd5 --- /dev/null +++ b/src/api/pad.js @@ -0,0 +1,71 @@ +import request from "@/utils/request"; + +/** + * Pad商品版式布局列表 + * @returns + */ +export function layoutlist(params) { + return request({ + url: "/api/pad/layout/list", + method: "get", + params + }); +} + +/** + * 新建 + * @returns + */ +export function productGroup(data) { + return request({ + url: "/api/pad/productCategory", + method: "post", + data + }); +} + +/** + * Pad点餐列表 + * @returns + */ +export function productGrouppage(params) { + return request({ + url: "/api/pad/productCategory/page", + method: "get", + params + }); +} + +/** + * 获取详情 + * @returns + */ +export function productCategoryDetail(id) { + return request({ + url: `/api/pad/productCategory/${id}`, + method: "get" + }); +} + +/** + * 删除 + * @returns + */ +export function productCategoryDelete(id) { + return request({ + url: `/api/pad/productCategory/${id}`, + method: "DELETE" + }); +} + +/** + * 修改 + * @returns + */ +export function productGroupPut(data) { + return request({ + url: "/api/pad/productCategory", + method: "put", + data + }); +} diff --git a/src/components/shopList/index.vue b/src/components/shopList/index.vue index e24f0ad..fa2f6c1 100644 --- a/src/components/shopList/index.vue +++ b/src/components/shopList/index.vue @@ -1,5 +1,5 @@ + + + - + 取 消 确 定 @@ -69,6 +74,13 @@ + + \ No newline at end of file diff --git a/src/views/shop/components/shopInfo.vue b/src/views/shop/components/shopInfo.vue index acf9e78..e7d6ca8 100644 --- a/src/views/shop/components/shopInfo.vue +++ b/src/views/shop/components/shopInfo.vue @@ -9,29 +9,62 @@ - +
+ + +
- - + + +
+ + 下载 +
- +
+ + +
- +
+ + 下载 +
+
+ + + 快餐版(先支付后下单) + 餐饮版(先下单后支付) + + + + + 堂食自取 + 允许打包 + @@ -58,7 +91,8 @@
注:准确的定位便于用户导航到店铺
- + @@ -78,7 +112,7 @@ - + @@ -171,6 +205,7 @@ \ No newline at end of file diff --git a/src/views/shop/shop_configuration.vue b/src/views/shop/shop_configuration.vue index bf9ec77..9d066f3 100644 --- a/src/views/shop/shop_configuration.vue +++ b/src/views/shop/shop_configuration.vue @@ -2,14 +2,14 @@
- - + + - +