diff --git a/packageB/pages/coupons/query/index.js b/packageB/pages/coupons/query/index.js index c1ca9ba..40074c9 100644 --- a/packageB/pages/coupons/query/index.js +++ b/packageB/pages/coupons/query/index.js @@ -198,7 +198,7 @@ Page({ var store_id = os.stoid; - this.getData(true, '/api/weshop/users/listExchangeCoupons?pageSize=10', { + this.getData(true, '/api/weshop/users/listExchangeCoupons', { user_id: user_id, store_id: store_id, }).then(()=>{ _this.setData({ @@ -485,7 +485,7 @@ Page({ if(this.data.currentIndex != 3) { this.wjquery(); } else { - this.scrollToLower('/api/weshop/users/listExchangeCoupons?pageSize=10', { + this.scrollToLower('/api/weshop/users/listExchangeCoupons', { user_id: getApp().globalData.user_id, store_id: os.stoid, }, function() { @@ -499,35 +499,35 @@ Page({ //起始时间 - bindDateChenge: function(e) { - console.log("是什么", e.detail.value); - var isBind = false; - this.setData({ - datet: e.detail.value, isBind: isBind - }); - }, + // bindDateChenge: function(e) { + // console.log("是什么", e.detail.value); + // var isBind = false; + // this.setData({ + // datet: e.detail.value, isBind: isBind + // }); + // }, // 结束时间 - bindDateChenges: function(e) { - console.log("是什么", e.detail.value); - var isBinds = false; - this.setData({ - dates: e.detail.value, isBinds: isBinds - }); - }, + // bindDateChenges: function(e) { + // console.log("是什么", e.detail.value); + // var isBinds = false; + // this.setData({ + // dates: e.detail.value, isBinds: isBinds + // }); + // }, //catchtap阻止冒泡,点击清除开始时间的按钮 - eliminate:function(){ - console.log("试试"); - var isBind= true; - var data=""; - this.setData({ datet: data, isBind: isBind}) - }, + // eliminate:function(){ + // console.log("试试"); + // var isBind= true; + // var data=""; + // this.setData({ datet: data, isBind: isBind}) + // }, //catchtap阻止冒泡,点击清除结束时间的按钮 - eliminates: function () { - console.log("试试"); - var isBinds = true; - var dates = ""; - this.setData({ dates: dates, isBinds: isBinds }) - }, + // eliminates: function () { + // console.log("试试"); + // var isBinds = true; + // var dates = ""; + // this.setData({ dates: dates, isBinds: isBinds }) + // },