吉安感知网项目-前端
罗广辉
2026-02-04 be464494037b95d524eae457839ecf2a9e944126
feat: 还原登陆页
2 files modified
151 ■■■■ changed files
applications/task-work-order/src/page/login/index.vue 4 ●●● patch | view | raw | blame | history
applications/task-work-order/src/styles/login.scss 147 ●●●● patch | view | raw | blame | history
applications/task-work-order/src/page/login/index.vue
@@ -5,9 +5,7 @@
        <div class="login-time">
          {{ time }}
        </div>
        <div class="login-brand">
          <p class="title">{{ login.info }}</p>
        </div>
        <p class="title">{{ login.info }}</p>
      </div>
      <div class="login-border">
        <div class="login-main">
applications/task-work-order/src/styles/login.scss
@@ -5,41 +5,15 @@
  width: 100%;
  height: 100%;
  margin: 0 auto;
  background-color: #0b1220;
  overflow: hidden;
  background-color: #469BC0;
  // background-image: url("/img/bg/bg.jpg");
  background-size: 100% 100%;
}
.login-container::before,
.login-container::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  background: radial-gradient(60% 60% at 20% 30%, rgba(88, 176, 255, 0.35), transparent 60%),
    radial-gradient(50% 50% at 80% 20%, rgba(124, 92, 255, 0.35), transparent 65%),
    radial-gradient(50% 50% at 70% 80%, rgba(0, 212, 255, 0.35), transparent 65%),
    linear-gradient(135deg, rgba(10, 21, 38, 0.95), rgba(13, 24, 43, 0.92));
  filter: blur(10px);
  animation: float-sheen 16s ease-in-out infinite;
}
.login-container::after {
  inset: -30%;
  opacity: 0.5;
  background: conic-gradient(from 120deg, rgba(95, 228, 255, 0.25), rgba(128, 120, 255, 0.15), transparent 50%);
  animation: float-sheen 24s ease-in-out infinite reverse;
}
.login-weaper {
  margin: 0 auto;
  width: 1000px;
  position: relative;
  z-index: 1;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(6, 12, 24, 0.55);
  backdrop-filter: blur(10px);
  animation: pop-in 0.7s ease-out;
  box-shadow: -4px 5px 10px rgba(0, 0, 0, 0.4);
  .el-input-group__append {
    border: none;
@@ -55,12 +29,11 @@
}
.login-left {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(80, 160, 255, 0.95), rgba(73, 96, 255, 0.92)) !important;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.12);
  background-color: #5A9CF8 !important;
  color: #fff;
  float: left;
  width: 50%;
@@ -69,7 +42,6 @@
.login-left .img {
  width: 140px;
  filter: drop-shadow(0 8px 18px rgba(10, 22, 38, 0.35));
}
.login-time {
@@ -80,37 +52,33 @@
  color: #fff;
  font-weight: 200;
  opacity: 0.9;
  font-size: 16px;
  font-size: 18px;
  overflow: hidden;
  letter-spacing: 1px;
}
.login-left .title {
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 32px;
  letter-spacing: 3px;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  font-size: 30px;
  letter-spacing: 2px;
}
.login-border {
  border-left: none;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  color: #fff;
  background: rgba(255, 255, 255, 0.92);
  background-color: #fff;
  width: 50%;
  float: left;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.login-main {
  margin: 0 auto;
  width: 65%;
  box-sizing: border-box;
  padding: 40px 0;
}
.login-main > h3 {
@@ -122,13 +90,12 @@
}
.login-title {
  color: #1a1f2b;
  margin-bottom: 36px;
  font-weight: 600;
  font-size: 24px;
  color: #333;
  margin-bottom: 40px;
  font-weight: 500;
  font-size: 22px;
  text-align: center;
  letter-spacing: 6px;
  text-transform: uppercase;
  letter-spacing: 4px;
}
.login-menu {
@@ -146,49 +113,46 @@
.btn-submit {
  width: 100%;
  height: 45px;
  border: 1px solid rgba(78, 155, 255, 0.7);
  background: linear-gradient(120deg, rgba(78, 155, 255, 0.15), rgba(95, 228, 255, 0.25));
  border: 1px solid var(--el-color-primary);
  background: none;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 300;
  color: #1a3f6e;
  color: var(--el-color-primary);
  cursor: pointer;
  margin-top: 30px;
  font-family: "neo";
  transition: 0.25s;
  box-shadow: 0 12px 24px rgba(35, 93, 204, 0.2);
}
.login-submit {
  width: 60%;
  height: 45px;
  border: 1px solid rgba(78, 155, 255, 0.7);
  background: linear-gradient(120deg, rgba(78, 155, 255, 0.15), rgba(95, 228, 255, 0.25));
  border: 1px solid var(--el-color-primary);
  background: none;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 300;
  color: #1a3f6e;
  color: var(--el-color-primary);
  cursor: pointer;
  margin-top: 30px;
  font-family: "neo";
  transition: 0.25s;
  box-shadow: 0 12px 24px rgba(35, 93, 204, 0.2);
}
.register-submit {
  width: 36%;
  height: 45px;
  border: 1px solid rgba(239, 47, 99, 0.7);
  background: linear-gradient(120deg, rgba(239, 47, 99, 0.15), rgba(255, 120, 160, 0.25));
  border: 1px solid #EF2F63FF;
  background: none;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 300;
  color: #b31e4b;
  color: #EF2F63FF;
  cursor: pointer;
  margin-top: 30px;
  font-family: "neo";
  transition: 0.25s;
  box-shadow: 0 12px 24px rgba(239, 47, 99, 0.2);
}
.login-form {
@@ -213,9 +177,8 @@
      background: transparent;
      box-shadow: none;
      border-radius: 0;
      color: #1a1f2b;
      border-bottom: 1px solid rgba(78, 155, 255, 0.4);
      transition: border-color 0.2s ease;
      color: #333;
      border-bottom: 1px solid rgb(235, 237, 242);
    }
    .el-input__prefix {
@@ -238,9 +201,9 @@
  margin-top: 2px;
  width: 100px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(78, 155, 255, 0.3);
  color: #1a1f2b;
  background-color: #fdfdfd;
  border: 1px solid #f0f0f0;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 5px;
@@ -254,55 +217,13 @@
  margin-top: 2px;
  width: 100px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(78, 155, 255, 0.3);
  color: #4b5563;
  background-color: #fdfdfd;
  border: 1px solid #f0f0f0;
  color: #7c7979;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 38px;
  text-indent: 5px;
  text-align: center;
  cursor: pointer !important;
}
.btn-submit:hover,
.login-submit:hover {
  border-color: rgba(78, 155, 255, 0.9);
  background: linear-gradient(120deg, rgba(78, 155, 255, 0.35), rgba(95, 228, 255, 0.45));
  color: #0e2d56;
  transform: translateY(-1px);
}
.register-submit:hover {
  border-color: rgba(239, 47, 99, 0.9);
  background: linear-gradient(120deg, rgba(239, 47, 99, 0.3), rgba(255, 120, 160, 0.45));
  color: #8f173a;
  transform: translateY(-1px);
}
.el-input__wrapper.is-focus {
  border-bottom-color: rgba(78, 155, 255, 0.9);
}
@keyframes float-sheen {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, -2%, 0) scale(1.02);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes pop-in {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}