swiper3dCom.less
3.46 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
@charset "UTF-8";
&.swiper-3d-com {
position: relative;
.bg-box {
width: 100%;
height: auto;
.bg-img {
display: block;
width: 100%;
height: auto;
}
}
.carousel-3d-box {
position: absolute;
top: 130px;
z-index: 1;
width: 100%;
height: 100%;
/deep/ .carousel-3d-container {
width: 100% !important;
height: 300px !important;
.carousel-3d-slider {
width: 380px !important;
height: 100% !important;
.carousel-3d-slide {
background-color: transparent !important;
width: 100% !important;
height: 100% !important;
opacity: 0.2 !important;
border: none;
&.current {
opacity: 1 !important;
}
.item {
position: relative;
height: 100%;
.img-box {
margin: 0 auto;
width: 160px;
height: 160px;
.img {
display: block;
width: 160px;
height: 160px;
}
}
.base-box {
position: absolute;
top: 130px;
left: 33px;
z-index: -1;
margin: 0 auto;
width: 314px;
height: 119px;
.base-img {
display: block;
width: 314px;
height: 119px;
}
}
.title-box {
position: absolute;
top: 186px;
z-index: 1;
background-repeat: no-repeat;
background-size: contain;
width: 100%;
height: 93px;
.index {
color: #FFFFFF;
font-size: 22px;
font-weight: 400;
text-align: center;
// -webkit-transform: scale(0.9);
}
.title {
margin-top: 10px;
color: #542B06;
font-size: 24px;
font-weight: 400;
width: 100%;
.title-sub {
margin: 0 auto;
width: 85%;
text-align: center;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
}
}
}
}
}
}
}