(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/phoneLogin"],{204:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var i=o(t(205));e.__webpack_require_UNI_MP_PLUGIN__=t,n(i.default)}).call(this,t(1)["default"],t(2)["createPage"])},205:function(e,n,t){"use strict";t.r(n);var o=t(206),i=t(208);for(var s in i)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(s);t(210);var r,u=t(32),c=Object(u["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,"22e0ef1e",null,!1,o["components"],r);c.options.__file="pages/index/phoneLogin.vue",n["default"]=c.exports},206:function(e,n,t){"use strict";t.r(n);var o=t(207);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},207:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return i})),t.d(n,"staticRenderFns",(function(){return r})),t.d(n,"recyclableRender",(function(){return s})),t.d(n,"components",(function(){return o}));try{o={uInput:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-input/u-input")]).then(t.bind(null,378))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var i=function(){var e=this,n=e.$createElement;e._self._c;e._isMounted||(e.e0=function(n){e.isChoose=!e.isChoose},e.e1=function(n){e.isChoose=!e.isChoose},e.e2=function(n){n.stopPropagation(),e.isChoose=!e.isChoose})},s=!1,r=[];i._withStripped=!0},208:function(e,n,t){"use strict";t.r(n);var o=t(209),i=t.n(o);for(var s in o)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(s);n["default"]=i.a},209:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={data:function(){return{tips:"",value:"",phone:"",isChoose:!0,value1:"",password:""}},methods:{codeChange:function(e){this.tips=e},getCode:function(){var n=this;this.$refs.uCode.canGetCode?this.phone?(e.showLoading({title:"正在获取验证码"}),setTimeout((function(){e.hideLoading(),e.$u.toast("验证码已发送"),n.$refs.uCode.start()}),2e3),this.$api.post("/login/sendSms",{phone:this.phone})):e.$u.toast("请先输入手机号"):e.$u.toast("倒计时结束后再发送")},submit:function(){var n=this;this.isChoose?this.phone&&this.password?(this.$cache.set("gupiao_phone",this.phone),this.$api.post("/user/login/smsCodeLogin",{phone:this.phone,createWay:1}).then((function(t){if(t){var o=t;n.$cache.set("token",o),e.switchTab({url:"/pages/home/home"})}}))):e.$u.toast("请先输入手机号和密码"):e.$u.toast("请先同意协议")}}};n.default=t}).call(this,t(2)["default"])},210:function(e,n,t){"use strict";t.r(n);var o=t(211),i=t.n(o);for(var s in o)["default"].indexOf(s)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(s);n["default"]=i.a},211:function(e,n,t){}},[[204,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/phoneLogin.js.map