|
|
@@ -8,7 +8,7 @@
|
|
|
</div>
|
|
|
<!-- 搜索 -->
|
|
|
<div class="map-search">
|
|
|
- <app-search-module ref="aaaaa" placeholder="请输入你的收货地址" :focus="false" @input="searchFn" />
|
|
|
+ <app-search-module ref="aaaaa" placeholder="请输入你的收货地址" :focus="false" @input="searchFn"/>
|
|
|
</div>
|
|
|
<!-- 地图 -->
|
|
|
<!-- <div class="map-box">
|
|
|
@@ -68,7 +68,7 @@
|
|
|
// longitude: 118.08243,
|
|
|
// 列表
|
|
|
currentSelectAddress: null,
|
|
|
- nearListData: []
|
|
|
+ nearListData: [],
|
|
|
}
|
|
|
},
|
|
|
// onLoad(val) {
|
|
|
@@ -80,10 +80,6 @@
|
|
|
watch: {
|
|
|
show(val) {
|
|
|
this.showPopup = val
|
|
|
- if(val){
|
|
|
- this.keyword = ''
|
|
|
- this.nearListData = []
|
|
|
- }
|
|
|
// #ifdef H5
|
|
|
this.$nextTick(function() {
|
|
|
setTimeout(() => {
|
|
|
@@ -91,11 +87,11 @@
|
|
|
}, 1000)
|
|
|
})
|
|
|
// #endif
|
|
|
-
|
|
|
- // if (val) {
|
|
|
- // this.getAreaList()
|
|
|
- // }
|
|
|
- }
|
|
|
+ },
|
|
|
+ city() {
|
|
|
+ this.nearListData = []
|
|
|
+ this.$refs.aaaaa.search = ''
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
getAreaList() {
|