king
2025-05-13 1a176e4bdba485301385caac1a29102e598d25cc
src/views/login/index.scss
@@ -1,10 +1,12 @@
.login-container {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-color: var(--mk-sys-background);
  background-size: cover;
  // background-image: url('http://bms-test.kresstools.cn/Content/images/login2/bg_mid.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-position: center 100px;
  --mk-login-offset-top: 0px;
  --mk-login-offset-left: 0px;
@@ -15,7 +17,7 @@
    line-height: 80px;
    border-bottom: 2px solid var(--mk-sys-color);
    img {
      max-height: 100%;
      height: 50px;
    }
    .plat-name {
      position: absolute;
@@ -33,7 +35,6 @@
    position: relative;
    height: calc(100vh - 200px);
    min-height: 420px;
    border-bottom: 2px solid var(--mk-sys-color);
    display: flex;
    align-items: center;
    justify-content: right;
@@ -47,6 +48,13 @@
    .login-form-button[disabled] {
      background-color: var(--mk-sys-color5);
      border-color: var(--mk-sys-color5);
    }
    .login-form-button.disabled {
      background-color: var(--mk-sys-color5);
      border-color: var(--mk-sys-color5);
      color: #ffffff;
      cursor: not-allowed;
      opacity: 0.9;
    }
    .login-way-wrap {
@@ -63,6 +71,7 @@
      border-radius: 5px;
      overflow: hidden;
      border: 1px solid #bfbfbf;
      z-index: 3;
      top: var(--mk-login-offset-top, 0px);
      left: var(--mk-login-offset-left, 0px);
      transition: all 0.2s;
@@ -119,17 +128,22 @@
        margin: 0 1.6vw 0 10px;
      }
      .form-item-wrap {
        // padding: 0.6vw 1.6vw 1.6vw;
        padding: 0.6vw 1.6vw 0vw;
        padding: 0.6vw 1.6vw 1.6vw;
        .ant-select-auto-complete.ant-select .ant-select-selection--single {
          height: calc(2vw + 5px);
          min-height: 30px;
        .ant-select-auto-complete {
          .ant-select-selection__rendered {
            height: calc(2vw + 5px);
          }
        }
        .ant-select-auto-complete.ant-select .ant-input:focus, .ant-select-auto-complete.ant-select .ant-input:hover {
          border-color: var(--mk-sys-color);
        }
      }
      .title {
        color: var(--mk-sys-color);
        font-size: 22px;
        font-weight: bold;
        margin: 20px 1.6vw 5px;
      }
      h4 {
@@ -159,6 +173,7 @@
      .btn-login {
        margin-bottom: 3vh;
        clear: both;
        height: auto;
      }
      .register-line {
        font-size: 14px;
@@ -181,6 +196,7 @@
        display: inline-block;
        margin-bottom: 3vh;
        margin-top: -10px;
        height: 35px;
      }
      .minline.right {
        float: right;
@@ -192,6 +208,34 @@
          .ant-select-selection-selected-value {
            float: right;
            margin-right: 10px;
          }
        }
      }
      .proline {
        display: inline-block;
        margin-bottom: 10px;
        height: auto;
        margin-top: calc(-3vh + 10px);
        font-size: 13px;
        .ant-form-item-children {
          display: flex;
          align-items: flex-start;
          line-height: 1.5;
          color: rgba(0, 0, 0, 0.5);
          // .ant-checkbox-inner {
          //   width: 15px;
          //   height: 15px;
          // }
          input[type="checkbox"] {
            width: 35px;
            height: 22px;
            top: -4px;
            left: -4px;
          }
          a {
            color: var(--mk-sys-color);
          }
        }
      }
@@ -221,6 +265,7 @@
        font-size: 16px;
        height: calc(2vw + 5px);
        min-height: 30px;
        border-radius: 0;
      }
      .ant-form label {
        font-size: 16px;
@@ -239,14 +284,16 @@
    }
  }
  .login-bottom {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--mk-sys-font-color);
    padding-top: 20px;
    p {
      margin-bottom: 5px;
    }
    p + br {
      display: none;
    font: 12px/150% Arial,Verdana,"\5b8b\4f53";
    p span.split {
      margin-right: 15px;
    }
    a {
      color: var(--mk-sys-font-color);