From bd40473c9c634005bc7e62e7fc901bcd8b598fa0 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期五, 02 二月 2024 15:20:26 +0800 Subject: [PATCH] 提交了修改 --- ruoyi-ui/src/views/login.vue | 22 ++++++++++++++-------- 1 files changed, 14 insertions(+), 8 deletions(-) diff --git a/ruoyi-ui/src/views/login.vue b/ruoyi-ui/src/views/login.vue index 6146359..15fe9c9 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/ruoyi-ui/src/views/login.vue @@ -1,7 +1,7 @@ <template> <div class="login Group_132"> <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form" style="margin-left: 0px;margin-right: 180px;"> - <h3 class="title" style="margin-top: 80px;margin-right: 108px;margin-bottom: 0;margin-left: 109px;">娆㈣繋鏉ュ埌鏈兘閮�</h3> + <h3 class="title" style="margin-top: 80px;margin-right: 108px;margin-bottom: 0;margin-left: 109px;">鏈兘閮藉缃�</h3> <div class="second-box" style=" margin-top: 25px; margin-left: 140px; margin-right: 141px; @@ -117,22 +117,24 @@ <span v-if="!loading" style="width: 97px;height: 62px;">鐧诲綍</span> <span v-else>鐧� 褰� 涓�...</span> </el-button> + <a href="https://47.93.189.255:8080/profile/upload/2023/10/10/Bendudu20231010_20231010203358A033.apk">鐐瑰嚮姝ゅ涓嬭浇搴旂敤绋嬪簭</a> <div style="float: right; height:94px;" v-if="register"> <router-link class="link-type" :to="'/register'">绔嬪嵆娉ㄥ唽</router-link> + </div> </el-form-item> </el-form> <!-- 搴曢儴 --> - <div class="el-login-footer"> - <span>Copyright 漏 GDUT All Rights Reserved.</span> - <a href="https://beian.miit.gov.cn/" target="_blank" >绮CP澶�2023050334鍙� </a> + <div class="el-login-footer" > + <span style="color: black; ">Copyright 漏 GDUT All Rights Reserved.<sapn v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"></sapn></span> + <a href="https://beian.miit.gov.cn/" target="_blank" style="color: black; ">绮CP澶�2023050334鍙�<sapn v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"></sapn>鍏畨澶囨鍙�44010402003045</a> </div> </div> </template> <script> -import { getCodeImg } from "@/api/login"; +import { getCodeImg,Download } from "@/api/login"; import Cookies from "js-cookie"; import { encrypt, decrypt } from '@/utils/jsencrypt' @@ -142,8 +144,10 @@ return { codeUrl: "", loginForm: { - username: "admin", - password: "admin123", + // username: "admin", + // password: "admin123", + username: "", + password: "", rememberMe: false, code: "", uuid: "" @@ -179,7 +183,9 @@ }, methods: { getCode() { + getCodeImg().then(res => { + this.captchaEnabled = res.data.captchaEnabled === undefined ? true : res.captchaEnabled; if (this.captchaEnabled) { this.codeUrl = "data:image/gif;base64," + res.data.img; @@ -243,7 +249,7 @@ align-items: center; height: 100%; width: 100%; - background: no-repeat center/40% url("../assets/images/Group 221.png"); + background: no-repeat center/40% url("../assets/images/login_logo.png"); background-color: #FEF7FC; background-position: 183px 145px; -- Gitblit v1.9.1