diff --git a/pages/navigation/search/searchPage.vue b/pages/navigation/search/searchPage.vue
index d0da958..b953834 100644
--- a/pages/navigation/search/searchPage.vue
+++ b/pages/navigation/search/searchPage.vue
@@ -129,18 +129,6 @@
-
-
-
-
-
-
-
- 没有找到相关的商品信息
- 请换一个关键词试试吧
-
-
-
+
+
+
+
+
+
+ 没有找到相关的商品信息
+ 请换一个关键词试试吧
+
+
@@ -281,6 +280,7 @@ import storage from "@/utils/storage";
export default {
data() {
return {
+ empty:false,
scrollTop: 0,
loadIndex: 10,
oldKeywordIndex: "",
@@ -709,8 +709,11 @@ export default {
let goodsList = await getGoodsList(this.params);
if (goodsList.data.result.content.length < 10) {
- this.loadingType = "noMore";
- }
+ this.loadingType = "noMore";
+ this.empty = true
+ } else {
+ this.empty = false
+ }
this.goodsList.push(...goodsList.data.result.content);
this.initSortGoods();
uni.hideLoading();