slider-comp.scss 1.16 KB
@import "@/styles/_support.scss";

.slider {
  position: relative;
  // margin: 20px 0;
  width: 100%;
  height: 17px;
  border-radius: 8.5px;
  @include linear-bg-rev;
}
.slider .process {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 17px;
  border-radius: 8.5px;
}
.slider .thunk {
  position: absolute;
  bottom: -4px;
  left: -12px;
}
.slider .block {
  background-image: url("~@/assets/images/index/index-thumb.png");
  @extend .bis;
  width: 27px;
  height: 26px;
  margin: 1px auto 0;
  cursor: pointer;
  transition: 0.2s all;
}
.slider .tips {
  // position: absolute;
  // left: -7px;
  // bottom: 30px;
  // min-width: 15px;
  // text-align: center;
  // padding: 4px 8px;
  // background: #000;
  // border-radius: 5px;
  // height: 24px;
  // color: #fff;
  background-image: url("~@/assets/images/index/index-num-bg.png");
  @extend .bis;
  width: 40px;
  height: 30px;
  font-size: $fontSize-M2;
  color: #ffffff;
  text-align: center;
  padding-top: 2px;
}
.slider .tips i {
  position: absolute;
  margin-left: -5px;
  left: 50%;
  bottom: -9px;
  font-size: 16px;
  color: #000;
}
.slider .block:hover {
  // transform: scale(1.1);
  opacity: 0.9;
}