(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/favorites"],{"0361":function(t,n,o){"use strict";o.r(n);var e=o("ba5c"),c=o("06f0");for(var u in c)"default"!==u&&function(t){o.d(n,t,(function(){return c[t]}))}(u);o("c343");var a,i=o("f0c5"),r=Object(i["a"])(c["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],a);n["default"]=r.exports},"06f0":function(t,n,o){"use strict";o.r(n);var e=o("be27"),c=o.n(e);for(var u in e)"default"!==u&&function(t){o.d(n,t,(function(){return e[t]}))}(u);n["default"]=c.a},7499:function(t,n,o){},ba5c:function(t,n,o){"use strict";var e;o.d(n,"b",(function(){return c})),o.d(n,"c",(function(){return u})),o.d(n,"a",(function(){return e}));var c=function(){var t=this,n=t.$createElement;t._self._c},u=[]},be27:function(t,n,o){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=o("763d"),c=function(){o.e("components/uni-load-more/uni-load-more").then(function(){return resolve(o("6c4c"))}.bind(null,o)).catch(o.oe)},u=function(){o.e("components/empty").then(function(){return resolve(o("3abd"))}.bind(null,o)).catch(o.oe)},a={components:{uniLoadMore:c,empty:u},data:function(){return{tabCurrentIndex:0,favoriteList:"",delshow:!0}},onLoad:function(){this.loadData()},methods:{loadData:function(){var t=this;(0,e.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 o=n;t.navigateTo({url:"/pages/product/product?id=".concat(o)})},del:function(n){var o=this;t.showModal({title:"提示",content:"是否取消收藏该商品",success:function(c){c.confirm&&(0,e.delcollect)({id:n,category:"product"}).then((function(n){t.showToast({title:"已取消收藏",duration:1500}),o.loadData()})).catch((function(t){console.log(t)}))}})}}};n.default=a}).call(this,o("543d")["default"])},c343:function(t,n,o){"use strict";var e=o("7499"),c=o.n(e);c.a},d5c5:function(t,n,o){"use strict";(function(t){o("4c14");e(o("66fd"));var n=e(o("0361"));function e(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=o,t(n.default)}).call(this,o("543d")["createPage"])}},[["d5c5","common/runtime","common/vendor"]]]);