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