|
|
@@ -1,38 +1,50 @@
|
|
1
|
1
|
.pages li {
|
|
2
|
|
- list-style-type: none;
|
|
3
|
|
- width: 25px;
|
|
4
|
|
- height: 14px;
|
|
5
|
|
- background-color: rgba(128,128,128,.4);
|
|
6
|
|
-
|
|
|
2
|
+ list-style-type: none;
|
|
|
3
|
+ width: 25px;
|
|
|
4
|
+ height: 14px;
|
|
|
5
|
+ background-color: rgba(128, 128, 128, .4);
|
|
7
|
6
|
}
|
|
|
7
|
+
|
|
8
|
8
|
.pages li:hover {
|
|
9
|
|
- box-shadow: 0 0 5px 2px white;
|
|
|
9
|
+ box-shadow: 0 0 5px 2px white;
|
|
10
|
10
|
}
|
|
|
11
|
+
|
|
11
|
12
|
.pages li.active {
|
|
12
|
|
- background-color: orange;
|
|
13
|
|
- box-shadow: 0 0 5px 2px orange;
|
|
|
13
|
+ background-color: orange;
|
|
|
14
|
+ box-shadow: 0 0 5px 2px orange;
|
|
14
|
15
|
}
|
|
|
16
|
+
|
|
15
|
17
|
.pages {
|
|
16
|
|
- position: absolute;
|
|
17
|
|
- z-index: 999;
|
|
|
18
|
+ position: absolute;
|
|
|
19
|
+ z-index: 999;
|
|
18
|
20
|
}
|
|
|
21
|
+
|
|
|
22
|
+
|
|
19
|
23
|
/*横屏滑动*/
|
|
|
24
|
+
|
|
20
|
25
|
.pages.horizontal {
|
|
21
|
|
- right: -90px;
|
|
22
|
|
- transform: translateX(-50%);
|
|
23
|
|
- bottom: 5px;
|
|
|
26
|
+ right: -90px;
|
|
|
27
|
+ transform: translateX(-50%);
|
|
|
28
|
+ bottom: 5px;
|
|
24
|
29
|
}
|
|
|
30
|
+
|
|
25
|
31
|
.bannerContainer .pages.horizontal {
|
|
26
|
|
- display: none;
|
|
|
32
|
+ display: none;
|
|
27
|
33
|
}
|
|
|
34
|
+
|
|
28
|
35
|
.pages.horizontal li {
|
|
29
|
|
- display: inline-block;
|
|
30
|
|
- margin-right: 10px;
|
|
|
36
|
+ display: inline-block;
|
|
|
37
|
+ margin-right: 10px;
|
|
31
|
38
|
}
|
|
|
39
|
+
|
|
32
|
40
|
.pages.horizontal li:last-child {
|
|
33
|
|
- margin-right: 0;
|
|
|
41
|
+ margin-right: 0;
|
|
34
|
42
|
}
|
|
|
43
|
+
|
|
|
44
|
+
|
|
35
|
45
|
/*竖屏滑动*/
|
|
|
46
|
+
|
|
|
47
|
+
|
|
36
|
48
|
/*.pages.vertical {
|
|
37
|
49
|
right: 5px;
|
|
38
|
50
|
top: 50%;
|
|
|
@@ -44,26 +56,36 @@
|
|
44
|
56
|
.pages.vertical li:last-child {
|
|
45
|
57
|
margin-bottom: 0;
|
|
46
|
58
|
}*/
|
|
|
59
|
+
|
|
|
60
|
+
|
|
47
|
61
|
/*小轮播*/
|
|
48
|
|
- #container {
|
|
49
|
|
- width: 100%;
|
|
50
|
|
- height: 310px;
|
|
51
|
|
- overflow: hidden;
|
|
52
|
|
- }
|
|
53
|
|
- .sections,.section {
|
|
54
|
|
- height:100%;
|
|
55
|
|
- }
|
|
56
|
|
- #container,.sections{
|
|
57
|
|
- position: relative;
|
|
58
|
|
- }
|
|
59
|
|
- .section{
|
|
60
|
|
- background-color: #000;
|
|
61
|
|
- background-size: 100% 100%;
|
|
62
|
|
- background-position: 50% 50%;
|
|
63
|
|
- text-align: center;
|
|
64
|
|
- color: white;
|
|
65
|
|
- }
|
|
66
|
|
- /*#section0 {
|
|
|
62
|
+
|
|
|
63
|
+#container {
|
|
|
64
|
+ width: 100%;
|
|
|
65
|
+ height: 310px;
|
|
|
66
|
+ overflow: hidden;
|
|
|
67
|
+}
|
|
|
68
|
+
|
|
|
69
|
+.sections,
|
|
|
70
|
+.section {
|
|
|
71
|
+ height: 100%;
|
|
|
72
|
+}
|
|
|
73
|
+
|
|
|
74
|
+#container,
|
|
|
75
|
+.sections {
|
|
|
76
|
+ position: relative;
|
|
|
77
|
+}
|
|
|
78
|
+
|
|
|
79
|
+.section {
|
|
|
80
|
+ background-color: #000;
|
|
|
81
|
+ background-size: 100% 100%;
|
|
|
82
|
+ background-position: 50% 50%;
|
|
|
83
|
+ text-align: center;
|
|
|
84
|
+ color: white;
|
|
|
85
|
+}
|
|
|
86
|
+
|
|
|
87
|
+
|
|
|
88
|
+/*#section0 {
|
|
67
|
89
|
background-image: url('../img/qiehuan.png');
|
|
68
|
90
|
}
|
|
69
|
91
|
#section1 {
|
|
|
@@ -75,22 +97,24 @@
|
|
75
|
97
|
#section3 {
|
|
76
|
98
|
background-image: url('../img/qiehuan.png');
|
|
77
|
99
|
}*/
|
|
78
|
|
- .section h3{
|
|
79
|
|
- margin-top: -35px;
|
|
80
|
|
- width: 210px;
|
|
81
|
|
- background: rgba(128,128,128,.4)!important;
|
|
82
|
|
- font-size: 16px;
|
|
83
|
|
- padding: 10px;
|
|
84
|
|
- text-align: left;
|
|
85
|
|
- line-height: 16px;
|
|
86
|
|
- overflow: hidden;
|
|
87
|
|
- text-overflow:ellipsis;
|
|
88
|
|
- white-space: nowrap;
|
|
89
|
|
- }
|
|
90
|
|
- .section img{
|
|
91
|
|
- width: 100%;
|
|
92
|
|
- height: 310px;
|
|
93
|
|
- }
|
|
|
100
|
+
|
|
|
101
|
+.section h3 {
|
|
|
102
|
+ margin-top: -35px;
|
|
|
103
|
+ width: 210px;
|
|
|
104
|
+ background: rgba(128, 128, 128, .4)!important;
|
|
|
105
|
+ font-size: 16px;
|
|
|
106
|
+ padding: 10px;
|
|
|
107
|
+ text-align: left;
|
|
|
108
|
+ line-height: 16px;
|
|
|
109
|
+ overflow: hidden;
|
|
|
110
|
+ text-overflow: ellipsis;
|
|
|
111
|
+ white-space: nowrap;
|
|
|
112
|
+}
|
|
|
113
|
+
|
|
|
114
|
+.section img {
|
|
|
115
|
+ width: 100%;
|
|
|
116
|
+ height: 310px;
|
|
|
117
|
+}
|
|
94
|
118
|
|
|
95
|
119
|
|
|
96
|
120
|
/*banner轮播*/
|
|
|
@@ -99,13 +123,16 @@
|
|
99
|
123
|
width: 100%;
|
|
100
|
124
|
overflow: hidden;
|
|
101
|
125
|
}
|
|
102
|
|
-.bannerContainer img{
|
|
|
126
|
+
|
|
|
127
|
+.bannerContainer img {
|
|
103
|
128
|
width: 100%;
|
|
104
|
129
|
height: 100%;
|
|
105
|
130
|
display: block;
|
|
106
|
131
|
font-size: 0;
|
|
107
|
132
|
text-align: center;
|
|
108
|
133
|
}
|
|
|
134
|
+
|
|
|
135
|
+
|
|
109
|
136
|
/*
|
|
110
|
137
|
#bannerContainer #section0 {
|
|
111
|
138
|
background-image: url(../img/banner-img_0.png);
|
|
|
@@ -116,3 +143,57 @@
|
|
116
|
143
|
#bannerContainer #section2 {
|
|
117
|
144
|
background-image: url(../img/banner-img_2.jpg);
|
|
118
|
145
|
}*/
|
|
|
146
|
+
|
|
|
147
|
+
|
|
|
148
|
+/*小轮播样式*/
|
|
|
149
|
+
|
|
|
150
|
+.carousel-inner>.item>a>img {
|
|
|
151
|
+ width: 100%;
|
|
|
152
|
+ height: 310px;
|
|
|
153
|
+}
|
|
|
154
|
+
|
|
|
155
|
+.carousel-indicators li {
|
|
|
156
|
+ width: 25px;
|
|
|
157
|
+ height: 14px;
|
|
|
158
|
+ margin-right: 10px;
|
|
|
159
|
+ border: none;
|
|
|
160
|
+ border-radius: 0;
|
|
|
161
|
+ background-color: rgba(128, 128, 128, .4);
|
|
|
162
|
+}
|
|
|
163
|
+
|
|
|
164
|
+.carousel-indicators {
|
|
|
165
|
+ bottom: 0;
|
|
|
166
|
+ right: 0;
|
|
|
167
|
+ left: 72%;
|
|
|
168
|
+ margin-bottom: 0px;
|
|
|
169
|
+ line-height: 32px;
|
|
|
170
|
+}
|
|
|
171
|
+
|
|
|
172
|
+.carousel-indicators li.active {
|
|
|
173
|
+ width: 25px;
|
|
|
174
|
+ height: 14px;
|
|
|
175
|
+ margin-right: 10px;
|
|
|
176
|
+ border: none;
|
|
|
177
|
+ border-radius: 0;
|
|
|
178
|
+ background-color: orange;
|
|
|
179
|
+ box-shadow: 0 0 5px 2px orange;
|
|
|
180
|
+}
|
|
|
181
|
+
|
|
|
182
|
+.carousel-caption {
|
|
|
183
|
+ left: 0;
|
|
|
184
|
+ right: 0;
|
|
|
185
|
+ bottom: 0;
|
|
|
186
|
+ padding-top: 0px;
|
|
|
187
|
+ padding-bottom: 0px;
|
|
|
188
|
+}
|
|
|
189
|
+
|
|
|
190
|
+.carousel-caption p {
|
|
|
191
|
+ width: 210px;
|
|
|
192
|
+ font-size: 16px;
|
|
|
193
|
+ padding: 10px;
|
|
|
194
|
+ text-align: left;
|
|
|
195
|
+ line-height: 16px;
|
|
|
196
|
+ overflow: hidden;
|
|
|
197
|
+ text-overflow: ellipsis;
|
|
|
198
|
+ white-space: nowrap;
|
|
|
199
|
+}
|