(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/basic-component/app-layout/app-user-phone/app-user-phone"],{"0019":function(e,t,n){},"00b9":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 a(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){i(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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c={name:"app-user-phone",computed:a({},(0,r.mapState)({_app_config:function(e){return e.mallConfig}}),{showPhone:function(){var e=this.$store.state.user.info,t="";return e&&""==e.mobile&&(t="showPhone"),t},img:function(){var e="";return"wxapp"==this.$platform?e=this._app_config.__wxapp_img.mall.icon_wechat:"aliapp"==this.$platform?e=this._app_config.__wxapp_img.mall.icon_alipay:"ttapp"==this.$platform&&(e=this._app_config.__wxapp_img.mall.icon_ttapp),e}}),data:function(){return{code:null}},created:function(){var t=this;e.login({scopes:"auth_base",success:function(e){"login:ok"===e.errMsg&&(t.code=e.code)}})},methods:{getPhoneNumber:function(e){if("getPhoneNumber:fail user deny"!==e.detail.errMsg){var t=this;t.$request({method:"post",url:t.$api.phone.binding,data:{encryptedData:e.detail.encryptedData,iv:e.detail.iv,code:t.code}}).then((function(){t.$store.dispatch("user/refreshInfo")}))}}}};t.default=c}).call(this,n("543d")["default"])},1515:function(e,t,n){"use strict";var r=n("0019"),o=n.n(r);o.a},2227:function(e,t,n){"use strict";n.r(t);var r=n("00b9"),o=n.n(r);for(var a in r)"default"!==a&&function(e){n.d(t,e,(function(){return r[e]}))}(a);t["default"]=o.a},"42c6":function(e,t,n){"use strict";var r,o=function(){var e=this,t=e.$createElement;e._self._c},a=[];n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return r}))},"7a367":function(e,t,n){"use strict";n.r(t);var r=n("42c6"),o=n("2227");for(var a in o)"default"!==a&&function(e){n.d(t,e,(function(){return o[e]}))}(a);n("1515");var i,c=n("f0c5"),u=Object(c["a"])(o["default"],r["b"],r["c"],!1,null,"237ea351",null,!1,r["a"],i);t["default"]=u.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/basic-component/app-layout/app-user-phone/app-user-phone-create-component',
    {
        'components/basic-component/app-layout/app-user-phone/app-user-phone-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("7a367"))
        })
    },
    [['components/basic-component/app-layout/app-user-phone/app-user-phone-create-component']]
]);
