(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/public/forget"],{"04f2":function(t,e,n){"use strict";var o=n("bf66"),r=n.n(o);r.a},1649:function(t,e,n){"use strict";(function(t,e){var o=n("4ea4");n("ab68");o(n("66fd"));var r=o(n("74be"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(r.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"68e1":function(t,e,n){"use strict";n.r(e);var o=n("6af7"),r=n.n(o);for(var c in o)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(c);e["default"]=r.a},"6af7":function(t,e,n){"use strict";(function(t){var o=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(n("9523")),c=n("26cb"),i=n("e803");function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var f={data:function(){return{phone:"",code:"",time:"",countDown:0}},onLoad:function(){},watch:{countDown:function(t){0==t&&clearInterval(this.time)}},methods:u(u({},(0,c.mapMutations)("user",["setUserInfo","login"])),{},{register:function(){var e=this;""!=e.phone?/(^1[3|4|5|7|8][0-9]{9}$)/.test(this.phone)?""!=e.code?(0,i.loginMobile)({phone:e.phone,captcha:e.code}).then((function(n){t.setStorageSync("token",n.data.token),(0,i.getUserInfo)({}).then((function(n){e.login(),e.setUserInfo(n.data),t.switchTab({url:"/pages/index/index"})}))})).catch((function(t){console.log(t)})):e.$api.msg("请输入验证码"):e.$api.msg("请输入正确的手机号"):e.$api.msg("请输入电话号码")},verification:function(){var t=this;if(""!=this.phone){if(!(this.phone.length<11))return!(t.countDown>0)&&(t.countDown=60,t.time=setInterval((function(){t.countDown--}),1e3),void(0,i.verify)({phone:t.phone,type:"login"}).then((function(t){t.data})).catch((function(t){console.log(t)})));this.$api.msg("请输入正确的手机号")}else this.$api.msg("请输入电话号码")}})};e.default=f}).call(this,n("543d")["default"])},"74be":function(t,e,n){"use strict";n.r(e);var o=n("cdd5"),r=n("68e1");for(var c in r)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(c);n("04f2");var i=n("f0c5"),a=Object(i["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=a.exports},bf66:function(t,e,n){},cdd5:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},r=[]}},[["1649","common/runtime","common/vendor"]]]);