custom-product.scss
1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.content {
position: relative;
padding-bottom: 30px;
// font-family: MicrosoftYaHei;
}
.top-space {
height: 30px;
}
.box {
position: relative;
}
.ebg {
background: url('~@/assets/images/custom-product/cp-bg.png') center no-repeat;
width: 100%;
height: 329px;
position: absolute;
bottom: 0;
overflow: hidden;
}
.product {
display: flex;
justify-content: center;
flex-wrap: wrap;
&-item {
background-color: #ffffff;
flex-wrap: wrap;
width: 192px;
height: 192px;
border-radius: $borderRadius;
border: solid 1px #f2f2f2;
margin: $marginSmallHalf;
cursor: pointer;
.icon-wrap {
height: 132px;
@extend .fcc;
}
.t1 {
width: 100%;
text-align: center;
font-size: $fontSizeTitle;
}
}
}
@media (max-width: 1200px) {
.content {
// @include content-percent();
padding-bottom: $marginMedium-M;
}
.top-space {
padding-bottom: $marginMedium-M;
}
.product {
&-item {
width: 45%;
height: 180px;
}
}
.ebg {
display: none;
}
}