(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f480c3ae"],{2062:function(e,t,i){},a55b:function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"login-container"},[i("div",{staticClass:"layer"},[i("div",{staticClass:"some-space"},[i("div",{staticClass:"form"},[i("h2",[e._v("大数据可视化平台")]),i("div",{staticClass:"item"},[i("i",{staticClass:"iconfont icon-user"}),i("input",{directives:[{name:"model",rawName:"v-model",value:e.userName,expression:"userName"}],staticClass:"input",attrs:{autocomplete:"off",type:"text",placeholder:"请输入用户名"},domProps:{value:e.userName},on:{input:function(t){t.target.composing||(e.userName=t.target.value)}}})]),i("div",{staticClass:"item"},[i("i",{staticClass:"iconfont icon-password"}),i("input",{directives:[{name:"model",rawName:"v-model",value:e.userPwd,expression:"userPwd"}],staticClass:"input",attrs:{autocomplete:"off",type:"password",maxlength:"20",placeholder:"请输入密码"},domProps:{value:e.userPwd},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.login(t)},input:function(t){t.target.composing||(e.userPwd=t.target.value)}}})]),i("button",{staticClass:"loginBtn",attrs:{disabled:e.isLoginAble},on:{click:function(t){return t.stopPropagation(),e.login(t)}}},[e._v(" 立即登录 ")]),i("div",{staticClass:"tip"},[e._v(" 默认用户名：admin ，默认密码：123456 ")])])])]),i("vue-particles",{attrs:{color:"#6495ED",particleOpacity:.7,particlesNumber:80,shapeType:"circle",particleSize:4,linesColor:"#6495ED",linesWidth:1,lineLinked:!0,lineOpacity:.6,linesDistance:150,moveSpeed:3,hoverEffect:!0,hoverMode:"grab",clickEffect:!0,clickMode:"push"}}),i("bgAnimation"),i("modal",{attrs:{title:"提示",content:e.modalContent,visible:e.visible},on:{"update:visible":function(t){e.visible=t},confirm:e.confirm}})],1)},s=[],o={name:"Login",components:{},data:function(){return{userName:"admin",userPwd:"123456",visible:!1,modalContent:"这是一段自定义模态框消息"}},computed:{isLoginAble:function(){return!(this.userName&&this.userPwd)}},created:function(){},mounted:function(){},methods:{login:function(){"admin"==this.userName&&"123456"==this.userPwd?this.$router.push({path:"/home"}):this.$Toast({content:"请输入正确的用户名和密码",type:"error"})},confirm:function(){this.visible=!1,console.log("点击确定")}}},a=o,r=(i("f05d"),i("2877")),c=Object(r["a"])(a,n,s,!1,null,"c8f3a7d8",null);t["default"]=c.exports},f05d:function(e,t,i){"use strict";var n=i("2062"),s=i.n(n);s.a}}]);