(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/setting/email"],{"0fbd":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){}));var o=function(){var e=this.$createElement;this._self._c},c=[]},"108e":function(e,t,n){"use strict";n.r(t);var o=n("20e9"),c=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=c.a},"20e9":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{phone:"",code:"",disabled:!1,second:60}},methods:{handleTelLogin:function(){var t=this;/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(t.phone)?t.code?t.$model.getAccountMsg({data:t.phone,code:t.code}).then((function(n){0==n.code?(t.$tools.msg("设置成功！"),t.$store.commit("changeAccountNumber",{my_email:t.phone}),setTimeout((function(){e.redirectTo({url:"/pageTwo/setting/setting"})}),1e3)):t.$tools.msg(n.msg)})).catch((function(e){})):t.$tools.msg("请填写验证码"):t.$tools.msg("请输入正确的邮箱")},handleCode:function(){var e=this;e.phone?/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(e.phone)?e.$model.getSendCode({data:e.phone}).then((function(t){if(console.log(t),0==t.code){e.disabled=!0;var n=setInterval((function(){--e.second}),1e3);setTimeout((function(){clearInterval(n),e.disabled=!1,e.second=60}),6e4)}else e.$tools.msg(t.msg)})).catch((function(e){})):e.$tools.msg("请输入正确的邮箱"):e.$tools.msg("请输入邮箱")}}};t.default=n}).call(this,n("df3c")["default"])},"2e28":function(e,t,n){"use strict";var o=n("88b4"),c=n.n(o);c.a},"88b4":function(e,t,n){},"8af4":function(e,t,n){"use strict";(function(e,t){var o=n("47a9");n("6c4c");o(n("3240"));var c=o(n("ab03"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(c.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},ab03:function(e,t,n){"use strict";n.r(t);var o=n("0fbd"),c=n("108e");for(var a in c)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return c[e]}))}(a);n("2e28");var i=n("828b"),u=Object(i["a"])(c["default"],o["b"],o["c"],!1,null,"7f813baf",null,!1,o["a"],void 0);t["default"]=u.exports}},[["8af4","common/runtime","common/vendor"]]]);