(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/likeProduct"],{1045:function(n,t,e){"use strict";e.r(t);var o=e(1046),r=e(1048);for(var i in r)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return r[n]}))}(i);e(1050);var u,a=e(34),d=Object(a["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],u);d.options.__file="components/likeProduct.vue",t["default"]=d.exports},1046:function(n,t,e){"use strict";e.r(t);var o=e(1047);e.d(t,"render",(function(){return o["render"]})),e.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),e.d(t,"components",(function(){return o["components"]}))},1047:function(n,t,e){"use strict";var o;e.r(t),e.d(t,"render",(function(){return r})),e.d(t,"staticRenderFns",(function(){return u})),e.d(t,"recyclableRender",(function(){return i})),e.d(t,"components",(function(){return o}));var r=function(){var n=this,t=n.$createElement,e=(n._self._c,n.__map(n.list,(function(t,e){var o=n.__get_orig(t),r=t.price.toFixed(2),i=t.otPrice.toFixed(2);return{$orig:o,g0:r,g1:i}})));n.$mp.data=Object.assign({},{$root:{l0:e}})},i=!1,u=[];r._withStripped=!0},1048:function(n,t,e){"use strict";e.r(t);var o=e(1049),r=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);t["default"]=r.a},1049:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=e(229),r=function(){e.e("components/Loading").then(function(){return resolve(e(1067))}.bind(null,e)).catch(e.oe)},i={components:{Loading:r},name:"likeProduct",data:function(){return{page:{page:1,pageSize:10},total:0,list:[],loaded:!1,loading:!1}},created:function(){},mounted:function(){this.getGoodsProducts()},methods:{getGoodsProducts:function(){console.log(1);var t=this;1!=t.loaded&&1!=t.loading&&(t.loading=!0,n.showLoading({title:"加载中..."}),(0,o.getGoodsProducts)(t.page).then((function(e){200==e.code&&(t.total=e.data.total,t.list.push.apply(t.list,e.data.list),t.loading=!1,t.loaded=!(t.list.length<t.total),t.page.page=t.page.page+1,n.hideLoading())}),(function(t){n.hideLoading(),n.showToast({title:t.msg,icon:"none",duration:2e3})})))},showProduct:function(t){n.navigateTo({url:"/pages/shopping/productDetails?productId="+t.productId})}}};t.default=i}).call(this,e(2)["default"])},1050:function(n,t,e){"use strict";e.r(t);var o=e(1051),r=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(i);t["default"]=r.a},1051:function(n,t,e){}}]);
//# sourceMappingURL=../../.sourcemap/mp-weixin/components/likeProduct.js.map
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/likeProduct-create-component',
    {
        'components/likeProduct-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('2')['createComponent'](__webpack_require__(1045))
        })
    },
    [['components/likeProduct-create-component']]
]);
