chunk-5c67ca7b.872fa5a8.js 6.4 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5c67ca7b"],{"088b":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAABNBJREFUWEe1l1tsVFUUhv//nCm9zBklUS6tGIwSBBHRiC9ITwtVtCRyiUBMMBEi6gNGEiNRdK49g6LGRJEXTDBqDASboDWRCLG2nQEeEBKRBC9IFCOXICpkZtrSzjm/OVNaoS20kM48TCaZtf/1rbXX3mtt4ho+Hcm5E/Nd7gJ4mkaiCkKloE6SJ0GdMIC95TR3MdGaHa4shzLUZ0vN9sOnV0pcLejeoewJXhCxyzS0viKR3j+0/VUsctGaek96B9LUHjOeJ7STRAriSZjGScNTeR6qJHC7gPkUZgkyL8o2BspK1paHvz1+JTeDZkASs7HaBDwv0uOXRwGErQlTPudzH3RfLSrFa2/Out4aQi9KqAB5NgBzSbnT0jbYugEAitUGsp67DcISknkA64KG8S4Trf7vYX9y66sr1cnNkh4j0A1yleWkPukvMAAgF7Y3edBqAP/SCCy1Glqah+21n6FiMSPntayX9IofjMh5oYa2lkvNLgPIRexnPWkzyU6CdtBp++56nV+6LhO1k/D0Goh/AqM4szyS+q33/z6ATHzeWOQ7fgUQIrncclJbR8K5r1Goqai9A8IikF+GnNTCAQC5iP2+Jz0P4ouQk148Us57dfR6/Zhse/aYH6BpmtUVidY9hfr2v7Kx2vFw3T8AGiUB4+7SeOtPIw3g6+UidtiTHALfWMn0w30AvXtfrOj7svDmglAuc+4vAIFgRck4vtr8d08GIvZOSfU0uMJqSH1cjOh7Nft8kU/5x7IHIGxnBQWtgDmG8dazxQTIRO3V8LSJ5IeWk3qa2vDQjdnshXP+NRtKpkYX03kh2Gj1I/LwNcldlpN6lBfC9tQu6AjIH0NO6q6iA8Tq7pHbdYjAD1YyPYO5yJz7PeUPkDhoOemZxQbodObe0X2h279vjoWS6UlsT869xe3s/pPgCSuZmlBsgPZY7WzXddMg9oac9Gz6/T53+HQXQC84fVwZlzW6xYTIROxlkLYDaAwl08sKpyATqf4ZwmQzwAcr4ql9xQTIRuz3JL0Aw3BCDW3R3nvgbUkvkXjLctIvFxUgXP27gImGaT4QTLQeKAD07guB40Fz/GQmGruKAdERt+18Xm1+vQWdtltJqgBwsW9/L2k6aKwJOW0biwGQCdt7Ac0ygGgwmXb6ekGhUYTt+R70lT9CwSybForvPjOSEJlI7ROQu43k6eANZZO4dnfuMoCLPWG3JL9L7bHM8XUjtRXZiD1dwD5IlmFwVbAhtWXAPFA4DfF5Y5nv2O8XCcmtwQlTVgw1hA6VpY5Y3e2u190s6TbS+Mhy2lZeumbATJiNzJkhuHt8WoApK2A8fr0NKhOtmQNPjYBuArjPMsfN6Z/VQcfyXMS+T0KTIL9ST5OIV9DYMtzJOLu+bpw6umIkn5EUANlkGcaTg72YrvgyKoh0dm2HUFNIGXnUAD8VjCbLaTnUP/XaWF/afiZX5xELKSz323thEgY2WP6FQ2qw7RryadYerVnsynsDwp3/C/C8/xYkcEpiOYFKAFWCSvtsyB0lRsm6skTzL1erkyEBeu6J2kBObp3ERYQWSKjqL0pAAA+SaAoYJTtKE81HhirQAcdwOAsuAo3uglnVLa/SEDo5yj1ZljdOMdHaOVyNQY/htS4eCfv/ADPKJD8Jk9IWAAAAAElFTkSuQmCC"},3298:function(t,a,e){},"3c1f":function(t,a,e){t.exports=e.p+"img/icon-3.c89de1af.png"},"6c62":function(t,a,e){"use strict";e("3298")},"7bcf":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA2BJREFUWEfFl11MzWEcxz9P5ZwpIoZqkgu5QNlsjTsZprnwdmWsclNRMe9Mw7zEhY1JQmxmdYwrm80yY7UWs5ihsbFINEpoS0WHzmPP/3/O+Z/jvP1PLzvP1X/7f3+/7/f5vT3PIzC55OE5Fjq7lyDFKpBzkCIZIZM1cyk+I+RnEK8R8jbTEurEkdd2M65FKJAsmpnI34FDCDYiiQ+F1/4LepDYiLEeFZUfOoLZBBQgt86yMtBXCuwE4kwR+4L6gNNY48rEuZYBfz78CtB2PWi/hZSLhkjsbSbEY6Ita/1Fw0eA3DI9g0HHHZDTR4Tc7US0Q9RKUdXe7OnXS4Ceb/uTkSd3UYp2YiyZnpFwC9Bybu+vH7GwBwqfSoclNstVE4aAgqSjwMGRDXtAb8dE1ZdDesOoNtZbrWUY1R5cd+xESJkLLU0w+Edh+4ixzlKp0AUUJFUCW0Zl96nzofgaTJgKzfehItdFc0FUfSkS2oTr6O4yPWTCUZmxHPIvgCVWt+r9DrvS9W81rBITpgi5OWkFDu6G49cUdnEerD8OUdE63OGA6t3w6IZhHkW2kIXJ55GyyJRTs6B1pbCi2ED/+Q1XiuF57f8DqlLIwqQ6JFlmfQfFxVhg01nIXG3A+rqhIg/eP/U1FdQLWZD8BuTsYQuInQBFVyHNY3p/+wTlG6DzXQD34q2KwE8k49yIhesgexu8vAe3TpjTNTkFttVAYpqB//gSzuVAT1dgH4JeXwEnm2CS8xhovK4XTrCVmgEl1RA/xUC9qoNL+TDQH2oDP31TUHgFFqw0DBttUL3Hv6P0ZZB/EazONlOohzegZg84BkORq17UUuBdhHEJsOMmpMwzHDTUgG2vt8PFubC+zGgz9ffOGbh9ygSxE6IVob82VKNTiZjhHBoK31ANtn265doDkF1iEKnd2vaDilY4S4jKwIMokIix4yFzjUGj8ny5EJofhEOtY7VBFGwUq9bSIpHh33nPN6jIgbYX4ZO7RrGyDHoYKRHbb4Kqds/1tVXv8a628Ml1C/0w0gSEOo7HxusiZs7XTVuf6ada74+hknsfx84oBL+QqNwvzYfoMVBbDvZfQyVXdt4XEk1ApK9kRioidCl1xTOi13K3iEg+TNwiIvk08yzviD1O/++x0Xqe/wPE7GdSGovKxAAAAABJRU5ErkJggg=="},dd7b:function(t,a,e){"use strict";e.r(a);var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"wrap"},[a("div",{staticClass:"middle-container"},[a("div",{staticClass:"box"},[a("img",{staticClass:"icon",attrs:{src:e("3c1f")}}),a("div",{staticClass:"form-box"},[a("p",{staticClass:"form-box-title"},[t._v("密码登录")]),a("div",{staticClass:"form-row"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.params.username,expression:"params.username"}],staticClass:"input",attrs:{type:"text",placeholder:"请输入用户名或手机号"},domProps:{value:t.params.username},on:{input:function(a){a.target.composing||t.$set(t.params,"username",a.target.value)}}})]),a("div",{staticClass:"form-row"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.params.password,expression:"params.password"}],staticClass:"input",attrs:{type:"password",placeholder:"6-12位,区分大小写"},domProps:{value:t.params.password},on:{input:function(a){a.target.composing||t.$set(t.params,"password",a.target.value)}}})]),a("div",{staticClass:"row-end"},[a("span",{on:{click:function(a){return t.$router.push("/forgot-password")}}},[t._v("忘记密码")]),a("span",{on:{click:function(a){return t.$router.push("/register")}}},[t._v("注册账号")])]),a("div",{staticClass:"select-row"},[t.agreementFlag?a("img",{attrs:{src:e("7bcf")},on:{click:function(a){t.agreementFlag=!t.agreementFlag}}}):a("img",{attrs:{src:e("088b")},on:{click:function(a){t.agreementFlag=!t.agreementFlag}}}),t._v("\n\t\t\t\t\t\t我已阅读并同意"),a("span",{on:{click:function(a){return t.toAgreement()}}},[t._v("《用户协议》《用户隐私》")])]),a("div",{staticClass:"btn-box"},[0===t.validatorNullResult.length?a("button",{attrs:{type:"button"},on:{click:function(a){return t.submit()}}},[t._v("登录")]):a("button",{staticClass:"gray",attrs:{type:"button",disabled:""}},[t._v("登录")])])])])])])},r=[],n=(e("28a5"),e("325c")),o=e("5c96"),i=e("f523"),l={data:function(){var t={username:"",password:""},a=[["username",["notNull","请输入用户名"]],["password",["notNull","请输入密码"]]],e=[["password",["checkPassLevel","密码需6~12位"]]],s=Object(n["d"])(t,a);return{params:t,validatorNullList:a,validatorErrorList:e,validatorNullResult:s,agreementFlag:!1}},watch:{params:{deep:!0,handler:function(t){this.validatorNullResult=Object(n["d"])(t,this.validatorNullList)}}},mounted:function(){var t=localStorage.getItem("login_username");localStorage.removeItem("login_username"),this.params.username=t||""},methods:{toAgreement:function(){localStorage.setItem("login_username",this.params.username),this.$router.push("/agreement")},submit:function(){if(!this.agreementFlag)return o["Message"].warning("请阅读并同意《用户协议》《用户隐私》");var t=this.params,a=Object(n["d"])(t,this.validatorErrorList);if(a.length>0)return o["Message"].warning(a[0].errMsg);i["h"].login(t).then((function(t){var a=t.data;o["Message"].success("登录成功"),localStorage.setItem("token",a.token),location.href=location.href.split("#")[0]}))}}},u=l,c=(e("6c62"),e("2877")),A=Object(c["a"])(u,s,r,!1,null,"02fe48d2",null);a["default"]=A.exports}}]);
  2. //# sourceMappingURL=chunk-5c67ca7b.872fa5a8.js.map