product.scss 2.47 KB



.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: 326.4px;
    left: 34px;
    cursor: pointer;
  }

  img {
    width: 100%;
  }

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

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

.blank-pannel {
  height: 30px;
}

.rule-btn-out-group {
  height: 36px;
}

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

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

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

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

  i {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    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;
}