(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user-center/user-center"],{"0b38":function(e,t,n){"use strict";(function(e){n("b8bc");r(n("66fd"));var t=r(n("faec"));function r(e){return e&&e.__esModule?e:{default:e}}e(t.default)}).call(this,n("543d")["createPage"])},"115d8":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement,n=(e._self._c,1==e.userCenter.is_foot_bar_status?e.__map(e.foot_bar,(function(t,n){var r=e.__get_orig(t),o=e._f("showNum")(t.name,e.userInfo);return{$orig:r,f0:o}})):null);e.$mp.data=Object.assign({},{$root:{l0:n}})},c=[]},bb36:function(e,t,n){"use strict";var r=n("ffe8"),o=n.n(r);o.a},c5e9:function(e,t,n){"use strict";n.r(t);var r=n("c6c7"),o=n.n(r);for(var c in r)"default"!==c&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=o.a},c6c7:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("2f62");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=function(){n.e("components/page-component/app-user-center-top/app-user-center-top").then(function(){return resolve(n("60c4"))}.bind(null,n)).catch(n.oe)},a=function(){n.e("components/page-component/app-account-balance/app-account-balance").then(function(){return resolve(n("411e"))}.bind(null,n)).catch(n.oe)},p=function(){n.e("components/page-component/app-my-order/app-my-order").then(function(){return resolve(n("af0f"))}.bind(null,n)).catch(n.oe)},s=function(){n.e("components/page-component/app-copyright/app-copyright").then(function(){return resolve(n("6d80"))}.bind(null,n)).catch(n.oe)},f=function(){Promise.all([n.e("common/vendor"),n.e("components/page-component/app-vip-card/app-vip-card")]).then(function(){return resolve(n("63a9"))}.bind(null,n)).catch(n.oe)},l={name:"user-center",components:{AppCopyright:s,AppUserCenterTop:i,AppAccountBalance:a,AppMyOrder:p,AppVipCard:f},computed:c(c(c({},(0,r.mapState)({copyright:function(e){return e.mallConfig.copyright},userCenter:function(e){return e.userCenter.data},userInfo:function(e){return e.user.info},is_icon_super_vip:function(e){return e.mallConfig.mall.setting.is_icon_super_vip},foot_bar:function(e){return e.userCenter.data.foot_bar}})),{},{copyrightLink:function(){if(!this.copyright)return{};var e=this.copyright.link,t=e.open_type,n=e.new_link_url,r=e.params;return{openType:t,url:n,params:r||[]}}},(0,r.mapGetters)("mallConfig",{getTheme:"getTheme"})),{},{listStyle:function(){return 1==this.userCenter.menu_style?"row":2==this.userCenter.menu_style?"grid dir-left-wrap":""}}),onShow:function(){var t=this;this.$event.on(this.$const.EVENT_USER_LOGIN).then((function(){e.redirectTo({url:"/pages/user-center/user-center"})})),this.$user.isLogin()&&this.$store.dispatch("user/refresh"),this.$nextTick().then((function(){t.$store.dispatch("userCenter/data")}))},methods:{router:function(t){var n="";n="我的收藏"===t?"/pages/favorite/favorite":"/pages/foot/index/index",e.navigateTo({url:n})}},filters:{showNum:function(e,t){return"我的收藏"===e?t&&t.favorite?t.favorite:0:t&&t.footprint?t.footprint:0}}};t.default=l}).call(this,n("543d")["default"])},faec:function(e,t,n){"use strict";n.r(t);var r=n("115d8"),o=n("c5e9");for(var c in o)"default"!==c&&function(e){n.d(t,e,(function(){return o[e]}))}(c);n("bb36");var u,i=n("f0c5"),a=Object(i["a"])(o["default"],r["b"],r["c"],!1,null,"b1195952",null,!1,r["a"],u);t["default"]=a.exports},ffe8:function(e,t,n){}},[["0b38","common/runtime","common/vendor"]]]);