(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/product/groupBooking/index"],{"13e2":function(n,e,t){"use strict";t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return r})),t.d(e,"a",(function(){return o}));var o={uniLoadMore:function(){return t.e("components/uni-load-more/uni-load-more").then(t.bind(null,"ef69"))}},a=function(){var n=this,e=n.$createElement;n._self._c},r=[]},"273e":function(n,e,t){"use strict";(function(n){t("856e");o(t("66fd"));var e=o(t("8d3e"));function o(n){return n&&n.__esModule?n:{default:n}}wx.__webpack_require_UNI_MP_PLUGIN__=t,n(e.default)}).call(this,t("543d")["createPage"])},"3a7a":function(n,e,t){"use strict";t.r(e);var o=t("cbda"),a=t.n(o);for(var r in o)"default"!==r&&function(n){t.d(e,n,(function(){return o[n]}))}(r);e["default"]=a.a},4349:function(n,e,t){},"8d3e":function(n,e,t){"use strict";t.r(e);var o=t("13e2"),a=t("3a7a");for(var r in a)"default"!==r&&function(n){t.d(e,n,(function(){return a[n]}))}(r);t("d646");var i,u=t("f0c5"),c=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);e["default"]=c.exports},cbda:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(t("a34a")),a=t("64ab");function r(n){return n&&n.__esModule?n:{default:n}}function i(n,e,t,o,a,r,i){try{var u=n[r](i),c=u.value}catch(d){return void t(d)}u.done?e(c):Promise.resolve(c).then(o,a)}function u(n){return function(){var e=this,t=arguments;return new Promise((function(o,a){var r=n.apply(e,t);function u(n){i(r,o,a,u,c,"next",n)}function c(n){i(r,o,a,u,c,"throw",n)}u(void 0)}))}}var c=function(){t.e("components/uni-load-more/uni-load-more").then(function(){return resolve(t("ef69"))}.bind(null,t)).catch(t.oe)},d={components:{uniLoadMore:c},data:function(){return{goodsList:[],loadingType:"more",limit:20,page:1}},onLoad:function(n){this.loadData()},onPullDownRefresh:function(){this.loadData("refresh")},onReachBottom:function(){this.loadData()},methods:{loadData:function(){var e=arguments,t=this;return u(o.default.mark((function r(){var i,u,c,d;return o.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:if(i=e.length>0&&void 0!==e[0]?e[0]:"add",u=e.length>1?e[1]:void 0,c=t,d={page:c.page,limit:c.limit},"add"!==i){o.next=10;break}if("nomore"!==c.loadingType){o.next=7;break}return o.abrupt("return");case 7:c.loadingType="loading",o.next=11;break;case 10:c.loadingType="more";case 11:(0,a.getCombinationList)(d).then((function(e){"refresh"===i&&(c.goodsList=[]),c.goodsList=c.goodsList.concat(e.data),c.limit==e.data.length?(c.page++,c.loadingType="more"):c.loadingType="nomore","refresh"===i&&(1==u?n.hideLoading():n.stopPullDownRefresh())})).catch();case 12:case"end":return o.stop()}}),r)})))()},goProduct:function(e){n.navigateTo({url:"/pages/product/groupBooking/productGroup?id="+e.id})}}};e.default=d}).call(this,t("543d")["default"])},d646:function(n,e,t){"use strict";var o=t("4349"),a=t.n(o);a.a}},[["273e","common/runtime","common/vendor"]]]);