Commit a0453825 authored by 任国军's avatar 任国军

add option distance

parent e72a7682
Pipeline #15076 passed with stage
in 36 seconds
...@@ -21,7 +21,15 @@ const AGE_CATS = [ ...@@ -21,7 +21,15 @@ const AGE_CATS = [
const INSTITUTION_TYPE = [ const INSTITUTION_TYPE = [
{ id: -14, name: '全部', value: '' }, { id: -14, name: '全部', value: '' },
{ id: -15, name: '品牌', value: '品牌' }, { id: -15, name: '品牌', value: '品牌' },
{ id: -16, name: '距离', value: '距离' }, ];
const DISTANCES = [
{ id: -16, name: '全部', value: 0 },
{ id: -17, name: '500米以内', value: 500 },
{ id: -18, name: '1公里以内', value: 1000 },
{ id: -19, name: '2公里以内', value: 2000 },
{ id: -20, name: '3公里以内', value: 3000 },
{ id: -21, name: '5公里以内', value: 5000 },
]; ];
class OptionService extends Service { class OptionService extends Service {
...@@ -40,6 +48,7 @@ class OptionService extends Service { ...@@ -40,6 +48,7 @@ class OptionService extends Service {
cats: tree_cats, cats: tree_cats,
ages: AGE_CATS, ages: AGE_CATS,
institutions: INSTITUTION_TYPE, institutions: INSTITUTION_TYPE,
distances: DISTANCES,
}; };
return options; return options;
} }
......
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