jiazhipeng 3 months ago
parent
commit
8ec77fed78
  1. 7
      subPackages/search/searchList.vue

7
subPackages/search/searchList.vue

@ -53,7 +53,7 @@
</div> </div>
</div> </div>
<div class="list-common-empty" v-if="list.length==0"> <div class="list-common-empty" v-if="list.length==0 && finished">
<img src="https://static.ticket.sz-trip.com/taizhou/images/noData.png" /> <img src="https://static.ticket.sz-trip.com/taizhou/images/noData.png" />
<p class="list-common-empty-tip">暂无内容</p> <p class="list-common-empty-tip">暂无内容</p>
</div> </div>
@ -91,6 +91,7 @@
'units':'文化单位', 'units':'文化单位',
'red_map':'红色地图' 'red_map':'红色地图'
}, },
finished: false,
} }
}, },
onLoad(options) { onLoad(options) {
@ -164,10 +165,12 @@
}, },
complete: () => { complete: () => {
uni.hideLoading() uni.hideLoading()
this.Post({name: this.keywords,limit:1},"/api/search/search").finally(()=>{
uni.hideLoading()
})
} }
}) })
this.Post({name: this.keywords,limit:1},"/api/search/search")
} }
}, },
onReachBottom() { onReachBottom() {

Loading…
Cancel
Save