city-swiper.scss
1.72 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
.city-swiper {
display: none;
width: 750px;
height: 430px;
position: fixed;
bottom: 0;
left: 0;
background-color: #d2d5da;
border-top: solid 1px #939598;
.swiper-header {
height: 70px;
background-color: #f0f0f1;
div {
line-height: 70px;
color: #3478f6;
font-size: 30px;
padding: 0 20px;
}
.cancel {
float: left;
}
.ok {
float: right;
}
}
.swiper-list {
height: 360px;
width: 750px;
overflow: hidden;
position: relative;
}
.swiper-container {
width: 50%;
height: 360px;
float: left;
}
.swiper-slide {
text-align: center;
transform: rotateX(45deg);
-webkit-transform: rotateX(45deg);
color: #aeb0b5;
font-size: 30px;
display: -webkit-flex;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
}
.swiper-slide-prev {
transform: rotateX(30deg);
-webkit-transform: rotateX(30deg);
color: #888a8e;
}
.swiper-slide-next {
transform: rotateX(30deg);
-webkit-transform: rotateX(30deg);
color: #888a8e;
}
.swiper-slide-active {
transform: rotateX(0);
-webkit-transform: rotateX(0);
color: #2a2a2b;
}
.swiper-line {
position: absolute;
top: 50%;
left: 0;
width: 750px;
border-top: solid 1px #a8abae;
border-bottom: solid 1px #a8abae;
z-index: -1;
}
}