From f42ac8c85d99b64dc0e93d10ef1f3d0e66595b9d Mon Sep 17 00:00:00 2001
From: yaoxin <1752800946@qq.com>
Date: Sun, 3 Mar 2024 14:30:29 +0800
Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E6=A8=A1=E5=9D=97=E5=B1=9E?=
=?UTF-8?q?=E6=80=A7=E7=BB=84=E5=A2=9E=E5=88=A0=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/CheckAttribute/index.vue | 143 +++++++++++++++++++
src/components/CheckAttributeGroup/index.vue | 139 ++++++++++++++++++
src/components/CheckBrand/index.vue | 139 ++++++++++++++++++
src/main.js | 9 ++
src/views/product/category/index.vue | 79 ++++++----
5 files changed, 485 insertions(+), 24 deletions(-)
create mode 100644 src/components/CheckAttribute/index.vue
create mode 100644 src/components/CheckAttributeGroup/index.vue
create mode 100644 src/components/CheckBrand/index.vue
diff --git a/src/components/CheckAttribute/index.vue b/src/components/CheckAttribute/index.vue
new file mode 100644
index 0000000..81fb799
--- /dev/null
+++ b/src/components/CheckAttribute/index.vue
@@ -0,0 +1,143 @@
+
+
+
+
+ 选择属性关联关系
+
+
+
+ 已选择属性
+
+
+
+
+ {{ attribute.name }}
+
+
+
+
+
+
+
+ 未选属性
+
+
+
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+ {{ attribute.name }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/CheckAttributeGroup/index.vue b/src/components/CheckAttributeGroup/index.vue
new file mode 100644
index 0000000..a047454
--- /dev/null
+++ b/src/components/CheckAttributeGroup/index.vue
@@ -0,0 +1,139 @@
+
+
+
+
+ 选择属性组关联关系
+
+
+
+ 已选择属性组
+
+
+
+
+ {{ attributeGroup.name }}
+
+
+
+
+
+
+
+ 未选属性组
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+ {{ attributeGroup.name }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/CheckBrand/index.vue b/src/components/CheckBrand/index.vue
new file mode 100644
index 0000000..6692cfe
--- /dev/null
+++ b/src/components/CheckBrand/index.vue
@@ -0,0 +1,139 @@
+
+
+
+
+ 选择品牌关联关系
+
+
+
+ 已选择品牌
+
+
+
+
+ {{ brand.nam }}
+
+
+
+
+
+
+
+ 未选品牌
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+ {{ brand.nam }}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main.js b/src/main.js
index 546f125..ec9f715 100644
--- a/src/main.js
+++ b/src/main.js
@@ -37,6 +37,12 @@ import DictTag from '@/components/DictTag'
import VueMeta from 'vue-meta'
// 字典数据组件
import DictData from '@/components/DictData'
+// 属性选择
+import CheckAttribute from "@/components/CheckAttribute/index.vue";
+// 属性组选择
+import CheckAttributeGroup from "@/components/CheckAttributeGroup/index.vue";
+// 品牌选择
+import CheckBrand from "@/components/CheckBrand/index.vue";
// 全局方法挂载
Vue.prototype.getDicts = getDicts
@@ -57,6 +63,9 @@ Vue.component('Editor', Editor)
Vue.component('FileUpload', FileUpload)
Vue.component('ImageUpload', ImageUpload)
Vue.component('ImagePreview', ImagePreview)
+Vue.component('CheckAttribute', CheckAttribute)
+Vue.component('CheckAttributeGroup', CheckAttributeGroup)
+Vue.component('CheckBrand', CheckBrand)
Vue.use(directive)
Vue.use(plugins)
diff --git a/src/views/product/category/index.vue b/src/views/product/category/index.vue
index e455df8..59992ed 100644
--- a/src/views/product/category/index.vue
+++ b/src/views/product/category/index.vue
@@ -106,30 +106,61 @@
-
-
-
-
-
-
-
-
-
-
-
- {{dict.label}}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{dict.label}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+