index.less 985 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
.switchPage {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 0px;

  .switchPageCase {
    position: absolute;
    bottom: 0;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    height: 8px;
    width: 80px;
    background: rgba(94, 121, 143, .65);
    transition: height .5s ease;
    margin: 0 0 6px 0;

    &:hover {
      height: 50px;
      width: auto;

      .switchPageLi {
        display: flex;
      }
    }
  }

  .switchPageLi {
    padding: 10px;
    display: none;
    height: 100%;
    overflow: hidden;
    opacity: 0.8;

    &:hover {
      opacity: 1;
    }
  }

  .switchPageList {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;

    >img {
      height: 100%;
      cursor: pointer;
    }
  }
}