邓洁 : 修改搜索框bug
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<view class="root">
|
||||
<InputAndSwiper @getQueryInfo="getInput" :bannerURL="swiperList"></InputAndSwiper>
|
||||
<InputAndSwiper @getQueryInfo="getInput" :bannerURL="swiperList" :refresh="isRefresh"></InputAndSwiper>
|
||||
|
||||
<view>
|
||||
<view class="dropdown-bug">
|
||||
@@ -29,14 +29,15 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
pageSize: 3,
|
||||
pageSize: 4,
|
||||
pageNum: 1,
|
||||
searchInfoList: [],
|
||||
swiperList: [],
|
||||
customQuery: {},
|
||||
searchListLength: '',
|
||||
showNull: false,
|
||||
refresh: false
|
||||
refresh: false,
|
||||
isRefresh: false
|
||||
}
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
@@ -56,6 +57,7 @@
|
||||
},
|
||||
onReachBottom() {
|
||||
if (!this.refresh && this.searchListLength !== 0) {
|
||||
this.isRefresh = true
|
||||
this.pageNum++
|
||||
this.getShopList()
|
||||
console.log("触底加载");
|
||||
|
||||
Reference in New Issue
Block a user