Blame view

src/pages/custom-product/custom-product.scss 1.09 KB
simon committed
1
@import '@/styles/_support.scss';
simon committed
2 3 4

.content {
  position: relative;
simon committed
5
  padding-bottom: 30px;
joe committed
6
  // font-family: MicrosoftYaHei;
simon committed
7 8 9
}

.top-space {
simon committed
10
  height: 30px;
simon committed
11 12 13 14 15 16
}

.box {
  position: relative;
}

simon committed
17

simon committed
18
.ebg {
simon committed
19 20 21
  background: url('~@/assets/images/custom-product/cp-bg.png') center no-repeat;
  width: 100%;
  height: 329px;
simon committed
22 23
  position: absolute;
  bottom: 0;
simon committed
24
  overflow: hidden;
simon committed
25 26 27 28 29 30 31 32
}

.product {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  &-item {
simon committed
33
    background-color: #ffffff;
simon committed
34
    flex-wrap: wrap;
simon committed
35 36
    width: 192px;
    height: 192px;
simon committed
37
    border-radius: $borderRadius;
simon committed
38
    border: solid 1px #f2f2f2;
simon committed
39
    margin: $marginSmallHalf;
simon committed
40 41 42
    cursor: pointer;

    .icon-wrap {
simon committed
43
      height: 132px;
simon committed
44
      @extend .fcc;
simon committed
45 46 47 48 49
    }

    .t1 {
      width: 100%;
      text-align: center;
simon committed
50
      font-size: $fontSizeTitle;
simon committed
51

simon committed
52 53 54
    }
  }
}
simon committed
55 56 57

@media (max-width: 1200px) {
  .content {
simon committed
58
    // @include content-percent();
simon committed
59 60 61 62 63 64 65 66 67 68
    padding-bottom: $marginMedium-M;
  }

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

  .product {
    &-item {
      width: 45%;
simon committed
69
      height: 180px;
simon committed
70 71 72 73 74 75 76
    }
  }

  .ebg {
    display: none;
  }
}