From ff9668870b04193022183d064a9029f5c168c1a5 Mon Sep 17 00:00:00 2001 From: xuwenbo <717567226@qq.com> Date: Thu, 3 Sep 2020 13:28:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=B6=B3=E8=BF=B9=EF=BC=8C?= =?UTF-8?q?=E6=94=B6=E8=97=8F=E5=90=8E=E7=AB=AF=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/yxStoreProductRelation.js | 27 ++++++ src/views/shop/collect/index.vue | 145 ++++++++++++++++++++++++++++ src/views/shop/foot/index.vue | 20 +++- src/views/wechat/template/index.vue | 3 +- 4 files changed, 191 insertions(+), 4 deletions(-) create mode 100644 src/views/shop/collect/index.vue diff --git a/src/api/yxStoreProductRelation.js b/src/api/yxStoreProductRelation.js index e69de29..b99f858 100644 --- a/src/api/yxStoreProductRelation.js +++ b/src/api/yxStoreProductRelation.js @@ -0,0 +1,27 @@ +import request from '@/utils/request' + +export function add(data) { + return request({ + url: 'api/yxStoreProductRelation', + method: 'post', + data + }) +} + +export function del(ids) { + return request({ + url: 'api/yxStoreProductRelation/', + method: 'delete', + data: ids + }) +} + +export function edit(data) { + return request({ + url: 'api/yxStoreProductRelation', + method: 'put', + data + }) +} + +export default { add, edit, del } diff --git a/src/views/shop/collect/index.vue b/src/views/shop/collect/index.vue new file mode 100644 index 0000000..e918bbd --- /dev/null +++ b/src/views/shop/collect/index.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/src/views/shop/foot/index.vue b/src/views/shop/foot/index.vue index 8f0d44e..a1e5a25 100644 --- a/src/views/shop/foot/index.vue +++ b/src/views/shop/foot/index.vue @@ -41,9 +41,22 @@ + - - + + + + + + +