_common.scss 1.67 KB
// 通用颜色
.cOrange {
  color: $cOrange;
}

.cGreen {
  color: $cGreen;
}

.cGray {
  color: $cGray;
}

.cDark {
  color: $cDark;
}


// 提示栏
.alert {
  @extend .bb;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  border-radius: 10px;
  border: solid 1px #dcdddd;
  background-color: #f2f2f2;
  margin: 0 auto 12px;
  padding: 6px 36px;

  .icon {
    margin-right: 5px;
    display: inline-block;
  }

  .btn {
    color: $cOrange;
  }

  .close {
    position: absolute;
    right: 17px;
  }
}

// 输入框
.ipt-wrap {
  .ipt {
    @extend .bb;
    width: 100%;
    height: 4.5rem;
    border-radius: 4.5rem;
    border: solid 1px #dcdddd !important;
    background-color: #ffffff;
    padding: 0 2rem;
    flex: 1;
    letter-spacing: 0.1rem;
  }

  .down-arrow {
    position: absolute;
    top: 2.2rem;
    right: 2rem;
    background-image: url('~@/assets/images/common/down-arrow.png');
    width: 1rem;
    height: .666667rem;
    pointer-events: none;
    cursor: default;
  }

  .eye {
    position: absolute;
    top: 1.2rem;
    right: 2rem;
    background-image: url('~@/assets/images/common/icon-eyes-off.png');
    width: 27px;
    height: 24px;
    pointer-events: none;
    cursor: default;
  }

  .eye-act {
    background-image: url('~@/assets/images/common/icon-eyes-on.png');
  }
}

.ipt:focus {
  border-color: $cOrange !important;
}

.ipt.err {
  border-color: $cOrange !important;
}


// 轮播
.swiper-pagination-bullet {
  width: 1rem !important;
  height: 1rem !important;
}

.swiper-pagination-bullet-active {
  background: $cOrange !important;
}



@media (max-width: 768px) {
  .alert {
    padding: 4px 36px 4px 12px;

    .icon {}
  }
}