(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/product/groupBooking/index"],{"58af":function(e,n,t){"use strict";(function(e,n){var o=t("4ea4");t("12d5");o(t("66fd"));var a=o(t("d9a2"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(a.default)}).call(this,t("bc2e")["default"],t("543d")["createPage"])},7649:function(e,n,t){"use strict";t.r(n);var o=t("8000"),a=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=a.a},8e3:function(e,n,t){"use strict";(function(e){var o=t("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=o(t("2eee")),i=o(t("c973")),r=t("5e62"),u={components:{uniLoadMore:function(){t.e("components/uni-load-more/uni-load-more").then(function(){return resolve(t("bfdb"))}.bind(null,t)).catch(t.oe)}},data:function(){return{goodsList:[],loadingType:"more",limit:20,page:1}},onLoad:function(e){this.loadData()},onPullDownRefresh:function(){this.loadData("refresh")},onReachBottom:function(){this.loadData()},methods:{loadData:function(){var n=arguments,t=this;return(0,i.default)(a.default.mark((function o(){var i,u,d,c;return a.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:if(i=n.length>0&&void 0!==n[0]?n[0]:"add",u=n.length>1?n[1]:void 0,d=t,c={page:d.page,limit:d.limit},"add"!==i){o.next=10;break}if("nomore"!==d.loadingType){o.next=7;break}return o.abrupt("return");case 7:d.loadingType="loading",o.next=11;break;case 10:d.loadingType="more";case 11:(0,r.getCombinationList)(c).then((function(n){"refresh"===i&&(d.goodsList=[]),d.goodsList=d.goodsList.concat(n.data),d.limit==n.data.length?(d.page++,d.loadingType="more"):d.loadingType="nomore","refresh"===i&&(1==u?e.hideLoading():e.stopPullDownRefresh())})).catch();case 12:case"end":return o.stop()}}),o)})))()},goProduct:function(n){e.navigateTo({url:"/pages/product/groupBooking/productGroup?id="+n.id})}}};n.default=u}).call(this,t("543d")["default"])},a6f6:function(e,n,t){"use strict";var o=t("d95c"),a=t.n(o);a.a},d95c:function(e,n,t){},d9a2:function(e,n,t){"use strict";t.r(n);var o=t("ed69"),a=t("7649");for(var i in a)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return a[e]}))}(i);t("a6f6");var r=t("f0c5"),u=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=u.exports},ed69:function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return o}));var o={uniLoadMore:function(){return t.e("components/uni-load-more/uni-load-more").then(t.bind(null,"bfdb"))}},a=function(){var e=this.$createElement;this._self._c},i=[]}},[["58af","common/runtime","common/vendor"]]]);