From d928f8fe5526827f48d507a6c8584bfac80be98e Mon Sep 17 00:00:00 2001 From: 20300 <643145201@qq.com> Date: Thu, 7 Mar 2024 21:24:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=84=E5=BB=BA=E4=BA=86=E5=8D=8A=E5=8D=8A?= =?UTF-8?q?=E6=88=90=E5=93=81=E7=9A=84=E7=BB=84=E4=BB=B6,=E6=98=8E?= =?UTF-8?q?=E5=A4=A9=E8=A6=81=E7=AD=9B=E9=80=89=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/product/category.js | 9 ++ src/components/CheckBrand/index.vue | 102 ++++++++++++++++++ src/views/product/category/index.vue | 156 +++++++++++++++++++++++++++ 3 files changed, 267 insertions(+) create mode 100644 src/api/product/category.js create mode 100644 src/components/CheckBrand/index.vue create mode 100644 src/views/product/category/index.vue diff --git a/src/api/product/category.js b/src/api/product/category.js new file mode 100644 index 0000000..3523757 --- /dev/null +++ b/src/api/product/category.js @@ -0,0 +1,9 @@ +import request from '@/utils/request' + +export function getCategoryList(likeName) { + return request({ + url: '/product/category/getCategoryList', + method: 'get', + data: likeName + }) +} diff --git a/src/components/CheckBrand/index.vue b/src/components/CheckBrand/index.vue new file mode 100644 index 0000000..cd5723d --- /dev/null +++ b/src/components/CheckBrand/index.vue @@ -0,0 +1,102 @@ + + + + + + 选择属性关联关系 + + + + 已选属性 + + + + {{brand.name}} + + + + + + 可选属性 + + + + {{brand.name}} + + + + + + + + + diff --git a/src/views/product/category/index.vue b/src/views/product/category/index.vue new file mode 100644 index 0000000..0eabadd --- /dev/null +++ b/src/views/product/category/index.vue @@ -0,0 +1,156 @@ + + + 新增 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +