homePage.scss 1.83 KB
.HomePage {
  width: 100%;
  height: 100%;
  background-image: url("@/assets/images/bg.jpg"); /* 替换为你的图片路径 */
  background-size: cover; /* 背景图片覆盖整个元素 */
  background-position: center; /* 背景图片居中 */
  background-repeat: no-repeat; /* 不重复背景图片 */
}
.content {
    margin-top: 13px;
    position: relative;
    .navs {
      position: absolute;
      left: 0;
      box-sizing: border-box;
      width: 122px;
      height: 80vh;
      background-color: rgba(228, 231, 237, 0.23);
      border-radius: 0px 10px 10px 0px;
      padding: 25px 0;
      text-align: center;
      border-right: unset;
    }
    .table-box {
      position: absolute;
      right: 122px;
      width: calc(100% - 122px - 122px - 26px - 26px);
      margin: 0 26px;
      .search {
        border-radius: 10px;
        background-color: rgba(244, 244, 245, 0.38);
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 12px;
        .ipt-box {
          display: flex;
          flex-direction: row;
          align-items: center;
          .el-input {
            width: 300px;
            :deep(.el-input__inner) {
              border-radius: 4px 0 0 4px;
            }
          }
          .el-button {
            height: 40px;
            background: rgb(164, 173, 179);
            color: #fff;
            border-radius: 0 4px 4px 0;
            margin-right: 10px;
            border: unset;
          }
        }
      }
      .info {
        margin-top: 14px;
        border-radius: 10px;
        height: calc(100vh - 195px);
      }
    }
    .news {
      position: absolute;
      right: 0;
      box-sizing: border-box;
      width: 122px;
      height: 120px;
      background-color: rgba(228, 231, 237, 0.23);
      border-radius: 10px 0px 0px 10px;
      padding: 20px 0;
    }
  }