(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pageTwo/setting/phone"],{"324e":function(e,t,n){},3691:function(e,t,n){"use strict";(function(e,t){var o=n("47a9");n("6c4c");o(n("3240"));var c=o(n("8e42"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(c.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},"37f4":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=[]},"4c15":function(e,t,n){"use strict";var o=n("324e"),c=n.n(o);c.a},"8e42":function(e,t,n){"use strict";n.r(t);var o=n("37f4"),c=n("c9af");for(var a in c)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return c[e]}))}(a);n("4c15");var u=n("828b"),i=Object(u["a"])(c["default"],o["b"],o["c"],!1,null,"dd594054",null,!1,o["a"],void 0);t["default"]=i.exports},c9af:function(e,t,n){"use strict";n.r(t);var o=n("ce32"),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},ce32: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;phoneType||/^1[3456789]\d{9}$/.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_tel: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?phoneType||/^1[3456789]\d{9}$/.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"])}},[["3691","common/runtime","common/vendor"]]]);