| | |
| | | <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> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getCodeImg } from "@/api/login"; |
| | | import { getCodeImg,Download } from "@/api/login"; |
| | | import Cookies from "js-cookie"; |
| | | import { encrypt, decrypt } from '@/utils/jsencrypt' |
| | | |
| | |
| | | return { |
| | | codeUrl: "", |
| | | loginForm: { |
| | | username: "admin", |
| | | password: "admin123", |
| | | // username: "admin", |
| | | // password: "admin123", |
| | | username: "", |
| | | password: "", |
| | | rememberMe: false, |
| | | code: "", |
| | | uuid: "" |
| | |
| | | }, |
| | | 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; |
| | |
| | | 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; |