From cab6ffb912ba6f340ce6990cd02ff0e54ed38397 Mon Sep 17 00:00:00 2001 From: Ge Hao Date: Wed, 19 Oct 2016 11:16:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=88=A0=E6=8E=89=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E7=B1=BB=E5=88=AB=EF=BC=9A=E4=BF=83=E9=94=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.js | 1 - pages/index/index.wxml | 13 ------------- 2 files changed, 14 deletions(-) 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 @@ - - - - - 促销 - - - - - - - -