(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/favorites"],{"61f2":function(t,n,e){"use strict";var o=e("fac0"),c=e.n(o);c.a},"6d96":function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return c})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return o}));var c=function(){var t=this,n=t.$createElement;t._self._c},u=[]},be66:function(t,n,e){"use strict";e.r(n);var o=e("6d96"),c=e("ed11");for(var u in c)"default"!==u&&function(t){e.d(n,t,(function(){return c[t]}))}(u);e("61f2");var a,i=e("f0c5"),r=Object(i["a"])(c["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],a);n["default"]=r.exports},d8d6:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("c6b6"),c=function(){e.e("components/uni-load-more/uni-load-more").then(function(){return resolve(e("64a9"))}.bind(null,e)).catch(e.oe)},u=function(){e.e("components/empty").then(function(){return resolve(e("87e9"))}.bind(null,e)).catch(e.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,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=a}).call(this,e("543d")["default"])},d8e7:function(t,n,e){"use strict";(function(t){e("b755");o(e("66fd"));var n=o(e("be66"));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"])},ed11:function(t,n,e){"use strict";e.r(n);var o=e("d8d6"),c=e.n(o);for(var u in o)"default"!==u&&function(t){e.d(n,t,(function(){return o[t]}))}(u);n["default"]=c.a},fac0:function(t,n,e){}},[["d8e7","common/runtime","common/vendor"]]]);