king
2021-04-09 c4cbf2bdf4b87daf679fa183c4ca7a9da2f3d065
src/views/login/index.scss
@@ -6,6 +6,7 @@
  background-repeat: no-repeat;
  background-position: center center;
  .logo {
    position: relative;
    height: 100px;
    padding-top: 30px;
    line-height: 80px;
@@ -13,7 +14,18 @@
    img {
      max-height: 100%;
    }
    .plat-name {
      position: absolute;
      color: #ffffff;
      line-height: 30px;
      font-size: 30px;
      font-weight: 600;
      padding-left: 20px;
      font-family: "黑体","宋体",sans-serif,"Arial","Microsoft YaHei";
      z-index: 1;
    }
  }
  .login-middle {
    position: relative;
    height: calc(100vh - 194px);
@@ -26,11 +38,57 @@
      float: right;
      margin-top: 5%;
      margin-right: 20%;
      padding: 1.6vw;
      background: #ffffff;
      width: 22vw;
      min-width: 300px;
      border-radius: 5px;
      overflow: hidden;
      border: 1px solid #bfbfbf;
      .login-way-wrap {
        height: 50px;
        line-height: 50px;
        margin-bottom: 10px;
        display: flex;
        .login-way {
          flex: 1;
          width: 50%;
          font-size: 17px;
          text-align: center;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          padding: 0 16px;
          transition: all 0.3s;
          border: 1px solid transparent;
          border-top: 0!important;
        }
        .login-way.active, .login-way:hover {
          color: #1890ff;
        }
        .login-way:not(.active) {
          cursor: pointer;
          background: #fafafa;
          border: 1px solid #e8e8e8;
        }
        .login-way:first-child {
          border-left: 0;
        }
        .login-way:last-child {
          border-right: 0;
        }
      }
      .login-way-wrap.simple {
        .login-way {
          font-size: 18px;
          text-align: left!important;
          padding-left: 1.6vw!important;
          line-height: 60px!important;
        }
      }
      .form-item-wrap {
        padding: 0.6vw 1.6vw 1.6vw;
      }
      h4 {
        font-size: 20px;
@@ -41,9 +99,40 @@
      .ant-form-item {
        font-size: 16px;
        margin-bottom: 3vh;
        height: 40px;
      }
      .ant-form-item.vercode {
        .ant-input-group {
          border: 1px solid #d9d9d9;
          border-radius: 4px;
          .ant-input {
            border: 0;
            border-right: 1px solid #d9d9d9;
          }
          .ant-input-group-addon {
            border: 0;
          }
        }
      }
      .btn-login {
        margin-bottom: 3vh;
        clear: both;
      }
      .register-line {
        font-size: 14px;
        margin-bottom: 10px;
        height: 25px;
        .ant-form-item-control {
          line-height: 25px;
        }
        .register {
          color: #1890ff;
        }
        .forgot {
          font-size: 14px;
          color: #1890ff;
          float: right;
        }
      }
      .minline {
        display: inline-block;
@@ -53,6 +142,7 @@
      .minline.right {
        float: right;
        width: 100px;
        margin-bottom: 2vh;
        .ant-select-selection {
          border: 0;
          box-shadow: none;
@@ -62,7 +152,10 @@
          }
        }
      }
      button {
      button.vercode {
        border: 0;
      }
      button:not(.vercode) {
        width: 100%;
        height: calc(2vw + 10px);
        min-height: 30px;
@@ -88,7 +181,7 @@
      .ant-form label {
        font-size: 16px;
      }
      .ant-btn {
      .ant-btn:not(.vercode) {
        font-size: 18px;
      }
      .anticon-eye {
@@ -116,8 +209,6 @@
  }
  .ant-btn-primary[disabled] {
    color: #fff;
    background-color: #40a9ff;
    border-color: #40a9ff;
  }
}
.sync-cloud-application {
@@ -139,4 +230,16 @@
      }
    }
  }
}
@media screen and (min-width: 1550px) {
  .login-container {
    .ant-tabs.ant-tabs-card {
      .ant-tabs-card-bar {
        .ant-tabs-tab {
          font-size: 20px;
        }
      }
    }
  }
}