qx
qx
2025-04-21 585a80894b9249878fee9c7182f4d14f8e5da985
src/views/login.vue
@@ -1,8 +1,7 @@
<template>
  <div class="login">
    <!-- <div style="padding-top: 130px;"> -->
      <h2>兴平兴化社区服务站</h2>
      <h1>智能健康体检管理系统</h1>
      <div style="font-weight: 700;font-size: 50px;">智能健康体检管理系统</div>
    <!-- </div> -->
@@ -59,7 +58,8 @@
    <!--  底部  -->
    <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>
</template>
@@ -87,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',
@@ -185,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 {
@@ -252,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 {