(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/product/discount"],{154:function(n,e,t){"use strict";(function(n){var e=t(3);t(25);e(t(24));var o=e(t(155));wx.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t(1)["createPage"])},155:function(n,e,t){"use strict";t.r(e);var o=t(156),r=t(158);for(var i in r)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return r[n]}))}(i);t(160);var a,c=t(39),u=Object(c["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,"02ec0a5a",null,!1,o["components"],a);u.options.__file="pages/product/discount.vue",e["default"]=u.exports},156:function(n,e,t){"use strict";t.r(e);var o=t(157);t.d(e,"render",(function(){return o["render"]})),t.d(e,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(e,"components",(function(){return o["components"]}))},157:function(n,e,t){"use strict";var o;t.r(e),t.d(e,"render",(function(){return r})),t.d(e,"staticRenderFns",(function(){return a})),t.d(e,"recyclableRender",(function(){return i})),t.d(e,"components",(function(){return o}));try{o={uniLoadMore:function(){return t.e("components/uni-load-more/uni-load-more").then(t.bind(null,322))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var r=function(){var n=this,e=n.$createElement,t=(n._self._c,n.__map(n.navList[n.currentIndex].list,(function(e,t){var o=n.__get_orig(e),r=parseFloat(e.coupon_price),i=parseFloat(e.use_min_price),a=0!=i?parseFloat(e.use_min_price):null;return{$orig:o,m0:r,m1:i,m2:a}})));n.$mp.data=Object.assign({},{$root:{l0:t}})},i=!1,a=[];r._withStripped=!0},158:function(n,e,t){"use strict";t.r(e);var o=t(159),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(i);e["default"]=r.a},159:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=t(33),r=function(){t.e("components/uni-load-more/uni-load-more").then(function(){return resolve(t(322))}.bind(null,t)).catch(t.oe)},i=function(){t.e("components/empty").then(function(){return resolve(t(631))}.bind(null,t)).catch(t.oe)},a={components:{uniLoadMore:r,empty:i},data:function(){return{currentIndex:0,navList:[{tit:"未使用",status:1,list:[],page:1,limit:10,loadingType:"more"},{tit:"已使用",status:2,list:[],page:1,limit:10,loadingType:"more"}],height:""}},onReady:function(){var e=this;n.getSystemInfo({success:function(t){var o=n.createSelectorQuery();o.select(".swiper-box").boundingClientRect(),o.exec((function(n){console.log(n,"ddddddddddddd"),e.height=t.windowHeight-n[0].top+"px",console.log("打印页面的剩余高度",e.height)}))},fail:function(n){}})},onShow:function(){this.loadData()},methods:{tabChange:function(n){this.currentIndex=n,this.loadData()},loadData:function(){var n=this,e=n.currentIndex,t=n.navList[e];"noMore"!=t.loadingType&&"loading"!=t.loadingType&&(t.loadingType="loading",(0,o.getMyCoupons)({page:1,limit:10},t.status).then((function(e){var o=e.data;console.log(o,"++++++"),t.list=o,t.page++,o.length==t.limit?t.loadingType="more":t.loadingType="noMore",n.$set(t,"loaded",!0)})))}}};e.default=a}).call(this,t(1)["default"])},160:function(n,e,t){"use strict";t.r(e);var o=t(161),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(i);e["default"]=r.a},161:function(n,e,t){}},[[154,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/product/discount.js.map