From 876f43e0fd34e084cc8a179a20afb51fe612eca3 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期六, 09 十二月 2023 18:59:31 +0800 Subject: [PATCH] qxtj --- src/views/login.vue | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/views/login.vue b/src/views/login.vue index 0e7e3c4..1b6f2f0 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -1,6 +1,11 @@ <template> <div class="login"> - <h1>鏅鸿兘鍋ュ悍浣撴绠$悊绯荤粺</h1> + <!-- <div style="padding-top: 130px;"> --> + <!-- <h2>鍏村钩鍏村寲绀惧尯鏈嶅姟绔�</h2> --> + <h1>娉惧窛鍘夸汉姘戝尰闄�</h1> + <h1>鏅鸿兘鍋ュ悍浣撴绠$悊绯荤粺</h1> + <!-- </div> --> + <el-form :inline="true" ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> <div class="img"> @@ -55,13 +60,14 @@ <!-- 搴曢儴 --> <div class="el-login-footer"> - <span>Copyright 漏 2022-2023榫欑編缃戠粶 All Rights Reserved.</span> + <span>Copyright 漏 2022-2023璺嘲绉戞妧 All Rights Reserved.</span> + <!-- <span>Copyright 漏 2022-2023榫欑編缃戠粶 All Rights Reserved.</span> --> </div> </div> </template> <script> -import { getCodeImg ,getconfigKey} from "@/api/login"; +import { getCodeImg, getconfigKey } from "@/api/login"; import Cookies from "js-cookie"; import { encrypt, decrypt } from '@/utils/jsencrypt' @@ -97,7 +103,7 @@ openeye: require('../assets/images/by.png'), flag: false, loading: false, - configKey:"captcha_switch", + configKey: "captcha_switch", // // 楠岃瘉鐮佸紑鍏� captchaEnabled: true, // 娉ㄥ唽寮�鍏� @@ -134,21 +140,21 @@ this.getCookie(); }, methods: { - getstate(){ + getstate() { getconfigKey().then(res => { - if(res.msg == "Y"){ + if (res.msg == "Y") { this.captchaEnabled = true this.getCode(); - }else if(res.msg == "N"){ + } else if (res.msg == "N") { this.captchaEnabled = false } }) }, - + hide() { - this.loginForm.username = "10001"; - this.loginForm.password = "admin123"; + // this.loginForm.username = "10001"; + // this.loginForm.password = "admin123"; }, changetype() { this.pwdtype = this.pwdtype === 'password' ? 'text' : 'password' -- Gitblit v1.8.0