diff --git a/pages/index/index.js b/pages/index/index.js index 048da2f..b4fc7be 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -50,7 +50,6 @@ Page({ popularity_products: data.filter(product => product.flag === '最热'), new_products: data.filter(product => product.flag === '新品'), hot_products: data.filter(product => product.flag === '火爆'), - promotions: data.filter(product => product.flag === '促销'), }) wx.setStorageSync('products', data) }) diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 364f1ed..2fbe9e2 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -59,18 +59,5 @@ - - - - - 促销 - - - - - - - -