From 1f9a61321819affa7b5aeda0b1ab3f8613a880f4 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Tue, 18 Dec 2018 18:45:07 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=A0=B9=E6=8D=AE=E7=8A=B6=E6=80=81=E8=BF=87?= =?UTF-8?q?=E6=BB=A4]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/cardorder/index/index.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pages/cardorder/index/index.js b/pages/cardorder/index/index.js index 2350484..ab36067 100644 --- a/pages/cardorder/index/index.js +++ b/pages/cardorder/index/index.js @@ -5,17 +5,17 @@ let app = getApp(); Page({ data: { tabs: [{ - key: 0, + key: 4, name: "使用中" }, { - key: 1, + key: 5, name: "已失效" } ], list: [], - current: "0", - current_scroll: "0", + current: "4", + current_scroll: "4", page: 1, allow_load: true, loading: true, //"上拉加载"的变量,默认false,隐藏 @@ -24,7 +24,7 @@ Page({ showPage:false }, onLoad() { - this.getList(0, 1); + this.getList(4, 1); }, onShow: function () { let that = this; @@ -74,7 +74,8 @@ Page({ data: { pageNum: pageNum, pageSize: 6, - couponType:7 + couponType:"7", + couponOrderStatus: key } }) .then(res => {