(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/product/groupBooking/index"],{74:function(e,n,t){"use strict";(function(e){var n=t(3);t(25);n(t(24));var o=n(t(75));wx.__webpack_require_UNI_MP_PLUGIN__=t,e(o.default)}).call(this,t(1)["createPage"])},75:function(e,n,t){"use strict";t.r(n);var o=t(76),r=t(78);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);t(80);var a,c=t(39),u=Object(c["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],a);u.options.__file="pages/product/groupBooking/index.vue",n["default"]=u.exports},76:function(e,n,t){"use strict";t.r(n);var o=t(77);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},77:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return o}));var r=function(){var e=this,n=e.$createElement,t=(e._self._c,e._f("longstorename")(e.checkedStore.name)),o=e._f("distance")(e.des);e.$mp.data=Object.assign({},{$root:{f0:t,f1:o}})},i=!1,a=[];r._withStripped=!0},78:function(e,n,t){"use strict";t.r(n);var o=t(79),r=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"]=r.a},79:function(e,n,t){"use strict";(function(e){var o=t(3);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=o(t(10)),i=t(52),a=t(27);function c(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function u(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?c(Object(t),!0).forEach((function(n){(0,r.default)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var d=function(){t.e("components/uni-load-more/uni-load-more").then(function(){return resolve(t(322))}.bind(null,t)).catch(t.oe)},s={components:{uniLoadMore:d},data:function(){return{goodsList:[],loadingType:"more",limit:20,page:1}},computed:u({},(0,a.mapState)("user",["userInfo","checkedStore","des","latlng"])),onLoad:function(e){this.loadData()},onPullDownRefresh:function(){this.loadData("refresh")},onReachBottom:function(){this.loadData()},filters:{storename:function(e){var n="";return e&&(n=e,e.length>5&&(n=e.slice(0,5)+"...")),n},longstorename:function(e){var n="";return e&&(n=e,e.length>10&&(n=e.slice(0,10)+"...")),n},distance:function(e){var n="";return e?1*e>1e3?(1*e/1e3).toFixed(1)+"km":n:(1*e).toFixed(0)+"m"}},methods:{loadData:async function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"add",t=arguments.length>1?arguments[1]:void 0,o=this,r={page:o.page,limit:o.limit};if("add"===n){if("nomore"===o.loadingType)return;o.loadingType="loading"}else o.loadingType="more";(0,i.getCombinationList)(r).then((function(r){console.log(r,"++++++++++++e+++++++"),"refresh"===n&&(o.goodsList=[]),o.goodsList=o.goodsList.concat(r.data),o.limit==r.data.length?(o.page++,o.loadingType="more"):o.loadingType="nomore","refresh"===n&&(1==t?e.hideLoading():e.stopPullDownRefresh())})).catch()},goProduct:function(n){e.navigateTo({url:"/pages/product/groupBooking/productGroup?id="+n.id})}}};n.default=s}).call(this,t(1)["default"])},80:function(e,n,t){"use strict";t.r(n);var o=t(81),r=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"]=r.a},81:function(e,n,t){}},[[74,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/product/groupBooking/index.js.map