style.less 1.09 KB
.la-test {
  background: #f1f1f1;
  height: 100%;
  width: 100%;
  padding-bottom: calc( 2% + 50px);
  padding-top: calc( 2% + 300px);

  &_header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    img {
      height: 300px;
      width: auto;
    }
  }

  &_footer {
    position: fixed;
    bottom: 2%;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20%;
    input {
      width: 80%;
    }
  }

  &_content {
    overflow-y: auto;
    height: 100%;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.3s;

    /* Webkit 浏览器(Chrome, Safari, Edge) */
    ::-webkit-scrollbar {
      width: 5px; /* 或者 height: 12px; 对于水平滚动条 */
    }

    ::-webkit-scrollbar-thumb {
      background-color: #eee; /* 滚动条的颜色 */
      border-radius: 6px; /* 滚动条的圆角 */
    }


    ::-webkit-scrollbar-track {
      background-color: #eee; /* 滚动条轨道的颜色 */
      border-radius: 6px; /* 轨道的圆角 */
    }

  }
}