Commit e19806fd authored by Hsinli's avatar Hsinli

addd

parent fda4ad6b
Pipeline #19314 passed with stage
in 57 seconds
......@@ -73,15 +73,15 @@ class OptionService extends Service {
//获取筛选项
async getOptions(city_code) {
let brands = await this.getDevelopers(city_code);
brands.unshift({ id: -145, name: '不限', image: '', value: 0 });
// let brands = await this.getDevelopers(city_code);
// brands.unshift({ id: -145, name: '不限', image: '', value: 0 });
const house_types = HOUSE_TYPE;
const prices = PRICE_RANGE;
const areas = await this.getAreaOptions(city_code);
return {
result: [
{ name: '品牌', id: -1, path: [], nameShow: '', _children: brands },
// { name: '品牌', id: -1, path: [], nameShow: '', _children: brands },
{ name: '区域', id: -2, path: [], nameShow: '', _children: areas },
{ name: '价格', id: -3, path: [], nameShow: '', _children: prices },
{ name: '户型', id: -4, path: [], nameShow: '', _children: house_types }
......@@ -109,7 +109,7 @@ class OptionService extends Service {
},
{ name: '面积', id: -5, path: [], nameShow: '', _children: house_area },
// { name: '户型', id: -6, path: [], nameShow: '', _children: house_types },
{ name: '贷款方式', id: -6, path: [], nameShow: '', _children: loan_type },
// { name: '贷款方式', id: -6, path: [], nameShow: '', _children: loan_type },
]
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment