|
|
@@ -122,17 +122,17 @@ const filterListy = ref<any>([
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
- {
|
|
|
- title: '价格区间',
|
|
|
- key: 'price',
|
|
|
- id: '',
|
|
|
- list: [
|
|
|
- {
|
|
|
- id: '',
|
|
|
- title: '全部'
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '价格区间',
|
|
|
+ // key: 'price',
|
|
|
+ // id: '',
|
|
|
+ // list: [
|
|
|
+ // {
|
|
|
+ // id: '',
|
|
|
+ // title: '全部'
|
|
|
+ // }
|
|
|
+ // ]
|
|
|
+ // },
|
|
|
{
|
|
|
title: '推荐标签',
|
|
|
key: 'label',
|
|
|
@@ -180,22 +180,22 @@ onMounted(() => {
|
|
|
});
|
|
|
|
|
|
// 获取价格区间列表
|
|
|
- getPriceRangeList({}).then((res) => {
|
|
|
- if (res.code == 200) {
|
|
|
- res.data.forEach((item: any) => {
|
|
|
- item.title = item.minPrice + '-' + item.maxPrice;
|
|
|
- item.id = item.minPrice + '-' + item.maxPrice;
|
|
|
- filterListy.value[2].list.push(item);
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
+ // getPriceRangeList({}).then((res) => {
|
|
|
+ // if (res.code == 200) {
|
|
|
+ // res.data.forEach((item: any) => {
|
|
|
+ // item.title = item.minPrice + '-' + item.maxPrice;
|
|
|
+ // item.id = item.minPrice + '-' + item.maxPrice;
|
|
|
+ // filterListy.value[2].list.push(item);
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // });
|
|
|
|
|
|
// 推荐标签
|
|
|
getCustomerTag({}).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
res.data.forEach((item: any) => {
|
|
|
item.title = item.tagName;
|
|
|
- filterListy.value[3].list.push(item);
|
|
|
+ filterListy.value[2].list.push(item);
|
|
|
});
|
|
|
}
|
|
|
});
|