Blame view

src/pages/product/product.scss 2.57 KB
simon committed
1 2 3
@import '@/styles/_support';


joe committed
4
.content {
simon committed
5
  background-color: #f5f5f5;
joe committed
6 7 8
}

.fix {
simon committed
9
  position: fixed;
simon committed
10
  max-width: 1200px;
simon committed
11 12
  width: 100%;
  top: 0;
joe committed
13 14 15
}

.banner {
simon committed
16
  padding-bottom: $marginMedium;
simon committed
17 18 19 20
  position: relative;

  .btn-position {
    position: absolute;
simon committed
21
    top: 27.2rem;
simon committed
22
    left: 2.833333rem;
1  
joe committed
23
    cursor: pointer;
simon committed
24 25
  }

simon committed
26 27 28 29
  img {
    width: 100%;
  }

simon committed
30 31 32 33 34 35 36 37 38 39 40 41 42
  .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;
  }
joe committed
43 44 45
}

.fix .rule-btn {
simon committed
46
  width: 33.33333% !important;
joe committed
47 48 49
}

.blank-pannel {
simon committed
50
  height: 2.5rem;
joe committed
51 52 53
}

.rule-btn-out-group {
simon committed
54
  height: 3rem;
joe committed
55 56 57
}

.rule-btn-group {
simon committed
58 59 60
  display: flex;
  width: 100%;
  justify-content: space-around;
joe committed
61

simon committed
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
  .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;
joe committed
85
    }
simon committed
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
  }

  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%;
  }
joe committed
126 127 128 129

}

.rule-container {
simon committed
130
  display: none;
joe committed
131 132 133
}

.rule-container.activity {
simon committed
134 135 136 137
  display: block;

  img {
    width: 100%;
joe committed
138
    display: block;
simon committed
139 140 141
    height: auto;
    margin: 0 auto;
  }
joe committed
142 143 144
}

.bottom-space {
simon committed
145
  padding-bottom: $marginMedium;
simon committed
146
}