(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["user/page/favorites"],{"3cc2":function(t,n,e){"use strict";e.r(n);var o=e("8a07"),c=e("fcc1");for(var a in c)"default"!==a&&function(t){e.d(n,t,(function(){return c[t]}))}(a);e("eca9");var u,i=e("f0c5"),r=Object(i["a"])(c["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);n["default"]=r.exports},"5cab":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("7eca"),c=function(){e.e("components/uni-load-more/uni-load-more").then(function(){return resolve(e("ef69"))}.bind(null,e)).catch(e.oe)},a=function(){e.e("components/empty").then(function(){return resolve(e("fdb6"))}.bind(null,e)).catch(e.oe)},u={components:{uniLoadMore:c,empty:a},data:function(){return{tabCurrentIndex:0,favoriteList:"",delshow:!0}},onLoad:function(){this.loadData()},methods:{loadData:function(){var t=this;(0,o.getcollectList)({page:"1",limit:"10"}).then((function(n){t.favoriteList=n.data,console.log(t.favoriteList)})).catch((function(t){console.log(t)}))},toproduct:function(n){var e=n;t.navigateTo({url:"/pages/product/product?id=".concat(e)})},del:function(n){var e=this;t.showModal({title:"提示",content:"是否取消收藏该商品",success:function(c){c.confirm&&(0,o.delcollect)({id:n,category:"product"}).then((function(n){t.showToast({title:"已取消收藏",duration:1500}),e.loadData()})).catch((function(t){console.log(t)}))}})}}};n.default=u}).call(this,e("543d")["default"])},"5e48":function(t,n,e){"use strict";(function(t){e("856e");o(e("66fd"));var n=o(e("3cc2"));function o(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e("543d")["createPage"])},"8a07":function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return c})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return o}));var c=function(){var t=this,n=t.$createElement;t._self._c},a=[]},dc8a:function(t,n,e){},eca9:function(t,n,e){"use strict";var o=e("dc8a"),c=e.n(o);c.a},fcc1:function(t,n,e){"use strict";e.r(n);var o=e("5cab"),c=e.n(o);for(var a in o)"default"!==a&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=c.a}},[["5e48","common/runtime","common/vendor"]]]);