diff --git a/pages/goods/categoryList/categoryList.js b/pages/goods/categoryList/categoryList.js index 52c0d37..dba5888 100644 --- a/pages/goods/categoryList/categoryList.js +++ b/pages/goods/categoryList/categoryList.js @@ -67,7 +67,7 @@ Page({ if (e.categoryset.indexOf("," + 1 + ",") != -1) { that.setData({ is_show_pl: 1 }); } if (e.categoryset.indexOf("," + 3 + ",") != -1) { that.setData({ is_show_pp: 1 }); } if (e.categoryset.indexOf("," + 2 + ",") != -1) { that.setData({ is_show_gb: 1 }); } - that.setData({ store_config: e }); + that.setData({ store_config: e,is_do:1 }); if (that.data.is_show_pl) that.setData({ currentTab: 0 }); else if (that.data.is_show_gb){ that.setData({ currentTab: 1 });that.get_nation(); } @@ -113,7 +113,7 @@ Page({ continue; } } - t.setData({ catelist: arr}); + t.setData({ catelist: arr}); } }); }, diff --git a/pages/goods/categoryList/categoryList.wxml b/pages/goods/categoryList/categoryList.wxml index 81c0f84..ad2ec9a 100644 --- a/pages/goods/categoryList/categoryList.wxml +++ b/pages/goods/categoryList/categoryList.wxml @@ -90,7 +90,7 @@ - + 商家暂未设置分类 diff --git a/pages/goods/goodsList/goodsList.js b/pages/goods/goodsList/goodsList.js index 4112d61..f33037d 100644 --- a/pages/goods/goodsList/goodsList.js +++ b/pages/goods/goodsList/goodsList.js @@ -67,6 +67,7 @@ Page({ t +="&page=" + e.data.currentPage, a.request(t, function(t) { + e.setData({is_go:1}); e.data.currentPage++, null == e.data.allData && (e.data.allData = Object.assign({}, t.data.result)), wx.stopPullDownRefresh(); }, diff --git a/pages/goods/goodsList/goodsList.wxml b/pages/goods/goodsList/goodsList.wxml index c1343a5..238f338 100644 --- a/pages/goods/goodsList/goodsList.wxml +++ b/pages/goods/goodsList/goodsList.wxml @@ -42,7 +42,7 @@ - + 没有相关的数据 去逛逛