From 3fcedabe2b7ef40058c8d16a612b6c7542261cda Mon Sep 17 00:00:00 2001
From: gukai <1522776404@qq.com>
Date: Thu, 25 Apr 2024 16:35:04 +0800
Subject: [PATCH] 1
---
mall/cat/index.vue | 13 ++++++++-----
mall/goods/index.vue | 37 ++++++++++++++++++++++++++++++++-----
store/cat/index.vue | 13 +++++++------
3 files changed, 47 insertions(+), 16 deletions(-)
diff --git a/mall/cat/index.vue b/mall/cat/index.vue
index 122b368..fb788a1 100644
--- a/mall/cat/index.vue
+++ b/mall/cat/index.vue
@@ -1,16 +1,19 @@
-
+
新增
-
- {{ cat.name }}
-
+
+
+ {{ cat.name }}
+
+
+
diff --git a/mall/goods/index.vue b/mall/goods/index.vue
index 75bf1b6..a4e0a4f 100644
--- a/mall/goods/index.vue
+++ b/mall/goods/index.vue
@@ -12,10 +12,20 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -93,6 +103,7 @@ const classify_id = ref(0)
const params = ref({
keywords: "",
status: "",
+ apply_status: 1
})
const yListRef = ref(null)
@@ -100,7 +111,8 @@ const search = ({ value }) => {
yListRef.value.upData({
keywords: value,
classify_id: classify_id.value,
- status: params.value.status
+ status: params.value.status,
+ apply_status: params.value.apply_status,
})
}
const searchType = ref('全部')
@@ -117,6 +129,21 @@ const menu = ref([
content: '已下架'
}
])
+
+const apply_list = ref([
+ {
+ id: 0,
+ name: '审核中'
+ },
+ {
+ id: 1,
+ name: '审核通过'
+ },
+ {
+ id: 2,
+ name: '审核失败'
+ }
+])
function changeSearchType({ item, index }) {
searchType.value = item.content
diff --git a/store/cat/index.vue b/store/cat/index.vue
index 2ec55aa..6adecda 100644
--- a/store/cat/index.vue
+++ b/store/cat/index.vue
@@ -1,17 +1,18 @@
-
+
新增
-
- {{ cat.name }}
-
-
+
+
+ {{ cat.name }}
+
+