index.less 2.26 KB
.nav-bar-box {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(
    100px + constant(safe-area-inset-top)
  ); /* 直接扩展高度,因为padding-bottom是内边距 */
  height: calc(100px + env(safe-area-inset-top)); /* 直接扩展高度 */
  padding-top: constant(safe-area-inset-top); /*兼容 iOS<11.2 */
  padding-top: env(safe-area-inset-top); /* 兼容iOS>= 11.2*/
  background: #fff;
  z-index: 98;
  .adm-nav-bar {
    height: 100px;
    padding: 0 12px;
    .adm-nav-bar-left {
      .adm-nav-bar-back {
        padding: 0;
        .back-icon {
          display: block;
          width: 48px;
          height: 48px;
          background: url('./back_icon_b.png') center center no-repeat;
          background-size: cover;
          &.white {
            background: url('./back_icon_w.png') center center no-repeat;
            background-size: cover;
          }
        }
        .custom-icon {
          width: 16px;
          height: 16px;
          font-size: 16px;
        }
      }
    }
    .adm-nav-bar-title {
      font-size: 36px;
      color: #fff;
      text-align: center;
      font-weight: 500;
    }
    .adm-nav-bar-right {
    }
  }
}

.sx-fixed-back {
  position: fixed;
  right: 15px;
  bottom: 210px;
  z-index: 999; // 不被其它dom覆盖
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  .icon-fixed-back {
    width: 22px;
    height: 22px;
  }
}

.sx-left-bottom {
  position: fixed;
  width: 214px;
  height: 214px;
  left: -107px;
  bottom: -107px;
  border-radius: 50%;
  z-index: 999;
  text-align: right;

  &_wrap {
    display: inline-block;
    margin: 40px 53px 0 0;
    text-align: center;
    //border: 1px solid red;

    &__icon {
      width: 18px;
      height: 18px;
      color: #fff;
    }

    &__text {
      color: #fff;
    }
  }

  &_wrapFocus {
    .sx-left-bottom_wrap__icon,
    .sx-left-bottom_wrap__text {
      color: #3499ff;
    }
  }
}

.sx-left-center {
  position: fixed;
  width: 24px;
  height: 52px;
  bottom: 120px;
  border-radius: 0 52px 52px 0;
  background: rgba(52, 153, 255, 0.1);
  z-index: 999;
  text-align: right;

  &_wrap {
    display: inline-block;
    color: #3a9cfe;
    margin: 15px 10px 0 0;
    transform: scale(1.4);
  }
}