瀏覽代碼

修改 顶部hover bug 调整首页实时统计内 内容的位置。

fanlongfei 8 年之前
父節點
當前提交
9cb6d65045

+ 7 - 0
WebSite/PG.html

@@ -266,6 +266,13 @@
266 266
 		
267 267
 			});
268 268
 		}
269
+		//顶部hover
270
+		$('.topbarWx').hover(function(){
271
+			$('.topbarWx .topbarWx-box').css( 'left' , $(this).offset().left);
272
+		});
273
+		$('.topbarClient').hover(function(){
274
+			$('.topbarClient .topbarClient-box').css( 'left' , $(this).offset().left);
275
+		});
269 276
     </script>
270 277
 </body>
271 278
 

+ 7 - 0
WebSite/ShowImg.html

@@ -213,6 +213,13 @@
213 213
 			
214 214
 				});
215 215
 			}
216
+			//顶部hover
217
+			$('.topbarWx').hover(function(){
218
+				$('.topbarWx .topbarWx-box').css( 'left' , $(this).offset().left);
219
+			});
220
+			$('.topbarClient').hover(function(){
221
+				$('.topbarClient .topbarClient-box').css( 'left' , $(this).offset().left);
222
+			});
216 223
 			
217 224
 		</script>
218 225
 	</body>

+ 26 - 5
WebSite/css/indexs.css

@@ -2149,16 +2149,28 @@ ul.acceptance>li>img {
2149 2149
 .elevator-weixin:hover .elevator-weixin-box{
2150 2150
 	opacity: 1;
2151 2151
     filter: alpha(opacity=100);
2152
+    -webkit-transform: scale(1);
2153
+    transform: scale(1);
2154
+    -webkit-transform-origin: 0 0;
2155
+    transform-origin: 0 0;
2152 2156
     top: 30px;
2153 2157
 }
2154 2158
 .elevator-weixin:hover .elevator-xlwb-box{
2155 2159
 	opacity: 1;
2156 2160
     filter: alpha(opacity=100);
2161
+    -webkit-transform: scale(1);
2162
+    transform: scale(1);
2163
+    -webkit-transform-origin: 0 0;
2164
+    transform-origin: 0 0;
2157 2165
     top: 110px;
2158 2166
 }
2159 2167
 .elevator-app:hover .elevator-app-box{
2160 2168
 	opacity: 1;
2161 2169
     filter: alpha(opacity=100);
2170
+    -webkit-transform: scale(1);
2171
+    transform: scale(1);
2172
+    -webkit-transform-origin: 0 0;
2173
+    transform-origin: 0 0;
2162 2174
     top: 110px;
2163 2175
 }
2164 2176
 .elevator .elevator-weixin-box,
@@ -2178,7 +2190,10 @@ ul.acceptance>li>img {
2178 2190
     transition: all .3s ease-in-out;
2179 2191
     opacity: 0;
2180 2192
     filter: alpha(opacity=0);
2181
-    top: 35000000px;
2193
+    -webkit-transform: scale(.01);
2194
+    transform: scale(.01);
2195
+    -webkit-transform-origin: 100% 95%;
2196
+    transform-origin: 100% 95%;
2182 2197
 }
2183 2198
 .elevator a .elevator-weixin-code,
2184 2199
 .elevator a .elevator-xlwb-code,
@@ -2219,20 +2234,26 @@ ul.acceptance>li>img {
2219 2234
 
2220 2235
 /*顶部微信公众号添加二维码*/
2221 2236
 .topbarWx:hover .topbarWx-box{
2222
-	right: 178px;
2223 2237
     opacity: 1;
2224 2238
     filter: alpha(opacity= 100);
2239
+    -webkit-transform: scale(1);
2240
+    transform: scale(1);
2241
+    -webkit-transform-origin: 0 0;
2242
+    transform-origin: 0 0;
2225 2243
     top: 30px;
2226 2244
 }
2227 2245
 .topbarClient:hover .topbarClient-box{
2228
-	right: 40px;
2229 2246
     opacity: 1;
2230 2247
     filter: alpha(opacity= 100);
2248
+    -webkit-transform: scale(1);
2249
+    transform: scale(1);
2250
+    -webkit-transform-origin: 0 0;
2251
+    transform-origin: 0 0;
2231 2252
     top: 30px;
2232 2253
 }
2233 2254
 .topbarWx .topbarWx-box{
2234 2255
     text-align: center;
2235
-    right: 178px;
2256
+    right: 50%;
2236 2257
     top: -178px;
2237 2258
 }
2238 2259
 
@@ -2243,7 +2264,7 @@ ul.acceptance>li>img {
2243 2264
 }
2244 2265
 .topbarClient .topbarClient-box{
2245 2266
     text-align: center;
2246
-    right: 40px;
2267
+    right: 50%;
2247 2268
     top: -178px;
2248 2269
 }
2249 2270
 

+ 7 - 0
WebSite/dongtai-con.html

@@ -277,6 +277,13 @@
277 277
 			
278 278
 				});
279 279
 			}
280
+			//顶部hover
281
+			$('.topbarWx').hover(function(){
282
+				$('.topbarWx .topbarWx-box').css( 'left' , $(this).offset().left);
283
+			});
284
+			$('.topbarClient').hover(function(){
285
+				$('.topbarClient .topbarClient-box').css( 'left' , $(this).offset().left);
286
+			});
280 287
 
281 288
 		</script>
282 289
 	</body>

+ 7 - 0
WebSite/gonggao-con.html

@@ -264,6 +264,13 @@
264 264
 			
265 265
 				});
266 266
 			}
267
+			//顶部hover
268
+			$('.topbarWx').hover(function(){
269
+				$('.topbarWx .topbarWx-box').css( 'left' , $(this).offset().left);
270
+			});
271
+			$('.topbarClient').hover(function(){
272
+				$('.topbarClient .topbarClient-box').css( 'left' , $(this).offset().left);
273
+			});
267 274
 			
268 275
 		</script>
269 276
 	</body>

+ 11 - 5
WebSite/index.html

@@ -208,10 +208,6 @@
208 208
 									
209 209
 									
210 210
 									<div class="content_foot">
211
-										<div id="jobTypePie" style="width: 100%; height: 184px;"></div>
212
-										<div id="acceptanceBar" style="width: 100%; height: 284px;"></div>
213
-										
214
-										
215 211
 										<div class="left-statistics">
216 212
 											<p>
217 213
 												<span>12345政府热线共受理:</span>
@@ -259,6 +255,8 @@
259 255
 											</ul>
260 256
 										</div>
261 257
 										
258
+										<div id="jobTypePie" style="width: 100%; height: 184px;"></div>
259
+										<div id="acceptanceBar" style="width: 100%; height: 284px;"></div>
262 260
 										<!--<div class="right-statistics rl">
263 261
 											<p>
264 262
 												<span>今日共受理:</span>
@@ -550,6 +548,14 @@
550 548
 //					interval: 5000,
551 549
 //					loop: 'false' 
552 550
 //				});
551
+
552
+				//顶部hover
553
+				$('.topbarWx').hover(function(){
554
+					$('.topbarWx .topbarWx-box').css( 'left' , $(this).offset().left);
555
+				});
556
+				$('.topbarClient').hover(function(){
557
+					$('.topbarClient .topbarClient-box').css( 'left' , $(this).offset().left);
558
+				});
553 559
 			
554 560
 			})
555 561
 			
@@ -931,7 +937,7 @@
931 937
 								enabled: false // 禁用版权信息
932 938
 							},
933 939
 					        title: {
934
-					            text: '工单类型比例分析',
940
+					            text: '办件类型比例分析',
935 941
 					            style:{
936 942
 					            	'color': '#616161',
937 943
 					            	'font-weight': 'bold',

+ 8 - 1
WebSite/js/AcceptDetails.js

@@ -69,4 +69,11 @@
69 69
 			}
70 70
 	
71 71
 		});
72
-	}
72
+	}
73
+	//顶部hover
74
+	$('.topbarWx').hover(function(){
75
+		$('.topbarWx .topbarWx-box').css( 'left' , $(this).offset().left);
76
+	});
77
+	$('.topbarClient').hover(function(){
78
+		$('.topbarClient .topbarClient-box').css( 'left' , $(this).offset().left);
79
+	});

+ 7 - 0
WebSite/js/PeopleNews.js

@@ -1,6 +1,13 @@
1 1
 $(document).ready(function() {
2 2
 	GetWebReleaseList();
3 3
 	getClient();
4
+	//顶部hover
5
+	$('.topbarWx').hover(function() {
6
+		$('.topbarWx .topbarWx-box').css('left', $(this).offset().left);
7
+	});
8
+	$('.topbarClient').hover(function() {
9
+		$('.topbarClient .topbarClient-box').css('left', $(this).offset().left);
10
+	});
4 11
 
5 12
 });
6 13
 function GetWebReleaseList() {

+ 7 - 0
WebSite/js/Work.js

@@ -1,6 +1,13 @@
1 1
 $(document).ready(function() {
2 2
 	GetWebReleaseList();
3 3
 	getClient();
4
+	//顶部hover
5
+	$('.topbarWx').hover(function() {
6
+		$('.topbarWx .topbarWx-box').css('left', $(this).offset().left);
7
+	});
8
+	$('.topbarClient').hover(function() {
9
+		$('.topbarClient .topbarClient-box').css('left', $(this).offset().left);
10
+	});
4 11
 
5 12
 });
6 13
 function GetWebReleaseList() {

+ 7 - 0
WebSite/js/baoguang.js

@@ -2,6 +2,13 @@
2 2
 $(document).ready(function() {
3 3
 	GetBNewsList();
4 4
 	getClient();
5
+	//顶部hover
6
+	$('.topbarWx').hover(function(){
7
+		$('.topbarWx .topbarWx-box').css( 'left' , $(this).offset().left);
8
+	});
9
+	$('.topbarClient').hover(function(){
10
+		$('.topbarClient .topbarClient-box').css( 'left' , $(this).offset().left);
11
+	});
5 12
 
6 13
 });
7 14
 function GetBNewsList() {

+ 8 - 1
WebSite/js/chaxun.js

@@ -52,4 +52,11 @@ function getClient() {
52 52
 		}
53 53
 
54 54
 	});
55
-}
55
+}
56
+//顶部hover
57
+$('.topbarWx').hover(function() {
58
+	$('.topbarWx .topbarWx-box').css('left', $(this).offset().left);
59
+});
60
+$('.topbarClient').hover(function() {
61
+	$('.topbarClient .topbarClient-box').css('left', $(this).offset().left);
62
+});

+ 7 - 0
WebSite/js/gonggao.js

@@ -7,6 +7,13 @@
7 7
 $(document).ready(function() {
8 8
 	GetNewsList();
9 9
 	getClient();
10
+	//顶部hover
11
+	$('.topbarWx').hover(function() {
12
+		$('.topbarWx .topbarWx-box').css('left', $(this).offset().left);
13
+	});
14
+	$('.topbarClient').hover(function() {
15
+		$('.topbarClient .topbarClient-box').css('left', $(this).offset().left);
16
+	});
10 17
 
11 18
 });
12 19
 function GetNewsList() {

+ 7 - 0
WebSite/js/shouli.js

@@ -126,6 +126,13 @@ $(document).ready(function () {
126 126
     });
127 127
 
128 128
 	getClient();
129
+	//顶部hover
130
+	$('.topbarWx').hover(function() {
131
+		$('.topbarWx .topbarWx-box').css('left', $(this).offset().left);
132
+	});
133
+	$('.topbarClient').hover(function() {
134
+		$('.topbarClient .topbarClient-box').css('left', $(this).offset().left);
135
+	});
129 136
 });
130 137
 function LB(obj) {
131 138
     obj.empty();

+ 7 - 0
WebSite/js/zhengce.js

@@ -1,6 +1,13 @@
1 1
 $(document).ready(function() {
2 2
 	GetWebReleaseList();
3 3
 	getClient();
4
+	//顶部hover
5
+	$('.topbarWx').hover(function() {
6
+		$('.topbarWx .topbarWx-box').css('left', $(this).offset().left);
7
+	});
8
+	$('.topbarClient').hover(function() {
9
+		$('.topbarClient .topbarClient-box').css('left', $(this).offset().left);
10
+	});
4 11
 
5 12
 });
6 13
 function GetWebReleaseList() {

+ 7 - 0
WebSite/minqing-con.html

@@ -274,6 +274,13 @@
274 274
 			
275 275
 				});
276 276
 			}
277
+			//顶部hover
278
+			$('.topbarWx').hover(function(){
279
+				$('.topbarWx .topbarWx-box').css( 'left' , $(this).offset().left);
280
+			});
281
+			$('.topbarClient').hover(function(){
282
+				$('.topbarClient .topbarClient-box').css( 'left' , $(this).offset().left);
283
+			});
277 284
 		</script>
278 285
 	</body>
279 286
 

+ 7 - 0
WebSite/morePhotos.html

@@ -254,6 +254,13 @@
254 254
 			
255 255
 				});
256 256
 			}
257
+			//顶部hover
258
+			$('.topbarWx').hover(function(){
259
+				$('.topbarWx .topbarWx-box').css( 'left' , $(this).offset().left);
260
+			});
261
+			$('.topbarClient').hover(function(){
262
+				$('.topbarClient .topbarClient-box').css( 'left' , $(this).offset().left);
263
+			});
257 264
 		</script>
258 265
 	</body>
259 266
 

+ 7 - 0
WebSite/zhengce-con.html

@@ -265,6 +265,13 @@
265 265
 			
266 266
 				});
267 267
 			}
268
+			//顶部hover
269
+			$('.topbarWx').hover(function(){
270
+				$('.topbarWx .topbarWx-box').css( 'left' , $(this).offset().left);
271
+			});
272
+			$('.topbarClient').hover(function(){
273
+				$('.topbarClient .topbarClient-box').css( 'left' , $(this).offset().left);
274
+			});
268 275
 		</script>
269 276
 	</body>
270 277