From 8e156a27ff0ad2a93a5b142d375f445c9a2c7e73 Mon Sep 17 00:00:00 2001 From: hurui Date: Fri, 25 Oct 2019 15:20:41 +0800 Subject: [PATCH] =?UTF-8?q?[c=E7=AB=AF][=E4=BF=AE=E6=94=B9][=E7=A7=AF?= =?UTF-8?q?=E5=88=86=E5=95=86=E5=9F=8E-=E6=88=91=E5=8F=AF=E6=8D=A2?= =?UTF-8?q?=E8=B4=AD=E5=92=8C=E6=89=80=E9=9C=80=E7=A7=AF=E5=88=86-?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E5=90=8E=E7=82=B9=E5=87=BB=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E5=8F=8D=E5=BA=94]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/integralmall/index.js | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pages/integralmall/index.js b/pages/integralmall/index.js index eff9292..c463c37 100644 --- a/pages/integralmall/index.js +++ b/pages/integralmall/index.js @@ -193,7 +193,9 @@ Page({ let that = this; if (that.data.creditAmount !== 0){ that.setData({ + allow_load:true, userCredit: that.data.creditAmount, + page:1 }) that.getList(1) } @@ -213,9 +215,11 @@ Page({ if (hid == true) { hid = false; that.setData({ + allow_load:true, sort :imgurl.up.url, sortOrder: 'desc', - sortColumn: 'creditPrice' + sortColumn: 'creditPrice', + page: 1 }) that.getList(1) } @@ -224,7 +228,9 @@ Page({ that.setData({ sort: imgurl.down.url, sortOrder: 'asc', - sortColumn: 'creditPrice' + sortColumn: 'creditPrice', + allow_load: true, + page:1 }) that.getList(1) } @@ -342,10 +348,11 @@ Page({ sort: '', sortColumn: '', sortOrder: '', - userCredit: '' + userCredit: '', + page:1 }) + console.log() that.getList(1); that.getPoints(); - } }) \ No newline at end of file