|
@@ -45,6 +45,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import StarBackground from '@/components/star'
|
|
|
import {
|
|
|
getCodeImg,fontConfig,getSecretKey
|
|
|
} from '@/api/login'
|
|
@@ -58,14 +59,19 @@
|
|
|
} from '@/utils/jsencrypt'
|
|
|
|
|
|
export default {
|
|
|
+ beforeCreate: function() {
|
|
|
+ document.getElementsByTagName('body')[0].style.overflow = 'hidden'
|
|
|
+ },
|
|
|
name: 'Login',
|
|
|
+ components:{
|
|
|
+ StarBackground
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
-
|
|
|
backgroudImg:'', //背景图片
|
|
|
systemTitle:{
|
|
|
- title:'通榆县乡村振兴综合监管平台', //标题
|
|
|
- subTitle:'数字交通' ,//副标题
|
|
|
+ title:'', //标题
|
|
|
+ subTitle:'' ,//副标题
|
|
|
},
|
|
|
codeUrl: '',
|
|
|
loginForm: {
|
|
@@ -192,7 +198,7 @@
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
height: 100%;
|
|
|
- background: url("../../assets/images/login/login.jpg") center;
|
|
|
+ background: url("../../assets/images/login/login-ty.jpg") center;
|
|
|
background-size: cover;
|
|
|
}
|
|
|
|
|
@@ -217,7 +223,6 @@
|
|
|
|
|
|
.login-form {
|
|
|
border-radius: 6px;
|
|
|
- margin-left: 25%;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|