|
|
|
@ -1,5 +1,9 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div class="login">
|
|
|
|
|
<video autoplay loop muted>
|
|
|
|
|
<source src="../../assets/login-video/video.mp4" />
|
|
|
|
|
</video>
|
|
|
|
|
|
|
|
|
|
<div class="system_title">
|
|
|
|
|
<!-- 占位 -->
|
|
|
|
|
<div class="blank"></div>
|
|
|
|
@ -32,32 +36,42 @@
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 账号密码 -->
|
|
|
|
|
<div class="username" v-show="show">
|
|
|
|
|
<div class="username_box">
|
|
|
|
|
<div class="username_icon"></div>
|
|
|
|
|
<div class="name">
|
|
|
|
|
<el-input
|
|
|
|
|
placeholder="请输入账号"
|
|
|
|
|
v-model="formValue.username"
|
|
|
|
|
prefix-icon="el-icon-user-solid"
|
|
|
|
|
onkeyup="value=value.replace(/[^\x00-\xff]/g, '')"
|
|
|
|
|
>
|
|
|
|
|
<div name_icon></div>
|
|
|
|
|
</el-input>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="word_box">
|
|
|
|
|
<div class="word_icon"></div>
|
|
|
|
|
<div class="word">
|
|
|
|
|
<el-input
|
|
|
|
|
placeholder="请输入密码"
|
|
|
|
|
v-model="formValue.password"
|
|
|
|
|
prefix-icon="el-icon-lock"
|
|
|
|
|
onkeyup="value=value.replace(/[^\x00-\xff]/g, '')"
|
|
|
|
|
></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="code">
|
|
|
|
|
<div class="code_box">
|
|
|
|
|
<div class="code_icon"></div>
|
|
|
|
|
<el-input
|
|
|
|
|
placeholder="请输入验证码"
|
|
|
|
|
v-model="formValue.code"
|
|
|
|
|
prefix-icon="el-icon-attract"
|
|
|
|
|
></el-input>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<img class="codeImg" :src="picUrl" alt="" />
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uselogin">
|
|
|
|
|
<el-button type="primary" @click="onLogin">登录</el-button>
|
|
|
|
|
<el-button @click="onLogin" class="loginbtn">登录</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 证书登录 -->
|
|
|
|
@ -67,7 +81,7 @@
|
|
|
|
|
<div class="bookicon"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="uselogin">
|
|
|
|
|
<el-button type="primary" @click="onLogin">登录</el-button>
|
|
|
|
|
<el-button @click="onLogin">登录</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-form>
|
|
|
|
@ -185,10 +199,22 @@ export default {
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
.login {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background-image: url(@/assets/building-picture-hza/bg@2x.png);
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
width: 100vw;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
video {
|
|
|
|
|
position: fixed;
|
|
|
|
|
right: 0px;
|
|
|
|
|
bottom: 0px;
|
|
|
|
|
min-width: 100%;
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
z-index: -22;
|
|
|
|
|
}
|
|
|
|
|
source {
|
|
|
|
|
min-width: 100%;
|
|
|
|
|
min-height: 100%;
|
|
|
|
|
height: auto;
|
|
|
|
|
width: auto;
|
|
|
|
|
}
|
|
|
|
|
.system_title {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
@ -348,7 +374,7 @@ export default {
|
|
|
|
|
.book {
|
|
|
|
|
width: 23vw;
|
|
|
|
|
height: 15vh;
|
|
|
|
|
margin-bottom: 5vh;
|
|
|
|
|
margin-bottom: 5.8vh;
|
|
|
|
|
color: #ecf4f9;
|
|
|
|
|
border: 1px solid #1ceadf;
|
|
|
|
|
text-align: center;
|
|
|
|
@ -367,50 +393,106 @@ export default {
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.name {
|
|
|
|
|
.username_box {
|
|
|
|
|
// background-color: orange;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
border: 1px solid #1ceadf;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
margin-bottom: 2vh;
|
|
|
|
|
&:hover {
|
|
|
|
|
border: 1px solid #009bfd;
|
|
|
|
|
}
|
|
|
|
|
.username_icon {
|
|
|
|
|
width: 1vw;
|
|
|
|
|
height: 2vh;
|
|
|
|
|
background-image: url(../../assets/login/loginicon01.png);
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
margin-left: 0.5vw;
|
|
|
|
|
}
|
|
|
|
|
.name {
|
|
|
|
|
// margin-bottom: 2vh;
|
|
|
|
|
.el-input__inner {
|
|
|
|
|
border: 1px solid #1ceadf;
|
|
|
|
|
background-color: #0b2f59;
|
|
|
|
|
width: 21.5vw;
|
|
|
|
|
// border: 1px solid #1ceadf;
|
|
|
|
|
background-color: #0a3762;
|
|
|
|
|
// background-color: #0b2f59;
|
|
|
|
|
border: 0px solid #000;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.word_box {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
border: 1px solid #1ceadf;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
margin-bottom: 2vh;
|
|
|
|
|
&:hover {
|
|
|
|
|
border: 1px solid #009bfd;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.word_icon {
|
|
|
|
|
width: 1vw;
|
|
|
|
|
height: 2vh;
|
|
|
|
|
background-image: url(../../assets//login/loginicon02.png);
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
margin-left: 0.5vw;
|
|
|
|
|
}
|
|
|
|
|
.word {
|
|
|
|
|
margin-bottom: 2vh;
|
|
|
|
|
.el-input__inner {
|
|
|
|
|
border: 1px solid #1ceadf;
|
|
|
|
|
background-color: #0b2f59;
|
|
|
|
|
width: 21.5vw;
|
|
|
|
|
// border: 1px solid #1ceadf;
|
|
|
|
|
background-color: #0a3762;
|
|
|
|
|
// background-color: #0b2f59;
|
|
|
|
|
border: 0px solid #000;
|
|
|
|
|
color: #fff;
|
|
|
|
|
&:hover {
|
|
|
|
|
border: 1px solid #009bfd;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.code {
|
|
|
|
|
display: flex;
|
|
|
|
|
.el-input__inner {
|
|
|
|
|
width: 13vw;
|
|
|
|
|
.code_box {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
border: 1px solid #1ceadf;
|
|
|
|
|
background-color: #0b2f59;
|
|
|
|
|
color: #fff;
|
|
|
|
|
&:hover {
|
|
|
|
|
border: 1px solid #009bfd;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
.code_icon {
|
|
|
|
|
width: 1vw;
|
|
|
|
|
height: 2vh;
|
|
|
|
|
background-image: url(../../assets//login/loginicon03.png);
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
margin-left: 0.5vw;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.el-input__inner {
|
|
|
|
|
width: 14vw;
|
|
|
|
|
// border: 1px solid #1ceadf;
|
|
|
|
|
background-color: #0a3762;
|
|
|
|
|
// background-color: #0b2f59;
|
|
|
|
|
border: 0px solid #000;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
.codeImg {
|
|
|
|
|
width: 14vw;
|
|
|
|
|
height: 4.5vh;
|
|
|
|
|
border: 1px solid #1ceadf;
|
|
|
|
|
border-radius: 5%;
|
|
|
|
|
margin-left: 0.5vw;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.uselogin {
|
|
|
|
|
margin-top: 3vh;
|
|
|
|
|
.el-button {
|
|
|
|
|
width: 23vw;
|
|
|
|
|
background-image: url(../../assets/login/loginbtn.png);
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
border: none;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|