product.scss 2.58 KB
@import '@/styles/_support.scss';


.content {
  background-color: #f5f5f5;
}

.fix {
  position: fixed;
  max-width: 1200px;
  width: 100%;
  top: 0;
}

.banner {
  padding-bottom: $marginMedium;
  position: relative;

  .btn-position {
    position: absolute;
    top: 27.2rem;
    left: 2.833333rem;
    cursor: pointer;
  }

  img {
    width: 100%;
  }

  .btn {
    background: #FF5700;
    border: 0;
    color: #fff;
    margin-left: 0;
    width: 160px;
    height: 4.166667rem;
    display: inline-block;
    line-height: 4.166667rem;
    text-align: center;
    border-radius: .416667rem;
    font-size: 1.666667rem;
  }
}

.fix .rule-btn {
  width: 33.33333% !important;
}

.blank-pannel {
  height: 2.5rem;
}

.rule-btn-out-group {
  height: 3rem;
}

.rule-btn-group {
  display: flex;
  width: 100%;
  justify-content: space-around;

  .rule-btn {
    width: 33%;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    font-size: 1.166667rem;
    color: #666666;
    background: #ffffff;
    cursor: pointer;
  }

  .rule-btn.activity {
    background: #FF5700;
    color: #ffffff;

    .triangle {
      width: 0;
      height: 0;
      margin: auto;
      border: .833333rem solid #FF5700;
      border-bottom-color: transparent;
      border-left-color: transparent;
      border-right-color: transparent;
    }
  }

  i {
    display: inline-block;
    width: 1.666667rem;
    height: 1.666667rem;
    margin-right: .666667rem;
    vertical-align: middle;
  }


  .icon-product {
    background: url("~@/assets/images/product/icon-product-unselect.png") no-repeat center center;
    background-size: 75% 60%;
  }

  .activity .icon-product {
    background: url("~@/assets/images/product/icon-product.png") no-repeat center center;
    background-size: 75% 60%;
  }

  .icon-process {
    background: url("~@/assets/images/product/icon-process-unselect.png") no-repeat center center;
    background-size: 75% 60%;
  }

  .activity .icon-process {
    background: url("~@/assets/images/product/icon-process.png") no-repeat center center;
    background-size: 75% 60%;
  }

  .icon-problem {
    background: url("~@/assets/images/product/icon-problem-unselect.png") no-repeat center center;
    background-size: 75% 60%;
  }

  .activity .icon-problem {
    background: url("~@/assets/images/product/icon-problem.png") no-repeat center center;
    background-size: 75% 60%;
  }

}

.rule-container {
  display: none;
}

.rule-container.activity {
  display: block;

  img {
    width: 100%;
    display: block;
    height: auto;
    margin: 0 auto;
  }
}

.bottom-space {
  padding-bottom: $marginMedium;
}