(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/set/password"],{211:function(t,n,e){"use strict";(function(t){var n=e(3);e(25);n(e(24));var r=n(e(212));wx.__webpack_require_UNI_MP_PLUGIN__=e,t(r.default)}).call(this,e(1)["createPage"])},212:function(t,n,e){"use strict";e.r(n);var r=e(213),o=e(215);for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);e(217);var i,u=e(39),a=Object(u["default"])(o["default"],r["render"],r["staticRenderFns"],!1,null,null,null,!1,r["components"],i);a.options.__file="pages/set/password.vue",n["default"]=a.exports},213:function(t,n,e){"use strict";e.r(n);var r=e(214);e.d(n,"render",(function(){return r["render"]})),e.d(n,"staticRenderFns",(function(){return r["staticRenderFns"]})),e.d(n,"recyclableRender",(function(){return r["recyclableRender"]})),e.d(n,"components",(function(){return r["components"]}))},214:function(t,n,e){"use strict";var r;e.r(n),e.d(n,"render",(function(){return o})),e.d(n,"staticRenderFns",(function(){return i})),e.d(n,"recyclableRender",(function(){return c})),e.d(n,"components",(function(){return r}));var o=function(){var t=this,n=t.$createElement;t._self._c;t._isMounted||(t.e0=function(n){!t.loding&&t.confirm()})},c=!1,i=[];o._withStripped=!0},215:function(t,n,e){"use strict";e.r(n);var r=e(216),o=e.n(r);for(var c in r)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(c);n["default"]=o.a},216:function(t,n,e){"use strict";var r=e(3);Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(e(10)),c=e(69),i=e(27),u=e(176);function a(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function s(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?a(Object(e),!0).forEach((function(n){(0,o.default)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var f={data:function(){return{time:"",countDown:0,account:"",captcha:"",password:"",loding:!1}},computed:s({},(0,i.mapState)(["userInfo"])),onLoad:function(){null==this.userInfo.phone?this.account="":(this.account=this.userInfo.phone,this.show=!1)},watch:{countDown:function(t){0==t&&clearInterval(this.time)}},methods:{verification:function(){var t=this;if(""!=this.account){if(/(^1[3|4|5|7|8][0-9]{9}$)/.test(this.account))return!(t.countDown>0)&&(t.countDown=60,t.time=setInterval((function(){t.countDown--}),1e3),void(0,c.verify)({phone:t.account,type:""}).then((function(t){t.data})).catch((function(t){console.log(t)})));this.$api.msg("请输入正确的手机号")}else this.$api.msg("请输入电话号码")},confirm:function(t){var n=this;this.loding=!0,(0,u.registerReset)({account:this.account,captcha:this.captcha,password:this.password}).then((function(t){t.data;n.loding=!1,n.$api.msg("修改成功")})).catch((function(t){n.loding=!1,console.log(t)}))}}};n.default=f},217:function(t,n,e){"use strict";e.r(n);var r=e(218),o=e.n(r);for(var c in r)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(c);n["default"]=o.a},218:function(t,n,e){}},[[211,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/set/password.js.map