邓洁 : 修改搜索细节

This commit is contained in:
邓洁
2023-11-28 12:14:56 +08:00
parent 2000ce91af
commit 2a0144d1bd
10 changed files with 296 additions and 170 deletions

View File

@@ -59,7 +59,7 @@
// }
this.getShopList(q, "refresh")
this.$refs.dropdown.resetInfo()
this.keyword = ''
// }
},
onReachBottom() {
@@ -90,6 +90,11 @@
this.$api.getShopList(q).then(res => {
this.shopListLength = res.data.data.length
this.shopInfoList = res.data.data
if (res.data.data.length == 0) {
this.showNull = true
} else {
this.showNull = false
}
})
},
getShopList(q, type) {

View File

@@ -59,7 +59,7 @@
// }
this.getShopList(q, "refresh")
this.$refs.dropdown.resetInfo()
this.keyword = ''
// }
},
onReachBottom() {
@@ -90,6 +90,11 @@
this.$api.getShopList(q).then(res => {
this.shopListLength = res.data.data.length
this.shopInfoList = res.data.data
if (res.data.data.length == 0) {
this.showNull = true
} else {
this.showNull = false
}
})
},
getShopList(q, type) {

View File

@@ -58,6 +58,7 @@
// }
this.getShopList(q, "refresh")
this.$refs.dropdown.resetInfo()
this.keyword = ''
// }
},
onReachBottom() {
@@ -88,6 +89,11 @@
this.$api.getShopList(q).then(res => {
this.searchListLength = res.data.data.length
this.searchInfoList = res.data.data
if (res.data.data.length == 0) {
this.showNull = true
} else {
this.showNull = false
}
})
},
getShopList(q, type) {

View File

@@ -58,7 +58,7 @@
// }
this.getShopList(q, "refresh")
this.$refs.dropdown.resetInfo()
this.keyword = ''
// }
},
onReachBottom() {
@@ -89,6 +89,11 @@
this.$api.getShopList(q).then(res => {
this.shopListLength = res.data.data.length
this.shopInfoList = res.data.data
if (res.data.data.length == 0) {
this.showNull = true
} else {
this.showNull = false
}
})
},
getShopList(q, type) {