zhaoxiaohai 3 years ago
parent
commit
f439eeb285
1 changed files with 4 additions and 2 deletions
  1. 4 2
      pages/portal/index.js

+ 4 - 2
pages/portal/index.js

@@ -185,6 +185,8 @@ Page({
                 "method": "getHotProductsList",
                 "content": {
                     "getdatafromdbanyway": true,
+                    "pageNumber": 1,
+                    "pageSize": 5,
                     "ftype": arr[i]
                 }
             }).then(res => {
@@ -260,7 +262,7 @@ Page({
         } = e.detail;
         (title == '全部供需') ? this.query_supplyanddemandList(''): this.query_supplyanddemandList(title);
     },
-    /* 拉取分类列表 */
+    /* 拉取供需分类列表 */
     query_supplyanddemandList(type) {
         _Http.basic({
             "classname": "publicmethod.homepage.homepage",
@@ -268,7 +270,7 @@ Page({
             "content": {
                 "getdatafromdbanyway": true,
                 "pageNumber": 1,
-                "pageSize": 8,
+                "pageSize": 20,
                 "siteid": "BWJ",
                 "where": {
                     "ftype": type