diff --git a/pages/userList/filter.json b/pages/userList/filter.json index 3b182b9..c35cc5a 100644 --- a/pages/userList/filter.json +++ b/pages/userList/filter.json @@ -226,31 +226,6 @@ "value": "双鱼座" }] }, - "household_register": { - "name": "户籍", - "selected": "", - "data": [{ - "value": "不限" - },{ - "value": "良庆区" - },{ - "value": "江南区" - },{ - "value": "青秀区" - },{ - "value": "兴宁区" - },{ - "value": "西乡塘区" - },{ - "value": "武鸣区" - },{ - "value": "空港经济区" - },{ - "value": "五象新区" - },{ - "value": "其他地区" - }] - }, "place_residence": { "name": "居住地区", "selected": "", diff --git a/pages/userList/userList.vue b/pages/userList/userList.vue index ec553b2..3fda629 100644 --- a/pages/userList/userList.vue +++ b/pages/userList/userList.vue @@ -20,7 +20,7 @@ 会员编号搜索 - + {{ value.name }} @@ -64,12 +64,18 @@ show_filter: false, filter: this.productionObj(), filter_key: '', - name: '最新' + name: '最新', + on_focus: false } }, onLoad(options){ console.log(this.filter) this.name = options.name || this.name; + if(this.name == '搜索') { + this.show_filter = true; + this.filter_key = 'search'; + this.on_focus = true; + } }, methods: { // 引入数据,并序列化,避免数据引用