miaofuhao 6 anni fa
parent
commit
9be5d9f75f

+ 118 - 26
WebChartBigNew2/css/animation.css

@@ -1,11 +1,54 @@
1
-.step1_line {
1
+.step1_bj {
2
+    background-image: url(../img/step1_bj.png);
3
+    background-repeat: no-repeat;
4
+    background-position: center center;
5
+    position: absolute;
6
+    height: 1510px;
7
+    width: 240px;
8
+    left: 800px;  
9
+	top: 310px;
10
+    z-index: 999999;
11
+}
12
+.step2_bj {
13
+    background-image: url(../img/step2_bj.png);
14
+    background-repeat: no-repeat;
15
+    background-position: center center;
16
+    position: absolute;
17
+    height: 1012px;
18
+    width: 232px;
19
+    left: 2780px;  
20
+	top: 650px;
21
+}
22
+.step3_bj {
23
+    background-image: url(../img/step3_bj.png);
24
+    background-repeat: no-repeat;
25
+    background-position: center center;
26
+    position: absolute;
27
+    height: 1012px;
28
+    width: 235px;
29
+    left: 4730px;  
30
+	top: 650px;
31
+    z-index: 3333;
32
+}
33
+.step4_bj {
34
+    background-image: url(../img/step4_bj.png);
35
+    background-repeat: no-repeat;
36
+    background-position: center center;
37
+    position: absolute;
38
+    height: 1530px;
39
+    width: 220px;
40
+    left: 6580px;  
41
+	top: 310px;
42
+    z-index: 999999;
43
+}
44
+.step1_line {
2 45
     background-image: url(../img/step1_line.png);
3 46
     background-repeat: no-repeat;
4 47
     background-position: center center;
5 48
     position: absolute;
6 49
     height: 1510px;
7 50
     width: 240px;
8
-    /*animation: step2_line 2s linear infinite;*/
51
+    animation: step2_line 2s linear infinite;
9 52
     z-index: 999999;
10 53
 }
11 54
 .step2_line {
@@ -15,7 +58,7 @@
15 58
     position: absolute;
16 59
     height: 1012px;
17 60
     width: 232px;
18
-    /*animation: step3_line_l 2s linear infinite;*/
61
+    animation: step3_line_l 2s linear infinite;
19 62
 }
20 63
 .step3_line {
21 64
     background-image: url(../img/step3_line.png);
@@ -24,7 +67,7 @@
24 67
     position: absolute;
25 68
     height: 1012px;
26 69
     width: 235px;
27
-   /* animation: step3_line_l 2s linear infinite;*/
70
+    animation: step3_line_l 2s linear infinite;
28 71
     z-index: 3333;
29 72
 }
30 73
 .step4_line {
@@ -34,44 +77,93 @@
34 77
     position: absolute;
35 78
     height: 1530px;
36 79
     width: 220px;
37
-   /* animation: step2_line 2s linear infinite;*/
80
+    left: 4730px;  
81
+	top: 650px;
82
+    animation: step4_line_l 2s linear infinite;
38 83
     z-index: 999999;
39 84
 }
40
-@keyframes step2_line {
41
-	0% { clip: rect(1600px, 120px, 1600px, 0px); }
42
-	50% { clip: rect(0px, 120px, 1600px, 0px); }
43
-	100% { clip: rect(0px, 120px, 0px, 0px); }
44
-}
45 85
 .posi_line1{
46 86
 	left: 800px;  
47 87
 	top: 310px;
48
-	/*animation: step2_line 2s linear 0s infinite;*/
88
+	animation: step2_line 2s linear 0s infinite;
49 89
 	}
50
-.posi_line3{
90
+.posi_line2{
51 91
 	left: 2780px;  
52 92
 	top: 650px;
53
-	/*animation: step3_line_l 2s linear 4s infinite;*/
93
+	animation: step3_line_l 2s linear 4s infinite;
54 94
 }
55
-.posi_line4{
95
+.posi_line3{
56 96
 	left: 4730px;  
57 97
 	top: 650px;
58
-	/*animation: step3_line_r 2s linear 6s infinite;*/
98
+	animation: step3_line_l 2s linear 6s infinite;
59 99
 }
60
-.posi_line5{
100
+.posi_line4{	
61 101
 	left: 6580px;  
62 102
 	top: 310px;
63
-	/*animation: step2_line 2s linear 8s infinite;*/
103
+	animation: step4_line_l 2s linear 8s infinite;
64 104
 }
65
-
66
-@keyframes step3_line_l {
67
-	0% { clip: rect(0px, 0px, 925px, 0px); }
68
-	50% { clip: rect(0px, 480px, 925px, 0px); }
69
-	100% { clip: rect(0px, 480px, 925px, 480px); }
105
+@keyframes step2_line {
106
+	0% { clip: rect(1540px, 240px, 1540px, 0px); }
107
+	50% { clip: rect(0px, 240px, 1540px, 0px); }
108
+	100% { clip: rect(0px, 240px, 0px, 0px); }
70 109
 }
71
-
72 110
 @keyframes step3_line_l {
73
-	0% { clip: rect(0px, 0px, 925px, 0px); }
74
-	50% { clip: rect(0px, 480px, 925px, 0px); }
75
-	100% { clip: rect(0px, 480px, 925px, 480px); }
111
+	0% { clip: rect(0px, 0px, 1012px, 0px); }
112
+	50% { clip: rect(0px, 235px, 1012px, 0px); }
113
+	100% { clip: rect(0px, 235px, 1012px, 235px); }
114
+}
115
+@keyframes step4_line_l {
116
+	0% { clip: rect(0px, 1540px, 0px, 0px); }
117
+	50% { clip: rect(0px, 235px, 1540px, 0px); }
118
+	100% { clip: rect(1540px, 235px, 1540px, 0px); }
76 119
 }
77 120
 
121
+
122
+
123
+/*边框*/
124
+/*动画1*/
125
+.imaxeventani_1::before,
126
+.imaxeventani_1::after {
127
+	content: '';
128
+	position:absolute;
129
+	width:684px;
130
+	height:229px;
131
+	z-index: 0;
132
+	left:34px;
133
+	top:34px;
134
+	box-shadow: inset 0 0 0 1px #00ffff;
135
+	border: 5px solid #0d85ff;
136
+	border-radius:5px;
137
+	animation: imaxeventani_1 1s linear infinite;
138
+	z-index: 22;
139
+}
140
+.imaxeventani_1::after { z-index: 0; animation-delay: -4s;}
141
+@keyframes imaxeventani_1 {
142
+	0%,100% { clip: rect(0px, 684px, 5px, 0px);}
143
+	25% { clip: rect(0px, 684px, 229px, 679px);}
144
+	50% { clip: rect(224px, 684px, 229px, 0px);}
145
+	75% { clip: rect(0px, 5px, 229px, 0px);}
146
+}
147
+/*动画2*/
148
+.imaxeventani_2::before,
149
+.imaxeventani_2::after {
150
+	content: '';
151
+	position:absolute;
152
+	width:324px;
153
+	height:900px;
154
+	z-index: 0;
155
+	left:0px;
156
+	top:0px;
157
+	box-shadow: inset 0 0 0 1px #00ffff;
158
+	border: 5px solid #0d85ff;
159
+	border-radius:5px;
160
+	animation: imaxeventani_2 1s linear infinite;
161
+	z-index: 22;
162
+}
163
+.imaxeventani_2::after { z-index: 0; animation-delay: -4s;}
164
+@keyframes imaxeventani_2 {
165
+	0%,100% { clip: rect(0px, 324px, 5px, 0px);}
166
+	25% { clip: rect(0px, 324px, 900px, 319px);}
167
+	50% { clip: rect(895px, 324px, 900px, 0px);}
168
+	75% { clip: rect(0px, 5px, 900px, 0px);}
169
+}

+ 13 - 3
WebChartBigNew2/css/index.css

@@ -292,6 +292,7 @@
292 292
 }
293 293
 
294 294
 .bot3_con table tbody tr td{
295
+	position: relative;
295 296
 }
296 297
 /*.bot3_con table tbody tr td{
297 298
 	width: 100%;
@@ -301,6 +302,8 @@
301 302
 	width: 100%;
302 303
 	height: 225px;
303 304
 	margin:35px 5%;
305
+}
306
+.orderTextbo{
304 307
 	border: 2px solid #095eb4;
305 308
 }
306 309
 .bot3_con table tbody tr td .td_line1{
@@ -702,23 +705,30 @@
702 705
 
703 706
 .orderTtype_Con ul li {
704 707
 	float: left;
705
-	background: url(../img/light_kuang2.png) no-repeat center;
706 708
 	height: 900px;
707 709
 	width: 40%;
708 710
 	background-size: 100% 100%;
709 711
 	box-sizing: border-box;
710 712
 	padding-top: 40px;
711
-	margin: 0 5%;
713
+	margin: 0px 5%;
712 714
 	position: relative;
713 715
 }
714 716
 
715 717
 .orderTtype_Con ul li img{
716 718
 	margin-left: 80px;
717 719
 }
718
-.orderTtype_Con ul li.active {
720
+.activeli_1{
721
+	background: url(../img/light_kuang2.png) no-repeat center;
722
+	background-size: 100% 100%;
723
+	height: 900px;
724
+	width: 40%;
725
+	padding-top: 45px;
726
+}
727
+.activeli_2{
719 728
 	background: url(../img/light_kuang1.png) no-repeat center;
720 729
 	background-size: 100% 100%;
721 730
 	height: 900px;
731
+	width: 40%;
722 732
 	padding-top: 45px;
723 733
 }
724 734
 

BIN
WebChartBigNew2/img/step1_bj.png


BIN
WebChartBigNew2/img/step2_bj.png


BIN
WebChartBigNew2/img/step3_bj.png


BIN
WebChartBigNew2/img/step4_bj.png


+ 19 - 15
WebChartBigNew2/index.html

@@ -16,10 +16,14 @@
16 16
 	<body>
17 17
 		<!--导航栏结束-->
18 18
 		<div id="wrap">
19
+			<div class="step1_bj"></div>
20
+			<div class="step2_bj"></div>
21
+			<div class="step3_bj"></div>
22
+			<div class="step4_bj"></div>
19 23
 			<div class="step1_line posi_line1" ></div>
20
-			<div class="step2_line posi_line3"></div>
21
-			<div class="step3_line posi_line4"></div>
22
-			<div class="step4_line posi_line5"></div>
24
+			<div class="step2_line posi_line2"></div>
25
+			<div class="step3_line posi_line3"></div>
26
+			<div class="step4_line posi_line4"></div>
23 27
 			<!--第一列-->
24 28
 			<div id="wrap_box1">
25 29
 				<div class="box1_tit">坐席统计</div>
@@ -226,7 +230,7 @@
226 230
 						<table border="0" cellspacing="" cellpadding="">
227 231
 							<tr>
228 232
 								<td>
229
-									<div class="orderText">
233
+									<div class="orderText orderTextbo">
230 234
 										<div class="order_tit td_line1">规划停车位问题</div>
231 235
 										<div class="order_bot">
232 236
 											<div class="order_time">16:06:02</div>
@@ -2269,9 +2273,9 @@
2269 2273
 					<div class="swiper-container swiper-no-swiping">
2270 2274
 						<div class="swiper-wrapper">
2271 2275
 							<div class="swiper-slide">
2272
-								<div class="orderTtype_Con">
2276
+								<div class="orderTtype_Con orderTtype_Con1">
2273 2277
 									<ul class="clearfix">
2274
-										<li class="active">
2278
+										<li class="activeli_1">
2275 2279
 											<img src="img/myd_line.png">
2276 2280
 											<div class="typeWord">商丘</div>
2277 2281
 											<div class="img_top">
@@ -2288,7 +2292,7 @@
2288 2292
 											</div>
2289 2293
 											<p class="persent_word">满意度</p>
2290 2294
 										</li>
2291
-										<li class="active">
2295
+										<li class="activeli_1">
2292 2296
 											<img src="img/myd_line.png">
2293 2297
 											<div class="typeWord">郑州</div>
2294 2298
 											<div class="img_top">
@@ -2305,7 +2309,7 @@
2305 2309
 											</div>
2306 2310
 											<p class="persent_word">满意度</p>
2307 2311
 										</li>
2308
-										<li class="active">
2312
+										<li class="activeli_1">
2309 2313
 											<img src="img/myd_line.png">
2310 2314
 											<div class="typeWord">南阳</div>
2311 2315
 											<div class="img_top">
@@ -2322,7 +2326,7 @@
2322 2326
 											</div>
2323 2327
 											<p class="persent_word">满意度</p>
2324 2328
 										</li>
2325
-										<li class="active">
2329
+										<li class="activeli_1">
2326 2330
 											<img src="img/myd_line.png">
2327 2331
 											<div class="typeWord">开封</div>
2328 2332
 											<div class="img_top">
@@ -2345,9 +2349,9 @@
2345 2349
 								</div>
2346 2350
 							</div>
2347 2351
 							<div class="swiper-slide">
2348
-								<div class="orderTtype_Con">
2352
+								<div class="orderTtype_Con orderTtype_Con2">
2349 2353
 									<ul class="clearfix">
2350
-										<li class="active">
2354
+										<li class="activeli_1">
2351 2355
 											<img src="img/myd_line.png">
2352 2356
 											<div class="typeWord">洛阳</div>
2353 2357
 											<div class="img_top">
@@ -2364,7 +2368,7 @@
2364 2368
 											</div>
2365 2369
 											<p class="persent_word">满意度</p>
2366 2370
 										</li>
2367
-										<li class="active">
2371
+										<li class="activeli_1">
2368 2372
 											<img src="img/myd_line.png">
2369 2373
 											<div class="typeWord">平顶山</div>
2370 2374
 											<div class="img_top">
@@ -2381,7 +2385,7 @@
2381 2385
 											</div>
2382 2386
 											<p class="persent_word">满意度</p>
2383 2387
 										</li>
2384
-										<li class="active">
2388
+										<li class="activeli_1">
2385 2389
 											<img src="img/myd_line.png">
2386 2390
 											<div class="typeWord">安阳</div>
2387 2391
 											<div class="img_top">
@@ -2398,7 +2402,7 @@
2398 2402
 											</div>
2399 2403
 											<p class="persent_word">满意度</p>
2400 2404
 										</li>
2401
-										<li class="active">
2405
+										<li class="activeli_1">
2402 2406
 											<img src="img/myd_line.png">
2403 2407
 											<div class="typeWord">鹤壁</div>
2404 2408
 											<div class="img_top">
@@ -2429,6 +2433,6 @@
2429 2433
 		<script src="js/ScrollDiv.js"></script>
2430 2434
 		<script src="js/index.js"></script>
2431 2435
 		<script src="js/sourceChannel.js"></script>
2436
+		<script src="js/animation.js"></script>
2432 2437
 	</body>
2433
-
2434 2438
 </html>

+ 38 - 0
WebChartBigNew2/js/animation.js

@@ -0,0 +1,38 @@
1
+var index="2";
2
+var key_index="";
3
+var startTime="2019-07-01"
4
+var endTime="2019-07-31"
5
+$(function () {
6
+	var orderTd=$(".ssgdtj table tr").length;
7
+	$(".ssgdtj table tr").children("td").children(".orderText").addClass("orderTextbo")
8
+	var num =-1;
9
+	setInterval(function(){
10
+		num++;
11
+		if (num==140) {
12
+			num=0;
13
+		}
14
+		$(".ssgdtj table tr").children("td").children(".orderText").removeClass("imaxeventani_1")
15
+		$(".ssgdtj table tr").eq(1).children("td").children(".orderText").addClass("imaxeventani_1")
16
+		$(".ssgdtj table tr").children("td").children(".orderText").addClass("orderTextbo")
17
+		$(".ssgdtj table tr").eq(1).children("td").children(".orderText").removeClass("orderTextbo")
18
+	},5000);
19
+	var num1 =-1;
20
+	setInterval(function(){
21
+		num1++;
22
+		if (num1==8) {
23
+			num1=0;
24
+		}
25
+		console.log($(".orderTtype_Con1 ul li").length);
26
+		console.log(num1);
27
+		$(".orderTtype_Con1 ul li").removeClass("imaxeventani_2");
28
+		$(".orderTtype_Con1 ul li").eq(num1).addClass("imaxeventani_2");
29
+		$(".orderTtype_Con2 ul li").removeClass("imaxeventani_2");
30
+		$(".orderTtype_Con2 ul li").eq(num1).addClass("imaxeventani_2");
31
+		
32
+//		$(".orderTtype_Con1 ul li").eq(num1).addClass("imaxeventani_2");
33
+//		$(".orderTtype_Con2 ul li").eq(num1+4).addClass("imaxeventani_2");
34
+	},3000);
35
+})
36
+
37
+
38
+

+ 2 - 2
WebChartBigNew2/js/index.js

@@ -6,7 +6,7 @@ $(function () {
6 6
 	var mySwiper = new Swiper('.swiper-container', {
7 7
 		loop: true,
8 8
 		autoplay: {
9
-			delay: 3000,
9
+			delay: 15000,
10 10
 		},
11 11
 		pagination: { /* 分页器*/
12 12
 			el: '.swiper-pagination',
@@ -37,7 +37,7 @@ $(function () {
37 37
 	$(".ssgdtj").Scroll({
38 38
 		line: 1,
39 39
 		speed: 500,
40
-		timer: 3000
40
+		timer: 5000
41 41
 	});
42 42
 	$(".scroll_table").Scroll({
43 43
 		line: 1,