(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/basic-component/app-layout/app-user-login/app-user-login"],{"69b3":function(e,t,n){"use strict";var r=n("a2b2"),o=n.n(r);o.a},7724:function(e,t,n){"use strict";n.r(t);var r=n("9b3a"),o=n("7aba");for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("69b3");var u,a=n("f0c5"),c=Object(a["a"])(o["default"],r["b"],r["c"],!1,null,"3a677a22",null,!1,r["a"],u);t["default"]=c.exports},"7aba":function(e,t,n){"use strict";n.r(t);var r=n("af96"),o=n.n(r);for(var i in r)"default"!==i&&function(e){n.d(t,e,(function(){return r[e]}))}(i);t["default"]=o.a},"9b3a":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r}));var o=function(){var e=this,t=e.$createElement;e._self._c},i=[]},a2b2:function(e,t,n){},af96:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n("66fd")),o=n("2f62");function i(e){return e&&e.__esModule?e:{default:e}}function u(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=function(){n.e("components/basic-component/app-hotspot/app-hotspot").then(function(){return resolve(n("5040"))}.bind(null,n)).catch(n.oe)},f={name:"app-user-login",components:{appHotspot:s},data:function(){return{}},computed:a(a({openType:function(){return"getUserInfo"}},(0,o.mapState)("mallConfig",{auth_page:function(e){return e.auth_page}})),(0,o.mapState)({showLoginModal:function(e){return e.user.showLoginModal}})),created:function(){var e=this;r.default.use({install:function(t,n){t.prototype.$layout={getUserInfo:function(){return e.showLoginModal=!0,new Promise((function(t,n){e.getUserInfo=function(e){}}))}}}})},methods:{link:function(){this.$store.commit("user/showLoginModal",!1)},cancel:function(){this.$store.commit("user/showLoginModal",!1),this.$user.getUserInfoReject("getUserInfo fail: cancel.");var t=getCurrentPages(),n=["/pages/index/index","/pages/user-center/user-center"],r=this.$platDiff.route();n.includes(r)?(r=this.$platDiff.routeWithOption(),e.redirectTo({url:r})):t.length>=2?e.navigateBack({delta:1}):e.redirectTo({url:"/pages/index/index"})},getUserInfoClick:function(e){},getUserInfo:function(e){var t=this;this.$store.commit("user/showLoginModal",!1);var n=this.$user.getUserInfoResolve,r=this.$user.getUserInfoReject;this.$event.on(this.$const.EVENT_USER_LOGIN,!0).then((function(){t.$jump({open_type:"reload"})})),wx.getUserProfile({desc:"用于完善用户资料",success:function(e){return"getUserProfile:ok"!==e.errMsg?(t.$store.commit("user/showLoginModal",!0),r(e.errMsg)):n({detail:e})}})}}};t.default=f}).call(this,n("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/basic-component/app-layout/app-user-login/app-user-login-create-component',
    {
        'components/basic-component/app-layout/app-user-login/app-user-login-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("7724"))
        })
    },
    [['components/basic-component/app-layout/app-user-login/app-user-login-create-component']]
]);
