1
lkk
2025-04-29 cb9989c7167856993a02238fde5a0ddd37c2c0cd
src/views/login.vue
@@ -1,9 +1,7 @@
<template>
  <div class="login">
    <!-- <div style="padding-top: 130px;"> -->
      <!-- <h2>兴平兴化社区服务站</h2> -->
      <h1>泾川县人民医院</h1>
      <h1>智能健康体检管理系统</h1>
      <div style="font-weight: 700;font-size: 50px;">智能健康体检管理系统</div>
    <!-- </div> -->
@@ -60,7 +58,7 @@
    <!--  底部  -->
    <div class="el-login-footer">
      <span>Copyright © 2022-2023路泰科技 All Rights Reserved.</span>
      <span>Copyright © 2024-2025 All Rights Reserved.</span>
      <!-- <span>Copyright © 2022-2023龙美网络 All Rights Reserved.</span> -->
    </div>
  </div>
@@ -89,14 +87,14 @@
      },
      loginRules: {
        username: [
          { required: true, trigger: "blur", message: "请输入您的账号" }
          { required: true, trigger: "blur", message: "" }
        ],
        password: [
          { required: true, trigger: "blur", message: "请输入您的密码" }
          { required: true, trigger: "blur", message: "" }
        ],
        code: [{ required: true, trigger: "change", message: "请输入验证码" }],
        code: [{ required: true, trigger: "change", message: "" }],
        mobile: [
          { required: true, trigger: "change", message: "请选择" }
          { required: true, trigger: "change", message: "" }
        ]
      },
      pwdtype: 'password',
@@ -187,7 +185,7 @@
      }
    },
    handleLogin() {
      if (this.loginForm.username.length < 6) {
      if (this.loginForm.username.length < 12) {
        this.loginForm.mobile = true;
        this.$router.push({ path: this.redirect || "/" }).catch(() => { });
      } else {
@@ -254,13 +252,14 @@
<style rel="stylesheet/scss" lang="scss">
.login {
  display: flex;
  justify-content: center;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  height: 100%;
  // background-image: url("../assets/images/login-background.jpg");
  background-size: cover;
  flex-direction: column;
  margin-top: 170px;
}
.card {