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 @@ - - - + + + + + + + + + + + +
@@ -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 @@