|  |  | @@ -143,7 +143,7 @@ Page({ | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | getsubMallList() { | 
		
	
		
			
			|  |  |  | Http.get({ | 
		
	
		
			
			|  |  |  | url: '/mall/subMall?isAll=0', | 
		
	
		
			
			|  |  |  | url: '/mall/subMall?isAll=1', | 
		
	
		
			
			|  |  |  | }).then(res => { | 
		
	
		
			
			|  |  |  | tt.setStorageSync('shopList', JSON.stringify(res.data)); | 
		
	
		
			
			|  |  |  | this.setData({ | 
		
	
	
		
			
				|  |  | @@ -665,10 +665,16 @@ Page({ | 
		
	
		
			
			|  |  |  | // 切换至最近的广场 | 
		
	
		
			
			|  |  |  | const locationFlag = tt.getStorageSync('locationFlag'); | 
		
	
		
			
			|  |  |  | if ((item.distance == nearestDistance)) { | 
		
	
		
			
			|  |  |  | that.bindPickerChange('', index, item.tenantId) | 
		
	
		
			
			|  |  |  | tt.setStorageSync('locationFlag', false); | 
		
	
		
			
			|  |  |  | if (locationFlag) { | 
		
	
		
			
			|  |  |  | that.bindPickerChange('', index, item.tenantId) | 
		
	
		
			
			|  |  |  | tt.setStorageSync('locationFlag', false); | 
		
	
		
			
			|  |  |  | } else { | 
		
	
		
			
			|  |  |  | that.bindPickerChange('', ttt.getStorageSync('mallIndex'), tt.getStorageSync('mallTenantId')) | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | return true | 
		
	
		
			
			|  |  |  | } else { | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | return false | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }) | 
		
	
	
		
			
				|  |  | @@ -677,6 +683,7 @@ Page({ | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | // 拒绝提供定位权限 | 
		
	
		
			
			|  |  |  | fail: error => { | 
		
	
		
			
			|  |  |  | console.log(error); | 
		
	
		
			
			|  |  |  | const shopList = JSON.parse(tt.getStorageSync('shopList')); | 
		
	
	
		
			
				|  |  | @@ -692,7 +699,13 @@ Page({ | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | console.log(obj, 'obj'); | 
		
	
		
			
			|  |  |  | that.bindPickerChange('', obj.index, obj.tenantId) | 
		
	
		
			
			|  |  |  | const locationFlag = tt.getStorageSync('locationFlag'); | 
		
	
		
			
			|  |  |  | if (locationFlag) { | 
		
	
		
			
			|  |  |  | that.bindPickerChange('', obj.index, obj.tenantId) | 
		
	
		
			
			|  |  |  | tt.setStorageSync('locationFlag', false); | 
		
	
		
			
			|  |  |  | } else { | 
		
	
		
			
			|  |  |  | that.bindPickerChange('', ttt.getStorageSync('mallIndex'), tt.getStorageSync('mallTenantId')) | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | complete: finish => { | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
				|  |  | 
 |