From 6f289b0b5f427a77d9beb419f32bebb78de8287c Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Mon, 8 Apr 2019 17:14:56 +0800 Subject: [PATCH] =?UTF-8?q?fix[litemall-wx]:=20=E5=95=86=E5=93=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E5=88=B7=E6=96=B0=E5=90=8E=EF=BC=8C=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E5=9B=BE=E7=89=87=E4=BC=9A=E5=8F=98=E5=B0=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-wx/pages/goods/goods.js | 13 +------------ renard-wx/pages/goods/goods.js | 11 +---------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/litemall-wx/pages/goods/goods.js b/litemall-wx/pages/goods/goods.js index f372bf45..8d086029 100644 --- a/litemall-wx/pages/goods/goods.js +++ b/litemall-wx/pages/goods/goods.js @@ -687,17 +687,6 @@ Page({ onReady: function() { // 页面渲染完成 - }, - // 下拉刷新 - onPullDownRefresh() { - wx.showNavigationBarLoading() //在标题栏中显示加载 - this.getGoodsInfo(); - wx.hideNavigationBarLoading() //完成停止加载 - wx.stopPullDownRefresh() //停止下拉刷新 - }, - //根据已选的值,计算其它值的状态 - setSpecValueStatus: function() { - - }, + } }) \ No newline at end of file diff --git a/renard-wx/pages/goods/goods.js b/renard-wx/pages/goods/goods.js index f80480ee..78dde35c 100644 --- a/renard-wx/pages/goods/goods.js +++ b/renard-wx/pages/goods/goods.js @@ -661,14 +661,5 @@ Page({ // 页面渲染完成 this.sharePop = this.selectComponent("#sharePop"); this.notify = this.selectComponent("#van-notify"); - }, - // 下拉刷新 - onPullDownRefresh() { - wx.showNavigationBarLoading() //在标题栏中显示加载 - this.getGoodsInfo(); - wx.hideNavigationBarLoading() //完成停止加载 - wx.stopPullDownRefresh() //停止下拉刷新 - }, - //根据已选的值,计算其它值的状态 - setSpecValueStatus: function() {}, + } }) \ No newline at end of file