|
@@ -56,14 +56,6 @@ Page({
|
|
|
[{"id":1,"name":"商业服务","image":imgUrl+"fbmfw.png"},{"id":2,"name":"便民公厕","image":imgUrl+"fgc.png"},{"id":3,"name":"停车泊车","image":imgUrl+"ftc.png"}]
|
|
|
],
|
|
|
popData:[],
|
|
|
- cur: {},
|
|
|
- position: [
|
|
|
- { value: 'top', text: '顶部弹出' },
|
|
|
- { value: 'left', text: '左侧弹出' },
|
|
|
- { value: 'center', text: '中间弹出' },
|
|
|
- { value: 'bottom', text: '底部弹出' },
|
|
|
- { value: 'right', text: '右侧弹出' },
|
|
|
- ],
|
|
|
showIndex: false,
|
|
|
isSearch: false,
|
|
|
height: 0,
|
|
@@ -190,13 +182,16 @@ Page({
|
|
|
backSearch(){
|
|
|
if(!this.data.isList){
|
|
|
this.setData({
|
|
|
- isList:true
|
|
|
- })
|
|
|
- }
|
|
|
- if(!this.data.showTraffic){
|
|
|
- this.setData({
|
|
|
- showTraffic:true
|
|
|
+ isList:true,
|
|
|
+ showSet:false
|
|
|
})
|
|
|
+ }else{
|
|
|
+ if(!this.data.showTraffic){
|
|
|
+ this.setData({
|
|
|
+ showTraffic:true
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
})
|