Fix:【商城小程序】寻趣味页面调整 && 选择城市后城市名称被强制改成当前城市
This commit is contained in:
@@ -192,7 +192,9 @@ export default {
|
||||
if (map.length > 1) {
|
||||
const {latitude, longitude} = map[1]
|
||||
const address = await getCurAddress(latitude, longitude)
|
||||
this.cityName = address[1].data.result.ad_info.city
|
||||
if(!this.cityName) {
|
||||
this.cityName = address[1].data.result.ad_info.city
|
||||
}
|
||||
this.search()
|
||||
}
|
||||
},
|
||||
@@ -347,7 +349,7 @@ export default {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.list {
|
||||
width: 328rpx;
|
||||
width: 348rpx;
|
||||
.item {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
|
||||
Reference in New Issue
Block a user