|
|
@ -568,8 +568,6 @@ |
|
|
if(uni.getStorageSync('area')){ |
|
|
if(uni.getStorageSync('area')){ |
|
|
this.searchForm.regionId = JSON.parse(uni.getStorageSync('area')).id; |
|
|
this.searchForm.regionId = JSON.parse(uni.getStorageSync('area')).id; |
|
|
} |
|
|
} |
|
|
this.getDelivery(); |
|
|
|
|
|
this.getShopArea(); |
|
|
|
|
|
let area = JSON.parse(uni.getStorageSync('area')) |
|
|
let area = JSON.parse(uni.getStorageSync('area')) |
|
|
this.areaName = area.title |
|
|
this.areaName = area.title |
|
|
if(uni.getStorageSync('waimaiData')){ |
|
|
if(uni.getStorageSync('waimaiData')){ |
|
|
@ -596,6 +594,8 @@ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
this.getDelivery(); |
|
|
|
|
|
this.getShopArea(); |
|
|
} |
|
|
} |
|
|
// 计算导航栏高度用于sticky offset:statusBarHeight + 40px内容区 |
|
|
// 计算导航栏高度用于sticky offset:statusBarHeight + 40px内容区 |
|
|
const info = uni.getSystemInfoSync(); |
|
|
const info = uni.getSystemInfoSync(); |
|
|
|