FastBee/docker/data/nginx/vue/static/js/chunk-a3b7efe2.58b895c3.js

1 line
12 KiB
JavaScript
Raw Normal View History

2025-07-07 09:21:15 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a3b7efe2"],{"45bc":function(e,t,o){},"5f33":function(e,t,o){"use strict";o("45bc")},dd7b:function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"login"},[o("el-row",[o("el-col",{attrs:{xs:24}},[o("div",{staticStyle:{color:"#fff","background-color":"#0f73ee",width:"100%",height:"200px","text-align":"center",padding:"15px","font-family":"'微软雅黑'"}},[o("div",{staticStyle:{"font-size":"42px","padding-top":"40px",width:"300px",margin:"0 auto"}},[o("img",{staticStyle:{width:"100px",height:"100px",float:"left"},attrs:{src:e.logo,alt:"logo"}}),o("div",{staticStyle:{float:"left","margin-top":"13px",width:"200px","text-align":"left"}},[o("div",[e._v("FastBee")]),o("div",{staticStyle:{"letter-spacing":"1.5px","font-size":"20px","font-weight":"600","margin-top":"-8px","margin-left":"3px"}},[e._v(" 开源物联网平台")])])])]),o("div",{staticClass:"tabs-login"},[o("el-tabs",{staticClass:"tabs",model:{value:e.activeName,callback:function(t){e.activeName=t},expression:"activeName"}},[o("el-tab-pane",{attrs:{label:"账号登录",name:"first"}},[o("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.loginRules}},[null!=e.loginForm.bindId?o("el-form-item",[o("div",{staticClass:"alert-box-wrap"},[null!=e.loginForm.bindId?o("div",{staticClass:"alert-message-wrap"},[o("i",{staticClass:"el-icon-warning"}),e._v(" 如果你已经有账号,请直接输入账号进行绑定, ")]):e._e(),o("el-row",[o("el-col",{attrs:{span:10.5}},[null!=e.loginForm.bindId?o("div",{staticClass:"alert-message-wrap"},[e._v(" 如果还没有账号,请先去")]):e._e()]),null!=e.loginForm.bindId?o("router-link",{staticStyle:{"margin-left":"10px","font-size":"14px","font-family":"'微软雅黑'",color:"rgba(41, 96, 197, 0.856)"},attrs:{to:{path:"/register",query:this.$route.query}}},[e._v(" 注册 ")]):e._e()],1)],1)]):e._e(),o("div",{staticStyle:{"margin-bottom":"10px","font-size":"14px","font-family":"'微软雅黑'",color:"#f78e21"}},[e._v("演示账号fastbee 123456 ")]),o("el-form-item",{attrs:{prop:"username"}},[o("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},model:{value:e.loginForm.username,callback:function(t){e.$set(e.loginForm,"username",t)},expression:"loginForm.username"}},[o("svg-icon",{staticClass:"input-icon",attrs:{slot:"prefix","icon-class":"user"},slot:"prefix"})],1)],1),o("el-form-item",{attrs:{prop:"password"}},[o("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleLogin(t)}},model:{value:e.loginForm.password,callback:function(t){e.$set(e.loginForm,"password",t)},expression:"loginForm.password"}},[o("svg-icon",{staticClass:"input-icon",attrs:{slot:"prefix","icon-class":"password"},slot:"prefix"})],1)],1),e.captchaOnOff?o("el-form-item",{attrs:{prop:"code"}},[o("el-input",{staticStyle:{width:"66%"},attrs:{"auto-complete":"off",placeholder:"验证码",type:"text"},model:{value:e.loginForm.code,callback:function(t){e.$set(e.loginForm,"code",t)},expression:"loginForm.code"}},[o("svg-icon",{staticClass:"input-icon",attrs:{slot:"prefix","icon-class":"smscode"},slot:"prefix"})],1),o("div",{staticClass:"login-code"},[o("img",{staticStyle:{float:"right"},attrs:{src:e.codeUrl},on:{click:e.getCode}})])],1):e._e(),o("el-checkbox",{staticStyle:{margin:"0px 0px 25px 0px",color:"#000"},model:{value:e.loginForm.rememberMe,callback:function(t){e.$set(e.loginForm,"rememberMe",t)},expression:"loginForm.rememberMe"}},[e._v("记住密码")]),o("el-form-item",{staticStyle:{width:"100%"}},[o("div",{staticStyle:{"margin-bottom":"10px"}},[e.bindAccount?o("el-button",{staticStyle:{width:"100%"},attrs:{loading:e.loading,type:"primary"},nativeOn:{click:function(t){return t.preventDefault(),e.handleBind(t)}}},[e.loading?o("span",[e._v("绑 定 中...")]):o("span",[e._v("绑 定")])]):o("el-button",{staticStyle:{width:"100%"},att