Commit 08c89953 by liangjianmin

国内外版本优化

parent b1ac7697
File mode changed
{
}
\ No newline at end of file
...@@ -459,4 +459,3 @@ body { ...@@ -459,4 +459,3 @@ body {
background: url("../../images/home/bg.jpg") #000c28 no-repeat center; background: url("../../images/home/bg.jpg") #000c28 no-repeat center;
background-size: contain; background-size: contain;
} }
/*# sourceMappingURL=index.min.css.map */
\ No newline at end of file
...@@ -37,9 +37,11 @@ body { ...@@ -37,9 +37,11 @@ body {
position: absolute; position: absolute;
top: 27px; top: 27px;
left: 158px; left: 158px;
.mr{
.mr {
margin-right: 5px; margin-right: 5px;
} }
span { span {
font-size: 19px; font-size: 19px;
color: #5891e7; color: #5891e7;
......
{"version":3,"sources":["E:/activity/css/common/base.less","index.less"],"names":[],"mappings":"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","file":"index.min.css"}
\ No newline at end of file
...@@ -203,465 +203,249 @@ body { ...@@ -203,465 +203,249 @@ body {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1); -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
background-color: #c8c8c8; background-color: #c8c8c8;
} }
body, body {
html {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: hidden;
} }
.home-page { #app {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url("../../images/bg.png") no-repeat center;
background-size: cover;
} }
.home-page .top { #app .mb47 {
position: relative; margin-bottom: 47px;
}
#app .mb20 {
margin-bottom: 20px;
}
#app .head {
position: absolute;
top: 0;
left: 0;
right: 0;
width: 100%; width: 100%;
height: 123px; height: 123px;
background: url("../../images/vis/top.png") no-repeat center; background: url("../../images/home/top.png") no-repeat center;
background-size: cover;
z-index: 9;
}
#app .head .title {
position: absolute;
left: 0;
right: 0;
top: 40px;
width: 804px;
height: 41px;
background: url("../../images/home/t1.png") no-repeat center;
background-size: cover; background-size: cover;
margin: 0 auto;
} }
.home-page .top .date-text { #app .head .date-text {
position: absolute; position: absolute;
top: 27px;
left: 158px; left: 158px;
top: 26px;
} }
.home-page .top .date-text span { #app .head .date-text .mr {
margin-right: 5px;
}
#app .head .date-text span {
font-size: 19px; font-size: 19px;
color: #ffffff; color: #ffffff;
padding: 0 2px;
} }
.home-page .top .date-text span.number { #app .head .date-text span.number {
color: #5891e7; color: #5891e7;
} }
.home-page .top .date-wether { #app .head .date-wether {
position: absolute; position: absolute;
top: 27px;
right: 137px; right: 137px;
top: 26px;
} }
.home-page .top .date-wether span { #app .head .date-wether .ml {
margin-left: 30px;
}
#app .head .date-wether span {
font-size: 19px; font-size: 19px;
color: #ffffff; color: #ffffff;
padding: 0 2px;
} }
.home-page .top .date-wether span.ml { #app .head .date-wether span.color {
margin-left: 28px;
}
.home-page .top .date-wether span.number {
color: #5891e7; color: #5891e7;
} }
.home-page .top .i1 { #app .section {
position: absolute;
bottom: 42px;
left: 0;
right: 0;
width: 804px;
height: 41px;
margin: 0 auto;
background: url("../../images/vis/t1.png") no-repeat center;
background-size: cover;
}
.home-page .map-box {
position: relative;
padding-top: 0.6rem;
margin: 0 auto;
z-index: 9;
width: 971px;
}
.home-page .map-box img {
width: 971px;
height: 814px;
margin: 0 auto;
display: block;
}
.home-page .map-box .show-btn {
width: 299px;
height: 62px;
background: url("../../images/vis/btn.png") no-repeat center;
background-size: cover;
font-size: 26px;
color: #c0d9ff;
margin: 6px auto 0;
}
.home-page .map-box .star {
position: absolute;
background-color: #c0d9ff;
border-radius: 50%;
}
.home-page .map-box .star1 {
right: 241px;
bottom: 172px;
width: 21px;
height: 21px;
}
.home-page .map-box .star2 {
right: 255px;
bottom: 193px;
width: 20px;
height: 20px;
}
.home-page .map-box .star2 .twinkle {
animation-delay: 1s;
}
.home-page .map-box .star3 {
right: 165px;
bottom: 422px;
width: 19px;
height: 19px;
}
.home-page .map-box .star3 .twinkle {
animation-delay: 1s;
}
.home-page .map-box .star4 {
right: 238px;
top: 313px;
width: 18px;
height: 18px;
}
.home-page .map-box .star4 .twinkle {
animation-delay: 0.6s;
}
.home-page .map-box .star5 {
right: 138px;
bottom: 394px;
width: 17px;
height: 17px;
}
.home-page .map-box .star5 .twinkle {
animation-delay: 1.3s;
}
.home-page .map-box .star6 {
right: 136px;
bottom: 322px;
width: 16px;
height: 16px;
}
.home-page .map-box .star6 .twinkle {
animation-delay: 1.4s;
}
.home-page .map-box .star7 {
right: 203px;
bottom: 377px;
width: 15px;
height: 15px;
}
.home-page .map-box .star7 .twinkle {
animation-delay: 2.2s;
}
.home-page .map-box .star8 {
right: 200px;
bottom: 475px;
width: 14px;
height: 14px;
}
.home-page .map-box .star8 .twinkle {
animation-delay: 4.3s;
}
.home-page .map-box .star9 {
right: 477px;
bottom: 326px;
width: 13px;
height: 13px;
}
.home-page .map-box .star9 .twinkle {
animation-delay: 3.3s;
}
.home-page .map-box .star10 {
right: 271px;
bottom: 414px;
width: 12px;
height: 12px;
}
.home-page .map-box .star10 .twinkle {
animation-delay: 0.9s;
}
.home-page .map-box .star11 {
right: 295px;
bottom: 350px;
width: 12px;
height: 12px;
}
.home-page .map-box .star11 .twinkle {
animation-delay: 1.8s;
}
.home-page .map-box .star12 {
right: 356px;
bottom: 417px;
width: 12px;
height: 12px;
}
.home-page .map-box .star12 .twinkle {
animation-delay: 5s;
}
.home-page .map-box .star13 {
right: 165px;
bottom: 251px;
width: 12px;
height: 12px;
}
.home-page .map-box .star13 .twinkle {
animation-delay: 2.4s;
}
.home-page .map-box .star14 {
right: 294px;
bottom: 271px;
width: 12px;
height: 12px;
}
.home-page .map-box .star14 .twinkle {
animation-delay: 4.5s;
}
.home-page .map-box .star15 {
right: 226px;
bottom: 541px;
width: 12px;
height: 12px;
}
.home-page .map-box .star15 .twinkle {
animation-delay: 2s;
}
.home-page .map-box .star16 {
right: 135px;
bottom: 600px;
width: 12px;
height: 12px;
}
.home-page .map-box .star16 .twinkle {
animation-delay: 1s;
}
.home-page .map-box .star17 {
right: 227px;
bottom: 555px;
width: 12px;
height: 12px;
}
.home-page .map-box .star17 .twinkle {
animation-delay: 4.2s;
}
.home-page .map-box .star18 {
right: 372px;
bottom: 317px;
width: 12px;
height: 12px;
}
.home-page .map-box .star18 .twinkle {
animation-delay: 3.8s;
}
.home-page .map-box .star19 {
right: 232px;
bottom: 162px;
width: 12px;
height: 12px;
}
.home-page .map-box .star19 .twinkle {
animation-delay: 3.5s;
}
.home-page .map-box .star20 {
right: 220px;
bottom: 276px;
width: 12px;
height: 12px;
}
.home-page .map-box .star20 .twinkle {
animation-delay: 3s;
}
.home-page .map-box .star21 {
right: 79px;
top: 130px;
width: 12px;
height: 12px;
}
.home-page .map-box .star21 .twinkle {
animation-delay: 2.5s;
}
.home-page .map-box .star22 {
right: 347px;
bottom: 186px;
width: 12px;
height: 12px;
}
.home-page .map-box .star22 .twinkle {
animation-delay: 2s;
}
.home-page .map-box .star23 {
right: 310px;
bottom: 496px;
width: 12px;
height: 12px;
}
.home-page .map-box .star23 .twinkle {
animation-delay: 1.5s;
}
.home-page .map-box .star24 {
right: 91px;
top: 218px;
width: 12px;
height: 12px;
}
.home-page .map-box .star24 .twinkle {
animation-delay: 1s;
}
.home-page .map-box .star25 {
right: 451px;
bottom: 464px;
width: 12px;
height: 12px;
}
.home-page .map-box .star25 .twinkle {
animation-delay: 0.5s;
}
.home-page .map-box .twinkle {
position: absolute; position: absolute;
left: 0;
top: 0;
width: 100%; width: 100%;
height: 100%; top: 160px;
background: rgba(49, 156, 216, 0.7); z-index: 999;
border-radius: 50%;
-webkit-animation: scale-three 2s ease infinite;
animation: scale-three 2s ease infinite;
animation-fill-mode: both;
} }
.home-page .data-left { #app .section .data-left {
position: absolute; position: absolute;
left: 50px; left: 50px;
top: 187px;
width: 416px;
}
.home-page .data-left .tit {
position: absolute;
top: -23px;
left: 0;
right: 0;
margin: 0 auto;
width: 359px;
height: 57px;
background: url("../../images/vis/i2.png?21212") no-repeat center;
background-size: cover;
font-size: 22px;
color: #c0d9ff;
} }
.home-page .data-left .box1 { #app .section .data-left .echarts {
position: relative; width: 100%;
width: 416px; height: 100%;
height: 220px;
background: url("../../images/vis/i1.png?1212") no-repeat center;
background-size: cover;
} }
.home-page .data-left .box2 { #app .section .data-left .box {
position: relative; position: relative;
width: 416px; width: 410px;
height: 220px; height: 213px;
background: url("../../images/vis/i1.png") no-repeat center; background: url("../../images/vis/b1.png") no-repeat center;
background-size: cover; background-size: cover;
} }
.home-page .data-left .box3 { #app .section .data-left .boxs {
position: relative; position: relative;
width: 416px; width: 410px;
height: 354px; height: 348px;
background: url("../../images/vis/i3.png") no-repeat center; background: url("../../images/vis/b3.png") no-repeat center;
background-size: cover; background-size: cover;
} }
.home-page .data-left .mb { #app .section .data-left .title {
margin-bottom: 47px;
}
.home-page .data-left .bar {
position: relative;
left: -31px;
margin: 0 auto;
}
.home-page .data-right {
position: absolute; position: absolute;
right: 50px;
top: 187px;
width: 416px;
}
.home-page .data-right .tit {
position: absolute;
top: -23px;
left: 0; left: 0;
right: 0; right: 0;
margin: 0 auto; top: -26px;
width: 359px; width: 339px;
height: 57px; height: 57px;
background: url("../../images/vis/i2.png") no-repeat center; background: url("../../images/vis/b2.png") no-repeat center;
background-size: cover; background-size: cover;
font-size: 22px; font-size: 22px;
color: #c0d9ff; color: #ffffff;
margin: 0 auto;
} }
.home-page .data-right .box1 { #app .section .data-right {
position: relative; position: absolute;
width: 416px; right: 50px;
height: 220px; }
background: url("../../images/vis/i1.png") no-repeat center; #app .section .data-right .echarts {
background-size: cover; width: 100%;
height: 100%;
} }
.home-page .data-right .box2 { #app .section .data-right .box {
position: relative; position: relative;
width: 416px; width: 410px;
height: 220px; height: 213px;
background: url("../../images/vis/i1.png") no-repeat center; background: url("../../images/vis/b1.png") no-repeat center;
background-size: cover; background-size: cover;
margin-bottom: 20px;
} }
.home-page .data-right .box3 { #app .section .data-right .boxs {
position: relative; position: relative;
width: 417px; width: 410px;
height: 364px; height: 358px;
background: url("../../images/vis/i4.png") no-repeat center; background: url("../../images/vis/b4.png") no-repeat center;
background-size: cover; background-size: cover;
} }
.home-page .data-right .box3 .t1 { #app .section .data-right .boxs.media .t1 {
padding-top: 31px;
padding-left: 20px;
font-size: 17px; font-size: 17px;
color: #96bcf6; color: #96bcf6;
line-height: 53px;
padding-left: 20px;
margin-top: 30px;
} }
.home-page .data-right .box3 .t2 { #app .section .data-right .boxs.media .t2 {
font-size: 28px; font-size: 28px;
color: #e49e07; color: #ffffff;
text-align: center; font-weight: bold;
margin-top: 28px;
} }
.home-page .data-right .box3 .t2 em { #app .section .data-right .boxs.media .t2 span {
color: #e49e07; color: #e49e07;
} }
.home-page .data-right .box3 .text { #app .section .data-right .boxs.media .num-box {
padding-left: 20px;
margin-top: 42px;
flex-wrap: wrap; flex-wrap: wrap;
} }
.home-page .data-right .box3 .text li { #app .section .data-right .boxs.media .num-box li {
position: relative;
flex: 0 0 50%; flex: 0 0 50%;
padding-top: 68px;
} }
.home-page .data-right .box3 .text li .t3 { #app .section .data-right .boxs.media .num-box li .ico-1 {
font-size: 17px; width: 100px;
height: 99px;
background: url('../../images/vis/1.png') no-repeat center;
background-size: cover;
display: block;
position: absolute;
top: -11px;
left: 0;
right: 0;
margin: 0 auto;
}
#app .section .data-right .boxs.media .num-box li .ico-2 {
width: 100px;
height: 99px;
background: url('../../images/vis/2.png') no-repeat center;
background-size: cover;
display: block;
position: absolute;
top: -11px;
left: 0;
right: 0;
margin: 0 auto;
}
#app .section .data-right .boxs.media .num-box li .ico-3 {
width: 100px;
height: 99px;
background: url('../../images/vis/3.png') no-repeat center;
background-size: cover;
display: block;
position: absolute;
top: -11px;
left: 0;
right: 0;
margin: 0 auto;
}
#app .section .data-right .boxs.media .num-box li .ico-4 {
width: 100px;
height: 99px;
background: url('../../images/vis/4.png') no-repeat center;
background-size: cover;
display: block;
position: absolute;
top: -11px;
left: 0;
right: 0;
margin: 0 auto;
}
#app .section .data-right .boxs.media .num-box li .p1 {
font-size: 14px;
color: #96bcf6; color: #96bcf6;
margin-bottom: 15px; margin-bottom: 8px;
line-height: 9px;
} }
.home-page .data-right .box3 .text li .t4 { #app .section .data-right .boxs.media .num-box li .p2 {
font-size: 28px; font-size: 24px;
color: #e49e07; color: #e49e07;
margin-bottom: 43px; font-weight: bold;
} }
.home-page .data-right .mb { #app .section .data-right .title {
margin-bottom: 47px; position: absolute;
left: 0;
right: 0;
top: -26px;
width: 339px;
height: 57px;
background: url("../../images/vis/b2.png") no-repeat center;
background-size: cover;
font-size: 22px;
color: #ffffff;
margin: 0 auto;
} }
.home-page .data-right .bar { #app .map {
position: relative; position: absolute;
left: -31px; left: 0;
right: 0;
top: 0;
width: 100%;
height: 100%;
background: url("../../images/vis/map.png") no-repeat center;
background-size: contain;
}
#app .btn {
position: absolute;
bottom: 46px;
left: 0;
right: 0;
width: 279px;
height: 62px;
margin: 0 auto; margin: 0 auto;
background: url('../../images/vis/b5.png') no-repeat center;
background-size: cover;
font-size: 26px;
color: #c0d9ff;
} }
@keyframes scale-three {
0% {
transform: scale(1);
background: rgba(49, 156, 216, 0.7);
}
100% {
transform: scale(3);
background: rgba(49, 156, 216, 0);
}
}
/*# sourceMappingURL=index.min.css.map */
\ No newline at end of file
@import '../common/base.less'; @import '../common/base.less';
body, html { body {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: hidden;
} }
.home-page { #app {
width: 100%; width: 100%;
height: 100%; height: 100%;
background: url("../../images/bg.png") no-repeat center;
background-size: cover;
.top { .mb47 {
position: relative; margin-bottom: 47px;
width: 100%;
height: 123px;
background: url("../../images/vis/top.png") no-repeat center;
background-size: cover;
.date-text {
position: absolute;
left: 158px;
top: 26px;
span {
font-size: 19px;
color: #ffffff;
padding: 0 2px;
&.number {
color: #5891e7;
}
}
} }
.date-wether { .mb20 {
position: absolute; margin-bottom: 20px;
right: 137px;
top: 26px;
span {
font-size: 19px;
color: #ffffff;
padding: 0 2px;
&.ml {
margin-left: 28px;
} }
&.number { .head {
color: #5891e7; position: absolute;
} top: 0;
} left: 0;
} right: 0;
width: 100%;
height: 123px;
background: url("../../images/home/top.png") no-repeat center;
background-size: cover;
z-index: 9;
.i1 { .title {
position: absolute; position: absolute;
bottom: 42px;
left: 0; left: 0;
right: 0; right: 0;
top: 40px;
width: 804px; width: 804px;
height: 41px; height: 41px;
margin: 0 auto; background: url("../../images/home/t1.png") no-repeat center;
background: url("../../images/vis/t1.png") no-repeat center;
background-size: cover; background-size: cover;
}
}
.map-box {
position: relative;
padding-top: 0.60rem;
margin: 0 auto; margin: 0 auto;
z-index: 9;
width: 971px;
img {
width: 971px;
height: 814px;
margin: 0 auto;
display: block;
} }
.show-btn { .date-text {
width: 299px;
height: 62px;
background: url("../../images/vis/btn.png") no-repeat center;
background-size: cover;
font-size: 26px;
color: #c0d9ff;
margin:6px auto 0;
}
.star {
position: absolute; position: absolute;
background-color: #c0d9ff; top: 27px;
border-radius: 50%; left: 158px;
}
.star1 {
right: 241px;
bottom: 172px;
width: 21px;
height: 21px;
}
.star2 {
right: 255px;
bottom: 193px;
width: 20px;
height: 20px;
.twinkle {
animation-delay: 1s
}
}
.star3 {
right: 165px;
bottom: 422px;
width: 19px;
height: 19px;
.twinkle {
animation-delay: 1s
}
}
.star4 {
right: 238px;
top: 313px;
width: 18px;
height: 18px;
.twinkle {
animation-delay: 0.6s
}
}
.star5 {
right: 138px;
bottom: 394px;
width: 17px;
height: 17px;
.twinkle {
animation-delay: 1.3s
}
}
.star6 {
right: 136px;
bottom: 322px;
width: 16px;
height: 16px;
.twinkle {
animation-delay: 1.4s
}
}
.star7 {
right: 203px;
bottom: 377px;
width: 15px;
height: 15px;
.twinkle {
animation-delay: 2.2s
}
}
.star8 {
right: 200px;
bottom: 475px;
width: 14px;
height: 14px;
.twinkle {
animation-delay: 4.3s
}
}
.star9 {
right: 477px;
bottom: 326px;
width: 13px;
height: 13px;
.twinkle {
animation-delay: 3.3s
}
}
.star10 {
right: 271px;
bottom: 414px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 0.9s
}
}
.star11 {
right: 295px;
bottom: 350px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 1.8s
}
}
.star12 {
right: 356px;
bottom: 417px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 5s
}
}
.star13 {
right: 165px;
bottom: 251px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 2.4s
}
}
.star14 {
right: 294px;
bottom: 271px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 4.5s
}
}
.star15 {
right: 226px;
bottom: 541px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 2s
}
}
.star16 {
right: 135px;
bottom: 600px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 1s
}
}
.star17 {
right: 227px;
bottom: 555px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 4.2s
}
}
.star18 {
right: 372px;
bottom: 317px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 3.8s
}
}
.star19 {
right: 232px;
bottom: 162px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 3.5s
}
}
.star20 {
right: 220px;
bottom: 276px;
width: 12px;
height: 12px;
.twinkle { .mr {
animation-delay: 3s margin-right: 5px;
}
} }
.star21 { span {
right: 79px; font-size: 19px;
top: 130px; color: #ffffff;
width: 12px;
height: 12px;
.twinkle { &.number {
animation-delay: 2.5s color: #5891e7;
} }
} }
.star22 {
right: 347px;
bottom: 186px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 2s
}
} }
.star23 { .date-wether {
right: 310px; position: absolute;
bottom: 496px; top: 27px;
width: 12px; right: 137px;
height: 12px;
.twinkle { .ml {
animation-delay: 1.5s margin-left: 30px;
}
} }
.star24 { span {
right: 91px; font-size: 19px;
top: 218px; color: #ffffff;
width: 12px;
height: 12px;
.twinkle { &.color {
animation-delay: 1s color: #5891e7;
} }
} }
.star25 {
right: 451px;
bottom: 464px;
width: 12px;
height: 12px;
.twinkle {
animation-delay: 0.5s
} }
} }
.twinkle { .section {
position: absolute; position: absolute;
left: 0;
top: 0;
width: 100%; width: 100%;
height: 100%; top: 160px;
background: rgba(49, 156, 216, 0.7); z-index: 999;
border-radius: 50%;
-webkit-animation: scale-three 2s ease infinite;
animation: scale-three 2s ease infinite;
animation-fill-mode: both;
}
}
.data-left { .data-left {
position: absolute; position: absolute;
left: 50px; left: 50px;
top: 187px;
width: 416px;
.tit { .echarts {
position: absolute; width: 100%;
top: -23px; height: 100%;
left: 0;
right: 0;
margin: 0 auto;
width: 359px;
height: 57px;
background: url("../../images/vis/i2.png?21212") no-repeat center;
background-size: cover;
font-size: 22px;
color: #c0d9ff;
} }
.box1 { .box {
position: relative; position: relative;
width: 416px; width: 410px;
height: 220px; height: 213px;
background: url("../../images/vis/i1.png?1212") no-repeat center; background: url("../../images/vis/b1.png") no-repeat center;
background-size: cover; background-size: cover;
} }
.box2 { .boxs {
position: relative; position: relative;
width: 416px; width: 410px;
height: 220px; height: 348px;
background: url("../../images/vis/i1.png") no-repeat center; background: url("../../images/vis/b3.png") no-repeat center;
background-size: cover; background-size: cover;
} }
.box3 { .title {
position: relative; position: absolute;
width:416px; left: 0;
height: 354px; right: 0;
background: url("../../images/vis/i3.png") no-repeat center; top: -26px;
width: 339px;
height: 57px;
background: url("../../images/vis/b2.png") no-repeat center;
background-size: cover; background-size: cover;
} font-size: 22px;
color: #ffffff;
.mb {
margin-bottom: 47px;
}
.bar {
position: relative;
left: -31px;
margin: 0 auto; margin: 0 auto;
} }
} }
.data-right { .data-right {
position: absolute; position: absolute;
right: 50px; right: 50px;
top: 187px;
width: 416px;
.tit { .echarts {
position: absolute; width: 100%;
top: -23px; height: 100%;
left: 0;
right: 0;
margin: 0 auto;
width: 359px;
height: 57px;
background: url("../../images/vis/i2.png") no-repeat center;
background-size: cover;
font-size: 22px;
color: #c0d9ff;
}
.box1 {
position: relative;
width: 416px;
height: 220px;
background: url("../../images/vis/i1.png") no-repeat center;
background-size: cover;
} }
.box2 { .box {
position: relative; position: relative;
width: 416px; width: 410px;
height: 220px; height: 213px;
background: url("../../images/vis/i1.png") no-repeat center; background: url("../../images/vis/b1.png") no-repeat center;
background-size: cover; background-size: cover;
margin-bottom: 20px;
} }
.box3 { .boxs {
position: relative; position: relative;
width: 417px; width: 410px;
height: 364px; height: 358px;
background: url("../../images/vis/i4.png") no-repeat center; background: url("../../images/vis/b4.png") no-repeat center;
background-size: cover; background-size: cover;
&.media {
.t1 { .t1 {
padding-top: 31px;
padding-left: 20px;
font-size: 17px; font-size: 17px;
color: #96bcf6; color: #96bcf6;
line-height: 53px;
padding-left: 20px;
margin-top: 30px;
} }
.t2 { .t2 {
font-size: 28px; font-size: 28px;
color: #e49e07; color: #ffffff;
text-align: center; font-weight: bold;
margin-top:28px;
em { span {
color: #e49e07; color: #e49e07;
} }
} }
.text { .num-box {
padding-left: 20px;
margin-top: 42px;
flex-wrap: wrap; flex-wrap: wrap;
li { li {
position: relative;
flex: 0 0 50%; flex: 0 0 50%;
padding-top: 68px;
.t3 { .ico-1 {
font-size: 17px; width: 100px;
height: 99px;
background: url('../../images/vis/1.png') no-repeat center;
background-size: cover;
display: block;
position: absolute;
top: -11px;
left: 0;
right: 0;
margin: 0 auto;
}
.ico-2 {
width: 100px;
height: 99px;
background: url('../../images/vis/2.png') no-repeat center;
background-size: cover;
display: block;
position: absolute;
top: -11px;
left: 0;
right: 0;
margin: 0 auto;
}
.ico-3 {
width: 100px;
height: 99px;
background: url('../../images/vis/3.png') no-repeat center;
background-size: cover;
display: block;
position: absolute;
top: -11px;
left: 0;
right: 0;
margin: 0 auto;
}
.ico-4 {
width: 100px;
height: 99px;
background: url('../../images/vis/4.png') no-repeat center;
background-size: cover;
display: block;
position: absolute;
top: -11px;
left: 0;
right: 0;
margin: 0 auto;
}
.p1 {
font-size: 14px;
color: #96bcf6; color: #96bcf6;
margin-bottom: 15px; margin-bottom: 8px;
line-height: 9px;
} }
.t4 { .p2 {
font-size: 28px; font-size: 24px;
color: #e49e07; color: #e49e07;
margin-bottom: 43px; font-weight: bold;
} }
} }
} }
} }
.mb {
margin-bottom: 47px;
} }
.bar { .title {
position: relative; position: absolute;
left: -31px; left: 0;
right: 0;
top: -26px;
width: 339px;
height: 57px;
background: url("../../images/vis/b2.png") no-repeat center;
background-size: cover;
font-size: 22px;
color: #ffffff;
margin: 0 auto; margin: 0 auto;
} }
} }
} }
@keyframes scale-three { .map {
0% { position: absolute;
transform: scale(1); left: 0;
background: rgba(49, 156, 216, 0.7); right: 0;
top: 0;
width: 100%;
height: 100%;
background: url("../../images/vis/map.png") no-repeat center;
background-size: contain;
} }
100% { .btn {
transform: scale(3); position: absolute;
background: rgba(49, 156, 216, 0); bottom: 46px;
left: 0;
right: 0;
width: 279px;
height: 62px;
margin: 0 auto;
background: url('../../images/vis/b5.png') no-repeat center;
background-size: cover;
font-size: 26px;
color: #c0d9ff;
} }
} }
\ No newline at end of file
{"version":3,"sources":["E:/activity/css/common/base.less","index.less"],"names":[],"mappings":"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","file":"index.min.css"}
\ No newline at end of file
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
</div> --> </div> -->
</div> </div>
<script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.min.js"></script>
<script src="js/velocity.js"></script> <script src="js/history/velocity.js"></script>
<script src="js/shutter.js"></script> <script src="js/history/shutter.js"></script>
<script type="text/javascript"> <script type="text/javascript">
$(function () { $(function () {
$('.shutter').shutter({ $('.shutter').shutter({
......

111 KB | W: | H:

1.11 MB | W: | H:

images/vis/map.png
images/vis/map.png
images/vis/map.png
images/vis/map.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -10,12 +10,12 @@ ...@@ -10,12 +10,12 @@
<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1; user-scalable=0;"> <meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1; user-scalable=0;">
<meta name="baidu-site-verification" content="B1YyUdsoGu"> <meta name="baidu-site-verification" content="B1YyUdsoGu">
<title></title> <title></title>
<link type="favicon" rel="shortcut icon" href="favicon.ico"/> <link type="favicon" rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="./css/home/index.min.css"/> <link rel="stylesheet" type="text/css" href="./css/home/index.css" />
</head> </head>
<body> <body>
<div id="app"> <div id="app">
<div class="head"> <div class="head">
<p class="date-text row verCenter"> <p class="date-text row verCenter">
<span class="number" id="year"></span> <span class="number" id="year"></span>
...@@ -147,13 +147,13 @@ ...@@ -147,13 +147,13 @@
</div> </div>
</div> </div>
<a href="javascript:;" class="btn row rowCenter verCenter">全球供应商分布</a> <a href="javascript:;" class="btn row rowCenter verCenter">全球供应商分布</a>
</div> </div>
<script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/scroll.js"></script> <script type="text/javascript" src="js/scroll.js"></script>
<script type="text/javascript" src="js/echarts.min.js"></script> <script type="text/javascript" src="js/echarts.min.js"></script>
<script type="text/javascript" src="js/number.js"></script> <script type="text/javascript" src="js/number.js"></script>
<script type="text/javascript" src="js/map/js/world.js"></script> <script type="text/javascript" src="js/map/js/world.js"></script>
<script type="text/javascript" src="js/index.js"></script> <script type="text/javascript" src="js/index/index.js"></script>
</body> </body>
</html> </html>
\ No newline at end of file
/*! VelocityJS.org (1.5.0). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */
!function(a){"use strict";function b(a){var b=a.length,d=c.type(a);return"function"!==d&&!c.isWindow(a)&&(!(1!==a.nodeType||!b)||("array"===d||0===b||"number"==typeof b&&b>0&&b-1 in a))}if(!a.jQuery){var c=function(a,b){return new c.fn.init(a,b)};c.isWindow=function(a){return a&&a===a.window},c.type=function(a){return a?"object"==typeof a||"function"==typeof a?e[g.call(a)]||"object":typeof a:a+""},c.isArray=Array.isArray||function(a){return"array"===c.type(a)},c.isPlainObject=function(a){var b;if(!a||"object"!==c.type(a)||a.nodeType||c.isWindow(a))return!1;try{if(a.constructor&&!f.call(a,"constructor")&&!f.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(d){return!1}for(b in a);return b===undefined||f.call(a,b)},c.each=function(a,c,d){var e=0,f=a.length,g=b(a);if(d){if(g)for(;e<f&&c.apply(a[e],d)!==!1;e++);else for(e in a)if(a.hasOwnProperty(e)&&c.apply(a[e],d)===!1)break}else if(g)for(;e<f&&c.call(a[e],e,a[e])!==!1;e++);else for(e in a)if(a.hasOwnProperty(e)&&c.call(a[e],e,a[e])===!1)break;return a},c.data=function(a,b,e){if(e===undefined){var f=a[c.expando],g=f&&d[f];if(b===undefined)return g;if(g&&b in g)return g[b]}else if(b!==undefined){var h=a[c.expando]||(a[c.expando]=++c.uuid);return d[h]=d[h]||{},d[h][b]=e,e}},c.removeData=function(a,b){var e=a[c.expando],f=e&&d[e];f&&(b?c.each(b,function(a,b){delete f[b]}):delete d[e])},c.extend=function(){var a,b,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;for("boolean"==typeof h&&(k=h,h=arguments[i]||{},i++),"object"!=typeof h&&"function"!==c.type(h)&&(h={}),i===j&&(h=this,i--);i<j;i++)if(f=arguments[i])for(e in f)f.hasOwnProperty(e)&&(a=h[e],d=f[e],h!==d&&(k&&d&&(c.isPlainObject(d)||(b=c.isArray(d)))?(b?(b=!1,g=a&&c.isArray(a)?a:[]):g=a&&c.isPlainObject(a)?a:{},h[e]=c.extend(k,g,d)):d!==undefined&&(h[e]=d)));return h},c.queue=function(a,d,e){if(a){d=(d||"fx")+"queue";var f=c.data(a,d);return e?(!f||c.isArray(e)?f=c.data(a,d,function(a,c){var d=c||[];return a&&(b(Object(a))?function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;)a[e++]=b[d++];if(c!==c)for(;b[d]!==undefined;)a[e++]=b[d++];a.length=e,a}(d,"string"==typeof a?[a]:a):[].push.call(d,a)),d}(e)):f.push(e),f):f||[]}},c.dequeue=function(a,b){c.each(a.nodeType?[a]:a,function(a,d){b=b||"fx";var e=c.queue(d,b),f=e.shift();"inprogress"===f&&(f=e.shift()),f&&("fx"===b&&e.unshift("inprogress"),f.call(d,function(){c.dequeue(d,b)}))})},c.fn=c.prototype={init:function(a){if(a.nodeType)return this[0]=a,this;throw new Error("Not a DOM node.")},offset:function(){var b=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:b.top+(a.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:b.left+(a.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var a=this[0],b=function(a){for(var b=a.offsetParent;b&&"html"!==b.nodeName.toLowerCase()&&b.style&&"static"===b.style.position;)b=b.offsetParent;return b||document}(a),d=this.offset(),e=/^(?:body|html)$/i.test(b.nodeName)?{top:0,left:0}:c(b).offset();return d.top-=parseFloat(a.style.marginTop)||0,d.left-=parseFloat(a.style.marginLeft)||0,b.style&&(e.top+=parseFloat(b.style.borderTopWidth)||0,e.left+=parseFloat(b.style.borderLeftWidth)||0),{top:d.top-e.top,left:d.left-e.left}}};var d={};c.expando="velocity"+(new Date).getTime(),c.uuid=0;for(var e={},f=e.hasOwnProperty,g=e.toString,h="Boolean Number String Function Array Date RegExp Object Error".split(" "),i=0; i<h.length; i++)e["[object "+h[i]+"]"]=h[i].toLowerCase();c.fn.init.prototype=c.fn,a.Velocity={Utilities:c}}}(window),function(a){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a():"function"==typeof define&&define.amd?define(a):a()}(function(){"use strict";return function(a, b, c, d){function e(a){for(var b=-1,c=a?a.length:0,d=[]; ++b<c;){var e=a[b];e&&d.push(e)}return d}function f(a){return u.isWrapped(a)?a=s.call(a):u.isNode(a)&&(a=[a]),a}function g(a){var b=o.data(a,"velocity");return null===b?d:b}function h(a, b){var c=g(a);c&&c.delayTimer&&!c.delayPaused&&(c.delayRemaining=c.delay-b+c.delayBegin,c.delayPaused=!0,clearTimeout(c.delayTimer.setTimeout))}function i(a, b){var c=g(a);c&&c.delayTimer&&c.delayPaused&&(c.delayPaused=!1,c.delayTimer.setTimeout=setTimeout(c.delayTimer.next,c.delayRemaining))}function j(a){return function(b){return Math.round(b*a)*(1/a)}}function k(a, c, d, e){function f(a, b){return 1-3*b+3*a}function g(a, b){return 3*b-6*a}function h(a){return 3*a}function i(a,b,c){return((f(b,c)*a+g(b,c))*a+h(b))*a}function j(a,b,c){return 3*f(b,c)*a*a+2*g(b,c)*a+h(b)}function k(b,c){for(var e=0;e<p;++e){var f=j(c,a,d);if(0===f)return c;c-=(i(c,a,d)-b)/f}return c}function l(){for(var b=0;b<t;++b)x[b]=i(b*u,a,d)}function m(b,c,e){var f,g,h=0;do{g=c+(e-c)/2,f=i(g,a,d)-b,f>0?e=g:c=g}while(Math.abs(f)>r&&++h<s);return g}function n(b){for(var c=0,e=1,f=t-1;e!==f&&x[e]<=b;++e)c+=u;--e;var g=(b-x[e])/(x[e+1]-x[e]),h=c+g*u,i=j(h,a,d);return i>=q?k(b,h):0===i?h:m(b,c,c+u)}function o(){y=!0,a===c&&d===e||l()}var p=4,q=.001,r=1e-7,s=10,t=11,u=1/(t-1),v="Float32Array"in b;if(4!==arguments.length)return!1;for(var w=0;w<4;++w)if("number"!=typeof arguments[w]||isNaN(arguments[w])||!isFinite(arguments[w]))return!1;a=Math.min(a,1),d=Math.min(d,1),a=Math.max(a,0),d=Math.max(d,0);var x=v?new Float32Array(t):new Array(t),y=!1,z=function(b){return y||o(),a===c&&d===e?b:0===b?0:1===b?1:i(n(b),c,e)};z.getControlPoints=function(){return[{x:a,y:c},{x:d,y:e}]};var A="generateBezier("+[a,c,d,e]+")";return z.toString=function(){return A},z}function l(a,b){var c=a;return u.isString(a)?y.Easings[a]||(c=!1):c=u.isArray(a)&&1===a.length?j.apply(null,a):u.isArray(a)&&2===a.length?z.apply(null,a.concat([b])):!(!u.isArray(a)||4!==a.length)&&k.apply(null,a),c===!1&&(c=y.Easings[y.defaults.easing]?y.defaults.easing:x),c}function m(a){if(a){var b=y.timestamp&&a!==!0?a:r.now(),c=y.State.calls.length;c>1e4&&(y.State.calls=e(y.State.calls),c=y.State.calls.length);for(var f=0;f<c;f++)if(y.State.calls[f]){var h=y.State.calls[f],i=h[0],j=h[2],k=h[3],l=!!k,q=null,s=h[5],t=h[6];if(k||(k=y.State.calls[f][3]=b-16),s){if(s.resume!==!0)continue;k=h[3]=Math.round(b-t-16),h[5]=null}t=h[6]=b-k;for(var v=Math.min(t/j.duration,1),w=0,x=i.length;w<x;w++){var z=i[w],B=z.element;if(g(B)){var D=!1;if(j.display!==d&&null!==j.display&&"none"!==j.display){if("flex"===j.display){var E=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];o.each(E,function(a,b){A.setPropertyValue(B,"display",b)})}A.setPropertyValue(B,"display",j.display)}j.visibility!==d&&"hidden"!==j.visibility&&A.setPropertyValue(B,"visibility",j.visibility);for(var F in z)if(z.hasOwnProperty(F)&&"element"!==F){var G,H=z[F],I=u.isString(H.easing)?y.Easings[H.easing]:H.easing;if(u.isString(H.pattern)){var J=1===v?function(a,b,c){var d=H.endValue[b];return c?Math.round(d):d}:function(a,b,c){var d=H.startValue[b],e=H.endValue[b]-d,f=d+e*I(v,j,e);return c?Math.round(f):f};G=H.pattern.replace(/{(\d+)(!)?}/g,J)}else if(1===v)G=H.endValue;else{var K=H.endValue-H.startValue;G=H.startValue+K*I(v,j,K)}if(!l&&G===H.currentValue)continue;if(H.currentValue=G,"tween"===F)q=G;else{var L;if(A.Hooks.registered[F]){L=A.Hooks.getRoot(F);var M=g(B).rootPropertyValueCache[L];M&&(H.rootPropertyValue=M)}var N=A.setPropertyValue(B,F,H.currentValue+(p<9&&0===parseFloat(G)?"":H.unitType),H.rootPropertyValue,H.scrollData);A.Hooks.registered[F]&&(A.Normalizations.registered[L]?g(B).rootPropertyValueCache[L]=A.Normalizations.registered[L]("extract",null,N[1]):g(B).rootPropertyValueCache[L]=N[1]),"transform"===N[0]&&(D=!0)}}j.mobileHA&&g(B).transformCache.translate3d===d&&(g(B).transformCache.translate3d="(0px, 0px, 0px)",D=!0),D&&A.flushTransformCache(B)}}j.display!==d&&"none"!==j.display&&(y.State.calls[f][2].display=!1),j.visibility!==d&&"hidden"!==j.visibility&&(y.State.calls[f][2].visibility=!1),j.progress&&j.progress.call(h[1],h[1],v,Math.max(0,k+j.duration-b),k,q),1===v&&n(f)}}y.State.isTicking&&C(m)}function n(a,b){if(!y.State.calls[a])return!1;for(var c=y.State.calls[a][0],e=y.State.calls[a][1],f=y.State.calls[a][2],h=y.State.calls[a][4],i=!1,j=0,k=c.length;j<k;j++){var l=c[j].element;b||f.loop||("none"===f.display&&A.setPropertyValue(l,"display",f.display),"hidden"===f.visibility&&A.setPropertyValue(l,"visibility",f.visibility));var m=g(l);if(f.loop!==!0&&(o.queue(l)[1]===d||!/\.velocityQueueEntryFlag/i.test(o.queue(l)[1]))&&m){m.isAnimating=!1,m.rootPropertyValueCache={};var n=!1;o.each(A.Lists.transforms3D,function(a,b){var c=/^scale/.test(b)?1:0,e=m.transformCache[b];m.transformCache[b]!==d&&new RegExp("^\\("+c+"[^.]").test(e)&&(n=!0,delete m.transformCache[b])}),f.mobileHA&&(n=!0,delete m.transformCache.translate3d),n&&A.flushTransformCache(l),A.Values.removeClass(l,"velocity-animating")}if(!b&&f.complete&&!f.loop&&j===k-1)try{f.complete.call(e,e)}catch(r){setTimeout(function(){throw r},1)}h&&f.loop!==!0&&h(e),m&&f.loop===!0&&!b&&(o.each(m.tweensContainer,function(a,b){if(/^rotate/.test(a)&&(parseFloat(b.startValue)-parseFloat(b.endValue))%360==0){var c=b.startValue;b.startValue=b.endValue,b.endValue=c}/^backgroundPosition/.test(a)&&100===parseFloat(b.endValue)&&"%"===b.unitType&&(b.endValue=0,b.startValue=100)}),y(l,"reverse",{loop:!0,delay:f.delay})),f.queue!==!1&&o.dequeue(l,f.queue)}y.State.calls[a]=!1;for(var p=0,q=y.State.calls.length;p<q;p++)if(y.State.calls[p]!==!1){i=!0;break}i===!1&&(y.State.isTicking=!1,delete y.State.calls,y.State.calls=[])}var o,p=function(){if(c.documentMode)return c.documentMode;for(var a=7;a>4;a--){var b=c.createElement("div");if(b.innerHTML="<!--[if IE "+a+"]><span></span><![endif]-->",b.getElementsByTagName("span").length)return b=null,a}return d}(),q=function(){var a=0;return b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||function(b){var c,d=(new Date).getTime();return c=Math.max(0,16-(d-a)),a=d+c,setTimeout(function(){b(d+c)},c)}}(),r=function(){var a=b.performance||{};if("function"!=typeof a.now){var c=a.timing&&a.timing.navigationStart?a.timing.navigationStart:(new Date).getTime();a.now=function(){return(new Date).getTime()-c}}return a}(),s=function(){var a=Array.prototype.slice;try{return a.call(c.documentElement),a}catch(b){return function(b,c){var d=this.length;if("number"!=typeof b&&(b=0),"number"!=typeof c&&(c=d),this.slice)return a.call(this,b,c);var e,f=[],g=b>=0?b:Math.max(0,d+b),h=c<0?d+c:Math.min(c,d),i=h-g;if(i>0)if(f=new Array(i),this.charAt)for(e=0;e<i;e++)f[e]=this.charAt(g+e);else for(e=0;e<i;e++)f[e]=this[g+e];return f}}}(),t=function(){return Array.prototype.includes?function(a,b){return a.includes(b)}:Array.prototype.indexOf?function(a,b){return a.indexOf(b)>=0}:function(a,b){for(var c=0;c<a.length;c++)if(a[c]===b)return!0;return!1}},u={isNumber:function(a){return"number"==typeof a},isString:function(a){return"string"==typeof a},isArray:Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)},isFunction:function(a){return"[object Function]"===Object.prototype.toString.call(a)},isNode:function(a){return a&&a.nodeType},isWrapped:function(a){return a&&a!==b&&u.isNumber(a.length)&&!u.isString(a)&&!u.isFunction(a)&&!u.isNode(a)&&(0===a.length||u.isNode(a[0]))},isSVG:function(a){return b.SVGElement&&a instanceof b.SVGElement},isEmptyObject:function(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0}},v=!1;if(a.fn&&a.fn.jquery?(o=a,v=!0):o=b.Velocity.Utilities,p<=8&&!v)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(p<=7)return void(jQuery.fn.velocity=jQuery.fn.animate);var w=400,x="swing",y={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:b.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:c.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:o,Redirects:{},Easings:{},Promise:b.Promise,defaults:{queue:"",duration:w,easing:x,begin:d,complete:d,progress:d,display:d,visibility:d,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(a){o.data(a,"velocity",{isSVG:u.isSVG(a),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:0},debug:!1,timestamp:!0,pauseAll:function(a){var b=(new Date).getTime();o.each(y.State.calls,function(b, c){if(c){if(a!==d&&(c[2].queue!==a||c[2].queue===!1))return!0;c[5]={resume:!1}}}),o.each(y.State.delayedElements,function(a, c){c&&h(c,b)})},resumeAll:function(a){var b=(new Date).getTime();o.each(y.State.calls,function(b, c){if(c){if(a!==d&&(c[2].queue!==a||c[2].queue===!1))return!0;c[5]&&(c[5].resume=!0)}}),o.each(y.State.delayedElements,function(a,c){c&&i(c,b)})}};b.pageYOffset!==d?(y.State.scrollAnchor=b,y.State.scrollPropertyLeft="pageXOffset",y.State.scrollPropertyTop="pageYOffset"):(y.State.scrollAnchor=c.documentElement||c.body.parentNode||c.body,y.State.scrollPropertyLeft="scrollLeft",y.State.scrollPropertyTop="scrollTop");var z=function(){function a(a){return-a.tension*a.x-a.friction*a.v}function b(b,c,d){var e={x:b.x+d.dx*c,v:b.v+d.dv*c,tension:b.tension,friction:b.friction};return{dx:e.v,dv:a(e)}}function c(c,d){var e={dx:c.v,dv:a(c)},f=b(c,.5*d,e),g=b(c,.5*d,f),h=b(c,d,g),i=1/6*(e.dx+2*(f.dx+g.dx)+h.dx),j=1/6*(e.dv+2*(f.dv+g.dv)+h.dv);return c.x=c.x+i*d,c.v=c.v+j*d,c}return function d(a,b,e){var f,g,h,i={x:-1,v:0,tension:null,friction:null},j=[0],k=0;for(a=parseFloat(a)||500,b=parseFloat(b)||20,e=e||null,i.tension=a,i.friction=b,f=null!==e,f?(k=d(a,b),g=k/e*.016):g=.016;;)if(h=c(h||i,g),j.push(1+h.x),k+=16,!(Math.abs(h.x)>1e-4&&Math.abs(h.v)>1e-4))break;return f?function(a){return j[a*(j.length-1)|0]}:k}}();y.Easings={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},spring:function(a){return 1-Math.cos(4.5*a*Math.PI)*Math.exp(6*-a)}},o.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(a,b){y.Easings[b[0]]=k.apply(null,b[1])});var A=y.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var a=0;a<A.Lists.colors.length;a++){var b="color"===A.Lists.colors[a]?"0 0 0 1":"255 255 255 1";A.Hooks.templates[A.Lists.colors[a]]=["Red Green Blue Alpha",b]}var c,d,e;if(p)for(c in A.Hooks.templates)if(A.Hooks.templates.hasOwnProperty(c)){d=A.Hooks.templates[c],e=d[0].split(" ");var f=d[1].match(A.RegEx.valueSplit);"Color"===e[0]&&(e.push(e.shift()),f.push(f.shift()),A.Hooks.templates[c]=[e.join(" "),f.join(" ")])}for(c in A.Hooks.templates)if(A.Hooks.templates.hasOwnProperty(c)){d=A.Hooks.templates[c],e=d[0].split(" ");for(var g in e)if(e.hasOwnProperty(g)){var h=c+e[g],i=g;A.Hooks.registered[h]=[c,i]}}},getRoot:function(a){var b=A.Hooks.registered[a];return b?b[0]:a},getUnit:function(a,b){var c=(a.substr(b||0,5).match(/^[a-z%]+/)||[])[0]||"";return c&&t(A.Lists.units,c)?c:""},fixColors:function(a){return a.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(a,b,c){return A.Lists.colorNames.hasOwnProperty(c)?(b?b:"rgba(")+A.Lists.colorNames[c]+(b?"":",1)"):b+c})},cleanRootPropertyValue:function(a,b){return A.RegEx.valueUnwrap.test(b)&&(b=b.match(A.RegEx.valueUnwrap)[1]),A.Values.isCSSNullValue(b)&&(b=A.Hooks.templates[a][1]),b},extractValue:function(a,b){var c=A.Hooks.registered[a];if(c){var d=c[0],e=c[1];return b=A.Hooks.cleanRootPropertyValue(d,b),b.toString().match(A.RegEx.valueSplit)[e]}return b},injectValue:function(a,b,c){var d=A.Hooks.registered[a];if(d){var e,f=d[0],g=d[1];return c=A.Hooks.cleanRootPropertyValue(f,c),e=c.toString().match(A.RegEx.valueSplit),e[g]=b,e.join(" ")}return c}},Normalizations:{registered:{clip:function(a,b,c){switch(a){case"name":return"clip";case"extract":var d;return A.RegEx.wrappedValueAlreadyExtracted.test(c)?d=c:(d=c.toString().match(A.RegEx.valueUnwrap),d=d?d[1].replace(/,(\s+)?/g," "):c),d;case"inject":return"rect("+c+")"}},blur:function(a,b,c){switch(a){case"name":return y.State.isFirefox?"filter":"-webkit-filter";case"extract":var d=parseFloat(c);if(!d&&0!==d){var e=c.toString().match(/blur\(([0-9]+[A-z]+)\)/i);d=e?e[1]:0}return d;case"inject":return parseFloat(c)?"blur("+c+")":"none"}},opacity:function(a,b,c){if(p<=8)switch(a){case"name":return"filter";case"extract":var d=c.toString().match(/alpha\(opacity=(.*)\)/i);return c=d?d[1]/100:1;case"inject":return b.style.zoom=1,parseFloat(c)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(c),10)+")"}else switch(a){case"name":return"opacity";case"extract":return c;case"inject":return c}}},register:function(){function a(a,b,c){if("border-box"===A.getPropertyValue(b,"boxSizing").toString().toLowerCase()===(c||!1)){var d,e,f=0,g="width"===a?["Left","Right"]:["Top","Bottom"],h=["padding"+g[0],"padding"+g[1],"border"+g[0]+"Width","border"+g[1]+"Width"];for(d=0;d<h.length;d++)e=parseFloat(A.getPropertyValue(b,h[d])),isNaN(e)||(f+=e);return c?-f:f}return 0}function b(b,c){return function(d,e,f){switch(d){case"name":return b;case"extract":return parseFloat(f)+a(b,e,c);case"inject":return parseFloat(f)-a(b,e,c)+"px"}}}p&&!(p>9)||y.State.isGingerbread||(A.Lists.transformsBase=A.Lists.transformsBase.concat(A.Lists.transforms3D));for(var c=0;c<A.Lists.transformsBase.length;c++)!function(){var a=A.Lists.transformsBase[c];A.Normalizations.registered[a]=function(b,c,e){switch(b){case"name":return"transform";case"extract":return g(c)===d||g(c).transformCache[a]===d?/^scale/i.test(a)?1:0:g(c).transformCache[a].replace(/[()]/g,"");case"inject":var f=!1;switch(a.substr(0,a.length-1)){case"translate":f=!/(%|px|em|rem|vw|vh|\d)$/i.test(e);break;case"scal":case"scale":y.State.isAndroid&&g(c).transformCache[a]===d&&e<1&&(e=1),f=!/(\d)$/i.test(e);break;case"skew":f=!/(deg|\d)$/i.test(e);break;case"rotate":f=!/(deg|\d)$/i.test(e)}return f||(g(c).transformCache[a]="("+e+")"),g(c).transformCache[a]}}}();for(var e=0;e<A.Lists.colors.length;e++)!function(){var a=A.Lists.colors[e];A.Normalizations.registered[a]=function(b,c,e){switch(b){case"name":return a;case"extract":var f;if(A.RegEx.wrappedValueAlreadyExtracted.test(e))f=e;else{var g,h={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(e)?g=h[e]!==d?h[e]:h.black:A.RegEx.isHex.test(e)?g="rgb("+A.Values.hexToRgb(e).join(" ")+")":/^rgba?\(/i.test(e)||(g=h.black),f=(g||e).toString().match(A.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return(!p||p>8)&&3===f.split(" ").length&&(f+=" 1"),f;case"inject":return/^rgb/.test(e)?e:(p<=8?4===e.split(" ").length&&(e=e.split(/\s+/).slice(0,3).join(" ")):3===e.split(" ").length&&(e+=" 1"),(p<=8?"rgb":"rgba")+"("+e.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();A.Normalizations.registered.innerWidth=b("width",!0),A.Normalizations.registered.innerHeight=b("height",!0),A.Normalizations.registered.outerWidth=b("width"),A.Normalizations.registered.outerHeight=b("height")}},Names:{camelCase:function(a){return a.replace(/-(\w)/g,function(a,b){return b.toUpperCase()})},SVGAttribute:function(a){var b="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(p||y.State.isAndroid&&!y.State.isChrome)&&(b+="|transform"),new RegExp("^("+b+")$","i").test(a)},prefixCheck:function(a){if(y.State.prefixMatches[a])return[y.State.prefixMatches[a],!0];for(var b=["","Webkit","Moz","ms","O"],c=0,d=b.length;c<d;c++){var e;if(e=0===c?a:b[c]+a.replace(/^\w/,function(a){return a.toUpperCase()}),u.isString(y.State.prefixElement.style[e]))return y.State.prefixMatches[a]=e,[e,!0]}return[a,!1]}},Values:{hexToRgb:function(a){var b,c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return a=a.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(a,b,c,d){return b+b+c+c+d+d}),b=c.exec(a),b?[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16)]:[0,0,0]},isCSSNullValue:function(a){return!a||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(a)},getUnitType:function(a){return/^(rotate|skew)/i.test(a)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(a)?"":"px"},getDisplayType:function(a){var b=a&&a.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(b)?"inline":/^(li)$/i.test(b)?"list-item":/^(tr)$/i.test(b)?"table-row":/^(table)$/i.test(b)?"table":/^(tbody)$/i.test(b)?"table-row-group":"block"},addClass:function(a,b){if(a)if(a.classList)a.classList.add(b);else if(u.isString(a.className))a.className+=(a.className.length?" ":"")+b;else{var c=a.getAttribute(p<=7?"className":"class")||"";a.setAttribute("class",c+(c?" ":"")+b)}},removeClass:function(a,b){if(a)if(a.classList)a.classList.remove(b);else if(u.isString(a.className))a.className=a.className.toString().replace(new RegExp("(^|\\s)"+b.split(" ").join("|")+"(\\s|$)","gi")," ");else{var c=a.getAttribute(p<=7?"className":"class")||"";a.setAttribute("class",c.replace(new RegExp("(^|s)"+b.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(a,c,e,f){function h(a,c){var e=0;if(p<=8)e=o.css(a,c);else{var i=!1;/^(width|height)$/.test(c)&&0===A.getPropertyValue(a,"display")&&(i=!0,A.setPropertyValue(a,"display",A.Values.getDisplayType(a)));var j=function(){i&&A.setPropertyValue(a,"display","none")};if(!f){if("height"===c&&"border-box"!==A.getPropertyValue(a,"boxSizing").toString().toLowerCase()){var k=a.offsetHeight-(parseFloat(A.getPropertyValue(a,"borderTopWidth"))||0)-(parseFloat(A.getPropertyValue(a,"borderBottomWidth"))||0)-(parseFloat(A.getPropertyValue(a,"paddingTop"))||0)-(parseFloat(A.getPropertyValue(a,"paddingBottom"))||0);return j(),k}if("width"===c&&"border-box"!==A.getPropertyValue(a,"boxSizing").toString().toLowerCase()){var l=a.offsetWidth-(parseFloat(A.getPropertyValue(a,"borderLeftWidth"))||0)-(parseFloat(A.getPropertyValue(a,"borderRightWidth"))||0)-(parseFloat(A.getPropertyValue(a,"paddingLeft"))||0)-(parseFloat(A.getPropertyValue(a,"paddingRight"))||0);return j(),l}}var m;m=g(a)===d?b.getComputedStyle(a,null):g(a).computedStyle?g(a).computedStyle:g(a).computedStyle=b.getComputedStyle(a,null),"borderColor"===c&&(c="borderTopColor"),e=9===p&&"filter"===c?m.getPropertyValue(c):m[c],""!==e&&null!==e||(e=a.style[c]),j()}if("auto"===e&&/^(top|right|bottom|left)$/i.test(c)){var n=h(a,"position");("fixed"===n||"absolute"===n&&/top|left/i.test(c))&&(e=o(a).position()[c]+"px")}return e}var i;if(A.Hooks.registered[c]){var j=c,k=A.Hooks.getRoot(j);e===d&&(e=A.getPropertyValue(a,A.Names.prefixCheck(k)[0])),A.Normalizations.registered[k]&&(e=A.Normalizations.registered[k]("extract",a,e)),i=A.Hooks.extractValue(j,e)}else if(A.Normalizations.registered[c]){var l,m;l=A.Normalizations.registered[c]("name",a),"transform"!==l&&(m=h(a,A.Names.prefixCheck(l)[0]),A.Values.isCSSNullValue(m)&&A.Hooks.templates[c]&&(m=A.Hooks.templates[c][1])),i=A.Normalizations.registered[c]("extract",a,m)}if(!/^[\d-]/.test(i)){var n=g(a);if(n&&n.isSVG&&A.Names.SVGAttribute(c))if(/^(height|width)$/i.test(c))try{i=a.getBBox()[c]}catch(q){i=0}else i=a.getAttribute(c);else i=h(a,A.Names.prefixCheck(c)[0])}return A.Values.isCSSNullValue(i)&&(i=0),y.debug>=2&&console.log("Get "+c+": "+i),i},setPropertyValue:function(a,c,d,e,f){var h=c;if("scroll"===c)f.container?f.container["scroll"+f.direction]=d:"Left"===f.direction?b.scrollTo(d,f.alternateValue):b.scrollTo(f.alternateValue,d);else if(A.Normalizations.registered[c]&&"transform"===A.Normalizations.registered[c]("name",a))A.Normalizations.registered[c]("inject",a,d),h="transform",d=g(a).transformCache[c];else{if(A.Hooks.registered[c]){var i=c,j=A.Hooks.getRoot(c);e=e||A.getPropertyValue(a,j),d=A.Hooks.injectValue(i,d,e),c=j}if(A.Normalizations.registered[c]&&(d=A.Normalizations.registered[c]("inject",a,d),c=A.Normalizations.registered[c]("name",a)),h=A.Names.prefixCheck(c)[0],p<=8)try{a.style[h]=d}catch(l){y.debug&&console.log("Browser does not support ["+d+"] for ["+h+"]")}else{var k=g(a);k&&k.isSVG&&A.Names.SVGAttribute(c)?a.setAttribute(c,d):a.style[h]=d}y.debug>=2&&console.log("Set "+c+" ("+h+"): "+d)}return[h,d]},flushTransformCache:function(a){var b="",c=g(a);if((p||y.State.isAndroid&&!y.State.isChrome)&&c&&c.isSVG){var d=function(b){return parseFloat(A.getPropertyValue(a,b))},e={translate:[d("translateX"),d("translateY")],skewX:[d("skewX")],skewY:[d("skewY")],scale:1!==d("scale")?[d("scale"),d("scale")]:[d("scaleX"),d("scaleY")],rotate:[d("rotateZ"),0,0]};o.each(g(a).transformCache,function(a){/^translate/i.test(a)?a="translate":/^scale/i.test(a)?a="scale":/^rotate/i.test(a)&&(a="rotate"),e[a]&&(b+=a+"("+e[a].join(" ")+") ",delete e[a])})}else{var f,h;o.each(g(a).transformCache,function(c){if(f=g(a).transformCache[c],"transformPerspective"===c)return h=f,!0;9===p&&"rotateZ"===c&&(c="rotate"),b+=c+f+" "}),h&&(b="perspective"+h+" "+b)}A.setPropertyValue(a,"transform",b)}};A.Hooks.register(),A.Normalizations.register(),y.hook=function(a,b,c){var e;return a=f(a),o.each(a,function(a,f){if(g(f)===d&&y.init(f),c===d)e===d&&(e=A.getPropertyValue(f,b));else{var h=A.setPropertyValue(f,b,c);"transform"===h[0]&&y.CSS.flushTransformCache(f),e=h}}),e};var B=function(){function a(){return k?z.promise||null:p}function e(a,e){function f(f){var k,n;if(i.begin&&0===D)try{i.begin.call(r,r)}catch(V){setTimeout(function(){throw V},1)}if("scroll"===G){var p,q,w,x=/^x$/i.test(i.axis)?"Left":"Top",B=parseFloat(i.offset)||0;i.container?u.isWrapped(i.container)||u.isNode(i.container)?(i.container=i.container[0]||i.container,p=i.container["scroll"+x],w=p+o(a).position()[x.toLowerCase()]+B):i.container=null:(p=y.State.scrollAnchor[y.State["scrollProperty"+x]],q=y.State.scrollAnchor[y.State["scrollProperty"+("Left"===x?"Top":"Left")]],w=o(a).offset()[x.toLowerCase()]+B),j={scroll:{rootPropertyValue:!1,startValue:p,currentValue:p,endValue:w,unitType:"",easing:i.easing,scrollData:{container:i.container,direction:x,alternateValue:q}},element:a},y.debug&&console.log("tweensContainer (scroll): ",j.scroll,a)}else if("reverse"===G){if(!(k=g(a)))return;if(!k.tweensContainer)return void o.dequeue(a,i.queue);"none"===k.opts.display&&(k.opts.display="auto"),"hidden"===k.opts.visibility&&(k.opts.visibility="visible"),k.opts.loop=!1,k.opts.begin=null,k.opts.complete=null,v.easing||delete i.easing,v.duration||delete i.duration,i=o.extend({},k.opts,i),n=o.extend(!0,{},k?k.tweensContainer:null);for(var E in n)if(n.hasOwnProperty(E)&&"element"!==E){var F=n[E].startValue;n[E].startValue=n[E].currentValue=n[E].endValue,n[E].endValue=F,u.isEmptyObject(v)||(n[E].easing=i.easing),y.debug&&console.log("reverse tweensContainer ("+E+"): "+JSON.stringify(n[E]),a)}j=n}else if("start"===G){k=g(a),k&&k.tweensContainer&&k.isAnimating===!0&&(n=k.tweensContainer);var H=function(e,f){var g,l=A.Hooks.getRoot(e),m=!1,p=f[0],q=f[1],r=f[2]
;if(!(k&&k.isSVG||"tween"===l||A.Names.prefixCheck(l)[1]!==!1||A.Normalizations.registered[l]!==d))return void(y.debug&&console.log("Skipping ["+l+"] due to a lack of browser support."));(i.display!==d&&null!==i.display&&"none"!==i.display||i.visibility!==d&&"hidden"!==i.visibility)&&/opacity|filter/.test(e)&&!r&&0!==p&&(r=0),i._cacheValues&&n&&n[e]?(r===d&&(r=n[e].endValue+n[e].unitType),m=k.rootPropertyValueCache[l]):A.Hooks.registered[e]?r===d?(m=A.getPropertyValue(a,l),r=A.getPropertyValue(a,e,m)):m=A.Hooks.templates[l][1]:r===d&&(r=A.getPropertyValue(a,e));var s,t,v,w=!1,x=function(a,b){var c,d;return d=(b||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(a){return c=a,""}),c||(c=A.Values.getUnitType(a)),[d,c]};if(r!==p&&u.isString(r)&&u.isString(p)){g="";var z=0,B=0,C=[],D=[],E=0,F=0,G=0;for(r=A.Hooks.fixColors(r),p=A.Hooks.fixColors(p);z<r.length&&B<p.length;){var H=r[z],I=p[B];if(/[\d\.-]/.test(H)&&/[\d\.-]/.test(I)){for(var J=H,K=I,L=".",N=".";++z<r.length;){if((H=r[z])===L)L="..";else if(!/\d/.test(H))break;J+=H}for(;++B<p.length;){if((I=p[B])===N)N="..";else if(!/\d/.test(I))break;K+=I}var O=A.Hooks.getUnit(r,z),P=A.Hooks.getUnit(p,B);if(z+=O.length,B+=P.length,O===P)J===K?g+=J+O:(g+="{"+C.length+(F?"!":"")+"}"+O,C.push(parseFloat(J)),D.push(parseFloat(K)));else{var Q=parseFloat(J),R=parseFloat(K);g+=(E<5?"calc":"")+"("+(Q?"{"+C.length+(F?"!":"")+"}":"0")+O+" + "+(R?"{"+(C.length+(Q?1:0))+(F?"!":"")+"}":"0")+P+")",Q&&(C.push(Q),D.push(0)),R&&(C.push(0),D.push(R))}}else{if(H!==I){E=0;break}g+=H,z++,B++,0===E&&"c"===H||1===E&&"a"===H||2===E&&"l"===H||3===E&&"c"===H||E>=4&&"("===H?E++:(E&&E<5||E>=4&&")"===H&&--E<5)&&(E=0),0===F&&"r"===H||1===F&&"g"===H||2===F&&"b"===H||3===F&&"a"===H||F>=3&&"("===H?(3===F&&"a"===H&&(G=1),F++):G&&","===H?++G>3&&(F=G=0):(G&&F<(G?5:4)||F>=(G?4:3)&&")"===H&&--F<(G?5:4))&&(F=G=0)}}z===r.length&&B===p.length||(y.debug&&console.error('Trying to pattern match mis-matched strings ["'+p+'", "'+r+'"]'),g=d),g&&(C.length?(y.debug&&console.log('Pattern found "'+g+'" -> ',C,D,"["+r+","+p+"]"),r=C,p=D,t=v=""):g=d)}g||(s=x(e,r),r=s[0],v=s[1],s=x(e,p),p=s[0].replace(/^([+-\/*])=/,function(a,b){return w=b,""}),t=s[1],r=parseFloat(r)||0,p=parseFloat(p)||0,"%"===t&&(/^(fontSize|lineHeight)$/.test(e)?(p/=100,t="em"):/^scale/.test(e)?(p/=100,t=""):/(Red|Green|Blue)$/i.test(e)&&(p=p/100*255,t="")));if(/[\/*]/.test(w))t=v;else if(v!==t&&0!==r)if(0===p)t=v;else{h=h||function(){var d={myParent:a.parentNode||c.body,position:A.getPropertyValue(a,"position"),fontSize:A.getPropertyValue(a,"fontSize")},e=d.position===M.lastPosition&&d.myParent===M.lastParent,f=d.fontSize===M.lastFontSize;M.lastParent=d.myParent,M.lastPosition=d.position,M.lastFontSize=d.fontSize;var g={};if(f&&e)g.emToPx=M.lastEmToPx,g.percentToPxWidth=M.lastPercentToPxWidth,g.percentToPxHeight=M.lastPercentToPxHeight;else{var h=k&&k.isSVG?c.createElementNS("http://www.w3.org/2000/svg","rect"):c.createElement("div");y.init(h),d.myParent.appendChild(h),o.each(["overflow","overflowX","overflowY"],function(a,b){y.CSS.setPropertyValue(h,b,"hidden")}),y.CSS.setPropertyValue(h,"position",d.position),y.CSS.setPropertyValue(h,"fontSize",d.fontSize),y.CSS.setPropertyValue(h,"boxSizing","content-box"),o.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(a,b){y.CSS.setPropertyValue(h,b,"100%")}),y.CSS.setPropertyValue(h,"paddingLeft","100em"),g.percentToPxWidth=M.lastPercentToPxWidth=(parseFloat(A.getPropertyValue(h,"width",null,!0))||1)/100,g.percentToPxHeight=M.lastPercentToPxHeight=(parseFloat(A.getPropertyValue(h,"height",null,!0))||1)/100,g.emToPx=M.lastEmToPx=(parseFloat(A.getPropertyValue(h,"paddingLeft"))||1)/100,d.myParent.removeChild(h)}return null===M.remToPx&&(M.remToPx=parseFloat(A.getPropertyValue(c.body,"fontSize"))||16),null===M.vwToPx&&(M.vwToPx=parseFloat(b.innerWidth)/100,M.vhToPx=parseFloat(b.innerHeight)/100),g.remToPx=M.remToPx,g.vwToPx=M.vwToPx,g.vhToPx=M.vhToPx,y.debug>=1&&console.log("Unit ratios: "+JSON.stringify(g),a),g}();var S=/margin|padding|left|right|width|text|word|letter/i.test(e)||/X$/.test(e)||"x"===e?"x":"y";switch(v){case"%":r*="x"===S?h.percentToPxWidth:h.percentToPxHeight;break;case"px":break;default:r*=h[v+"ToPx"]}switch(t){case"%":r*=1/("x"===S?h.percentToPxWidth:h.percentToPxHeight);break;case"px":break;default:r*=1/h[t+"ToPx"]}}switch(w){case"+":p=r+p;break;case"-":p=r-p;break;case"*":p*=r;break;case"/":p=r/p}j[e]={rootPropertyValue:m,startValue:r,currentValue:r,endValue:p,unitType:t,easing:q},g&&(j[e].pattern=g),y.debug&&console.log("tweensContainer ("+e+"): "+JSON.stringify(j[e]),a)};for(var I in s)if(s.hasOwnProperty(I)){var J=A.Names.camelCase(I),K=function(b,c){var d,f,g;return u.isFunction(b)&&(b=b.call(a,e,C)),u.isArray(b)?(d=b[0],!u.isArray(b[1])&&/^[\d-]/.test(b[1])||u.isFunction(b[1])||A.RegEx.isHex.test(b[1])?g=b[1]:u.isString(b[1])&&!A.RegEx.isHex.test(b[1])&&y.Easings[b[1]]||u.isArray(b[1])?(f=c?b[1]:l(b[1],i.duration),g=b[2]):g=b[1]||b[2]):d=b,c||(f=f||i.easing),u.isFunction(d)&&(d=d.call(a,e,C)),u.isFunction(g)&&(g=g.call(a,e,C)),[d||0,f,g]}(s[I]);if(t(A.Lists.colors,J)){var L=K[0],O=K[1],P=K[2];if(A.RegEx.isHex.test(L)){for(var Q=["Red","Green","Blue"],R=A.Values.hexToRgb(L),S=P?A.Values.hexToRgb(P):d,T=0;T<Q.length;T++){var U=[R[T]];O&&U.push(O),S!==d&&U.push(S[T]),H(J+Q[T],U)}continue}}H(J,K)}j.element=a}j.element&&(A.Values.addClass(a,"velocity-animating"),N.push(j),k=g(a),k&&(""===i.queue&&(k.tweensContainer=j,k.opts=i),k.isAnimating=!0),D===C-1?(y.State.calls.push([N,r,i,null,z.resolver,null,0]),y.State.isTicking===!1&&(y.State.isTicking=!0,m())):D++)}var h,i=o.extend({},y.defaults,v),j={};switch(g(a)===d&&y.init(a),parseFloat(i.delay)&&i.queue!==!1&&o.queue(a,i.queue,function(b){y.velocityQueueEntryFlag=!0;var c=y.State.delayedElements.count++;y.State.delayedElements[c]=a;var d=function(a){return function(){y.State.delayedElements[a]=!1,b()}}(c);g(a).delayBegin=(new Date).getTime(),g(a).delay=parseFloat(i.delay),g(a).delayTimer={setTimeout:setTimeout(b,parseFloat(i.delay)),next:d}}),i.duration.toString().toLowerCase()){case"fast":i.duration=200;break;case"normal":i.duration=w;break;case"slow":i.duration=600;break;default:i.duration=parseFloat(i.duration)||1}if(y.mock!==!1&&(y.mock===!0?i.duration=i.delay=1:(i.duration*=parseFloat(y.mock)||1,i.delay*=parseFloat(y.mock)||1)),i.easing=l(i.easing,i.duration),i.begin&&!u.isFunction(i.begin)&&(i.begin=null),i.progress&&!u.isFunction(i.progress)&&(i.progress=null),i.complete&&!u.isFunction(i.complete)&&(i.complete=null),i.display!==d&&null!==i.display&&(i.display=i.display.toString().toLowerCase(),"auto"===i.display&&(i.display=y.CSS.Values.getDisplayType(a))),i.visibility!==d&&null!==i.visibility&&(i.visibility=i.visibility.toString().toLowerCase()),i.mobileHA=i.mobileHA&&y.State.isMobile&&!y.State.isGingerbread,i.queue===!1)if(i.delay){var k=y.State.delayedElements.count++;y.State.delayedElements[k]=a;var n=function(a){return function(){y.State.delayedElements[a]=!1,f()}}(k);g(a).delayBegin=(new Date).getTime(),g(a).delay=parseFloat(i.delay),g(a).delayTimer={setTimeout:setTimeout(f,parseFloat(i.delay)),next:n}}else f();else o.queue(a,i.queue,function(a,b){if(b===!0)return z.promise&&z.resolver(r),!0;y.velocityQueueEntryFlag=!0,f(a)});""!==i.queue&&"fx"!==i.queue||"inprogress"===o.queue(a)[0]||o.dequeue(a)}var j,k,p,q,r,s,v,x=arguments[0]&&(arguments[0].p||o.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||u.isString(arguments[0].properties));u.isWrapped(this)?(k=!1,q=0,r=this,p=this):(k=!0,q=1,r=x?arguments[0].elements||arguments[0].e:arguments[0]);var z={promise:null,resolver:null,rejecter:null};if(k&&y.Promise&&(z.promise=new y.Promise(function(a,b){z.resolver=a,z.rejecter=b})),x?(s=arguments[0].properties||arguments[0].p,v=arguments[0].options||arguments[0].o):(s=arguments[q],v=arguments[q+1]),!(r=f(r)))return void(z.promise&&(s&&v&&v.promiseRejectEmpty===!1?z.resolver():z.rejecter()));var C=r.length,D=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(s)&&!o.isPlainObject(v)){var E=q+1;v={};for(var F=E;F<arguments.length;F++)u.isArray(arguments[F])||!/^(fast|normal|slow)$/i.test(arguments[F])&&!/^\d/.test(arguments[F])?u.isString(arguments[F])||u.isArray(arguments[F])?v.easing=arguments[F]:u.isFunction(arguments[F])&&(v.complete=arguments[F]):v.duration=arguments[F]}var G;switch(s){case"scroll":G="scroll";break;case"reverse":G="reverse";break;case"pause":var H=(new Date).getTime();return o.each(r,function(a,b){h(b,H)}),o.each(y.State.calls,function(a,b){var c=!1;b&&o.each(b[1],function(a,e){var f=v===d?"":v;return f!==!0&&b[2].queue!==f&&(v!==d||b[2].queue!==!1)||(o.each(r,function(a,d){if(d===e)return b[5]={resume:!1},c=!0,!1}),!c&&void 0)})}),a();case"resume":return o.each(r,function(a,b){i(b,H)}),o.each(y.State.calls,function(a,b){var c=!1;b&&o.each(b[1],function(a,e){var f=v===d?"":v;return f!==!0&&b[2].queue!==f&&(v!==d||b[2].queue!==!1)||(!b[5]||(o.each(r,function(a,d){if(d===e)return b[5].resume=!0,c=!0,!1}),!c&&void 0))})}),a();case"finish":case"finishAll":case"stop":o.each(r,function(a,b){g(b)&&g(b).delayTimer&&(clearTimeout(g(b).delayTimer.setTimeout),g(b).delayTimer.next&&g(b).delayTimer.next(),delete g(b).delayTimer),"finishAll"!==s||v!==!0&&!u.isString(v)||(o.each(o.queue(b,u.isString(v)?v:""),function(a,b){u.isFunction(b)&&b()}),o.queue(b,u.isString(v)?v:"",[]))});var I=[];return o.each(y.State.calls,function(a,b){b&&o.each(b[1],function(c,e){var f=v===d?"":v;if(f!==!0&&b[2].queue!==f&&(v!==d||b[2].queue!==!1))return!0;o.each(r,function(c,d){if(d===e)if((v===!0||u.isString(v))&&(o.each(o.queue(d,u.isString(v)?v:""),function(a,b){u.isFunction(b)&&b(null,!0)}),o.queue(d,u.isString(v)?v:"",[])),"stop"===s){var h=g(d);h&&h.tweensContainer&&f!==!1&&o.each(h.tweensContainer,function(a,b){b.endValue=b.currentValue}),I.push(a)}else"finish"!==s&&"finishAll"!==s||(b[2].duration=1)})})}),"stop"===s&&(o.each(I,function(a,b){n(b,!0)}),z.promise&&z.resolver(r)),a();default:if(!o.isPlainObject(s)||u.isEmptyObject(s)){if(u.isString(s)&&y.Redirects[s]){j=o.extend({},v);var J=j.duration,K=j.delay||0;return j.backwards===!0&&(r=o.extend(!0,[],r).reverse()),o.each(r,function(a,b){parseFloat(j.stagger)?j.delay=K+parseFloat(j.stagger)*a:u.isFunction(j.stagger)&&(j.delay=K+j.stagger.call(b,a,C)),j.drag&&(j.duration=parseFloat(J)||(/^(callout|transition)/.test(s)?1e3:w),j.duration=Math.max(j.duration*(j.backwards?1-a/C:(a+1)/C),.75*j.duration,200)),y.Redirects[s].call(b,b,j||{},a,C,r,z.promise?z:d)}),a()}var L="Velocity: First argument ("+s+") was not a property map, a known action, or a registered redirect. Aborting.";return z.promise?z.rejecter(new Error(L)):b.console&&console.log(L),a()}G="start"}var M={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},N=[];o.each(r,function(a,b){u.isNode(b)&&e(b,a)}),j=o.extend({},y.defaults,v),j.loop=parseInt(j.loop,10);var O=2*j.loop-1;if(j.loop)for(var P=0;P<O;P++){var Q={delay:j.delay,progress:j.progress};P===O-1&&(Q.display=j.display,Q.visibility=j.visibility,Q.complete=j.complete),B(r,"reverse",Q)}return a()};y=o.extend(B,y),y.animate=B;var C=b.requestAnimationFrame||q;if(!y.State.isMobile&&c.hidden!==d){var D=function(){c.hidden?(C=function(a){return setTimeout(function(){a(!0)},16)},m()):C=b.requestAnimationFrame||q};D(),c.addEventListener("visibilitychange",D)}return a.Velocity=y,a!==b&&(a.fn.velocity=B,a.fn.velocity.defaults=y.defaults),o.each(["Down","Up"],function(a,b){y.Redirects["slide"+b]=function(a,c,e,f,g,h){var i=o.extend({},c),j=i.begin,k=i.complete,l={},m={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};i.display===d&&(i.display="Down"===b?"inline"===y.CSS.Values.getDisplayType(a)?"inline-block":"block":"none"),i.begin=function(){0===e&&j&&j.call(g,g);for(var c in m)if(m.hasOwnProperty(c)){l[c]=a.style[c];var d=A.getPropertyValue(a,c);m[c]="Down"===b?[d,0]:[0,d]}l.overflow=a.style.overflow,a.style.overflow="hidden"},i.complete=function(){for(var b in l)l.hasOwnProperty(b)&&(a.style[b]=l[b]);e===f-1&&(k&&k.call(g,g),h&&h.resolver(g))},y(a,m,i)}}),o.each(["In","Out"],function(a,b){y.Redirects["fade"+b]=function(a,c,e,f,g,h){var i=o.extend({},c),j=i.complete,k={opacity:"In"===b?1:0};0!==e&&(i.begin=null),i.complete=e!==f-1?null:function(){j&&j.call(g,g),h&&h.resolver(g)},i.display===d&&(i.display="In"===b?"auto":"none"),y(this,k,i)}}),y}(window.jQuery||window.Zepto||window,window,window?window.document:undefined)});
\ No newline at end of file
!function () {
window.IndexController = {
apiUrl: window.location.host == "btv.ichunt.com" ? "https://api.ichunt.com" : "http://api.liexin.com",
init: function () {
this.credted(this).map(this).handleBind(this);
},
credted: function (opt) {
this.getData();
this.getTime();
//一天更新数据一次
setInterval(function () {
history.go(0);
}, 86400000);
//模拟一次动画
setInterval(function () {
IndexController.randomAnimate()
}, 10000);
return this;
},
map: function () {
var myChart = echarts.init(document.getElementById('map'));
var planePath = 'path://M250 150 L150 350 L350 350 Z';
$.ajax({
type: "GET",
url: IndexController.apiUrl + "/bigtv/api/cityCoordinate",
data: {},
dataType: 'json',
success: function (res) {
debugger
var geoCoordMap = res.geoCoordMap;
var BJData = res.BJData;
var convertData = function (data) {
var res = [];
for (var i = 0; i < data.length; i++) {
var dataItem = data[i];
var fromCoord = geoCoordMap[dataItem[0].name];
var toCoord = geoCoordMap[dataItem[1].name];
if (fromCoord && toCoord) {
res.push({
fromName: dataItem[0].name,
toName: dataItem[1].name,
coords: [fromCoord, toCoord],
value: dataItem[0].value
});
}
}
return res;
};
var series = [];
[["深圳", BJData]].forEach(function (item, i) {
series.push({
name: item[2],
type: "lines",
zlevel: 2,
effect: {
show: true,
// //飞机的速度 这里是s单位
period: 6,
trailLength: 0,
symbol: planePath,
// 飞机大小
symbolSize: 12
},
lineStyle: {
normal: {
color: "#ffb43f",
// 线条宽度
type: 'dotted',
width: 2,
opacity: 1,
curveness: 0.2
}
},
label: {
normal: {
show: false,
position: 'middle',
formatter: '{b}'
}
},
data: convertData(item[1])
},
{
type: "effectScatter",
coordinateSystem: "geo",
zlevel: 2,
rippleEffect: {
//涟漪特效
color: '#ffb43f', //涟漪的颜色
period: 4, //动画时间,值越小速度越快
brushType: "stroke", //波纹绘制方式 stroke, fill
scale: 4 //波纹圆环最大限制,值越大波纹越大
},
label: {
normal: {
show: false,
position: "right", //显示位置
offset: [5, 0], //偏移设置
formatter: "{b}", //圆环显示文字
textStyle: {
color: "red"
}
},
emphasis: {
show: true
}
},
symbol: "circle",
symbolSize: function (val) {
return 4 + val[2] / 1000; //圆环大小
},
itemStyle: {
normal: {
show: false,
color: "#f4c509",
borderColor: "#f4c509"
}
},
data: item[1].map(function (dataItem) {
return {
name: dataItem[0].name,
value: geoCoordMap[dataItem[0].name].concat([dataItem[0].value])
};
})
},
//被攻击点
{
type: "scatter",
coordinateSystem: "geo",
zlevel: 2,
rippleEffect: {
period: 4,
brushType: "stroke",
scale: 4
},
label: {
normal: {
show: true,
position: "right",
color: "#00ffff",
formatter: "{b}",
textStyle: {
color: "#0bc7f3"
}
},
emphasis: {
show: true
}
},
symbol: "circle",
symbolSize: 15,
itemStyle: {
normal: {
show: true,
color: "#ff4301"
}
},
data: [{
name: item[0],
value: geoCoordMap[item[0]].concat([10])
}]
}
);
});
var option = {
tooltip: {
trigger: "item",
formatter: function (params, ticket, callback) {
if (params.seriesType == "effectScatter") {
return params.marker + params.data.name + "" + params.data.value[2];
} else if (params.seriesType == "lines") {
return params.data.fromName + " -> " + params.data.toName + "<br />" + params.data.value;
} else {
return params.name;
}
},
},
geo: {
map: "world",
label: {
emphasis: {
show: false
}
},
zoom: 1.2,
roam: true, //是否允许缩放
layoutCenter: ["47%", "61%"], //地图位置
layoutSize: "100%",
itemStyle: {
normal: {
color: "rgba(48,97,186,0.3)", //地图背景色
borderColor: "rgba(0, 0, 0, 0)" //省市边界线
},
emphasis: {
color: "rgba(48,97,186,0.3)" //悬浮背景
}
}
},
series: series
};
myChart.setOption(option);
}
});
return this;
},
timeFormat: function () {
var day = new Date();
day.setTime(day.getTime() - 24 * 60 * 60 * 1000);
return day.getFullYear() + "-" + ((day.getMonth() + 1) < 10 ? ('0' + (day.getMonth() + 1)) : (day.getMonth() + 1)) + "-" + ((day.getDate() < 10 ? ('0' + day.getDate()) : day.getDate()));
},
numberScroll: function (data) {
var comma_separator_number_step = $.animateNumber.numberStepFactories.separator(',');
$(".top li .t1").each(function () {
var id_name = $(this).attr("id");
if ($(this).text() != data[id_name]) {
$(this).attr("numbers", data[id_name]).prop('number', $(this).text()).animateNumber({
number: data[id_name],
numberStep: comma_separator_number_step
}, 1000);
}
})
},
randomAnimate: function () {
var comma_separator_number_step = $.animateNumber.numberStepFactories.separator(',');
var radm_num = Math.floor(Math.random() * ($(".top li .t1").length - 0)) + 0;
var num_ = Number($($(".row li .t1")[radm_num]).attr("numbers"));
if (num_ > 0) {
$($(".top li .t1")[radm_num]).prop('number', Math.ceil(num_ / 2)).animateNumber({
number: num_,
numberStep: comma_separator_number_step
}, 500);
}
},
getTime: function () {
var week = new Array("日", "一", "二", "三", "四", "五", "六");
var now = new Date();
var year = now.getFullYear();
var month = now.getMonth() + 1;
var day = now.getDate();
var weekDay = now.getDay();
$("#indexDate").html("今天是:" + year + "年" + (month < 10) ? ('0' + month) : month + "月" + day + "日" + "&nbsp;" + week[weekDay]);
$("#year").text(year);
$("#month").text((month < 10) ? ('0' + month) : month);
$("#day").text((day < 10) ? ('0' + day) : day);
$("#week").text(week[weekDay]);
$.ajax({
url: "http://wthrcdn.etouch.cn/weather_mini?city=深圳",
dataType: 'json',
type: "get",
success: function (res) {
$("#wendu").text(res.data.wendu + "℃");
}
})
setInterval(function () {
var myDate = new Date;
var h = myDate.getHours();
if (h < 10) {
h = "0" + h
}
var m = myDate.getMinutes();
if (m < 10) {
m = "0" + m
}
var s = myDate.getSeconds();
if (s < 10) {
s = "0" + s
}
$("#time").html(h + ":" + m + ":" + s);
}, 1000)
},
rankData: function (daily_search_list, daily_order_list) {
var daily_search_list_html = [];
var daily_order_list_html = [];
if (daily_search_list.length > 0) {
for (var i = 0; i < daily_search_list.length; i++) {
var key_ = Object.keys(daily_search_list[i])[0];
var value_ = Object.values(daily_search_list[i])[0];
if (i <= 2) {
$('.section .left .ranking .i' + (i + 1) + '').html('<span class="p1">' + (i + 1) + '</span><span class="p2">' + key_ + '</span><span>' + value_ + '</span>')
} else {
daily_search_list_html.push(' <li class="row verCenter">' +
' <span class="p1">' + (i + 1) + '</span>' +
' <span class="p2">' + key_ + '</span>' +
' <span>' + value_ + '</span>' +
' </li>');
}
}
$("#notes_txt ul").empty().html(daily_search_list_html);
}
if (daily_order_list.length > 0) {
for (var i = 0; i < daily_order_list.length; i++) {
var key_ = Object.keys(daily_order_list[i])[0];
var value_ = Object.values(daily_order_list[i])[0];
if (i <= 2) {
$('.section .right .ranking .i' + (i + 1) + '').html('<span class="p1">' + (i + 1) + '</span><span class="p2">' + key_ + '</span><span>' + value_ + '</span>')
} else {
daily_order_list_html.push(' <li class="row verCenter">' +
' <span class="p1">' + (i + 1) + '</span>' +
' <span class="p2">' + key_ + '</span>' +
' <span>' + value_ + '</span>' +
' </li>');
}
}
$("#notes_txt2 ul").empty().html(daily_order_list_html);
}
$('#notes_txt').myScroll({
speed: 40,
rowHeight: 34
});
$('#notes_txt2').myScroll({
speed: 40,
rowHeight: 34
});
},
getData: function () {
var time = IndexController.timeFormat();
$.ajax({
type: "GET",
url: IndexController.apiUrl + "/bigtv/api/bigTv",
data: {date: time},
dataType: 'json',
success: function (data) {
var daily_order_list = data.daily_order || [];
var daily_search_list = data.daily_search || [];
$("#plat_sku_sum").text(data.plat_sku_sum);
$("#plat_supply_sum").text(data.plat_supply_sum);
$("#supply_brand_num").text(data.supply_brand_num);
$("#supply_class_num").text(data.supply_class_num);
IndexController.numberScroll(data);
IndexController.rankData(daily_search_list, daily_order_list);
}
});
},
handleBind: function (opt) {
return this;
}
}, $(function () {
IndexController.init();
})
}();
\ No newline at end of file
! function () {
window.IndexController = {
apiUrl: window.location.host == "btv.ichunt.com" ? "https://api.ichunt.com" : "http://api.liexin.com",
init: function () {
this.credted(this).map(this).handleBind(this);
},
credted: function (opt) {
this.getData();
this.getTime();
//一天更新数据一次
setInterval(function () {
history.go(0);
}, 86400000);
//模拟一次动画
setInterval(function () {
IndexController.randomAnimate()
}, 10000);
return this;
},
map: function () {
var myChart = echarts.init(document.getElementById('map'));
var planePath = 'path://M250 150 L150 350 L350 350 Z';
$.ajax({
type: "GET",
url: IndexController.apiUrl + "/bigtv/api/cityCoordinate",
data: {},
dataType: 'json',
success: function (res) {
var geoCoordMap = res.geoCoordMap;
var BJData = res.BJData;
var convertData = function (data) {
var res = [];
for (var i = 0; i < data.length; i++) {
var dataItem = data[i];
var fromCoord = geoCoordMap[dataItem[0].name];
var toCoord = geoCoordMap[dataItem[1].name];
if (fromCoord && toCoord) {
res.push({
fromName: dataItem[0].name,
toName: dataItem[1].name,
coords: [fromCoord, toCoord],
value: dataItem[0].value
});
}
}
return res;
};
var series = [];
[
["深圳", BJData]
].forEach(function (item, i) {
series.push({
name: item[2],
type: "lines",
zlevel: 2,
effect: {
show: true,
// //飞机的速度 这里是s单位
period: 6,
trailLength: 0,
symbol: planePath,
// 飞机大小
symbolSize: 12
},
lineStyle: {
normal: {
color: "#ffb43f",
// 线条宽度
type: 'dotted',
width: 2,
opacity: 1,
curveness: 0.2
}
},
label: {
normal: {
show: false,
position: 'middle',
formatter: '{b}'
}
},
data: convertData(item[1])
}, {
type: "effectScatter",
coordinateSystem: "geo",
zlevel: 2,
rippleEffect: {
//涟漪特效
color: '#ffb43f', //涟漪的颜色
period: 4, //动画时间,值越小速度越快
brushType: "stroke", //波纹绘制方式 stroke, fill
scale: 4 //波纹圆环最大限制,值越大波纹越大
},
label: {
normal: {
show: false,
position: "right", //显示位置
offset: [5, 0], //偏移设置
formatter: "{b}", //圆环显示文字
textStyle: {
color: "red"
}
},
emphasis: {
show: true
}
},
symbol: "circle",
symbolSize: function (val) {
return 4 + val[2] / 1000; //圆环大小
},
itemStyle: {
normal: {
show: false,
color: "#f4c509",
borderColor: "#f4c509"
}
},
data: item[1].map(function (dataItem) {
return {
name: dataItem[0].name,
value: geoCoordMap[dataItem[0].name].concat([dataItem[0].value])
};
})
},
//被攻击点
{
type: "scatter",
coordinateSystem: "geo",
zlevel: 2,
rippleEffect: {
period: 4,
brushType: "stroke",
scale: 4
},
label: {
normal: {
show: true,
position: "right",
color: "#00ffff",
formatter: "{b}",
textStyle: {
color: "#0bc7f3"
}
},
emphasis: {
show: true
}
},
symbol: "circle",
symbolSize: 15,
itemStyle: {
normal: {
show: true,
color: "#ff4301"
}
},
data: [{
name: item[0],
value: geoCoordMap[item[0]].concat([10])
}]
}
);
});
var option = {
tooltip: {
trigger: "item",
formatter: function (params, ticket, callback) {
if (params.seriesType == "effectScatter") {
return params.marker + params.data.name + "" + params.data.value[2];
} else if (params.seriesType == "lines") {
return params.data.fromName + " -> " + params.data.toName + "<br />" + params.data.value;
} else {
return params.name;
}
}
},
geo: {
map: "world",
label: {
emphasis: {
show: false
}
},
zoom: 1.2,
roam: true, //是否允许缩放
layoutCenter: ["47%", "61%"], //地图位置
layoutSize: "100%",
itemStyle: {
normal: {
color: "rgba(48,97,186,0.3)", //地图背景色
borderColor: "rgba(0, 0, 0, 0)" //省市边界线
},
emphasis: {
color: "rgba(48,97,186,0.3)" //悬浮背景
}
}
},
series: series
};
myChart.setOption(option);
}
});
return this;
},
timeFormat: function () {
var day = new Date();
day.setTime(day.getTime() - 24 * 60 * 60 * 1000);
return day.getFullYear() + "-" + ((day.getMonth() + 1) < 10 ? ('0' + (day.getMonth() + 1)) : (day.getMonth() + 1)) + "-" + ((day.getDate() < 10 ? ('0' + day.getDate()) : day.getDate()));
},
numberScroll: function (data) {
var comma_separator_number_step = $.animateNumber.numberStepFactories.separator(',');
$(".top li .t1").each(function () {
var id_name = $(this).attr("id");
if ($(this).text() != data[id_name]) {
$(this).attr("numbers", data[id_name]).prop('number', $(this).text()).animateNumber({
number: data[id_name],
numberStep: comma_separator_number_step
}, 1000);
}
})
},
randomAnimate: function () {
var comma_separator_number_step = $.animateNumber.numberStepFactories.separator(',');
var radm_num = Math.floor(Math.random() * ($(".top li .t1").length - 0)) + 0;
var num_ = Number($($(".row li .t1")[radm_num]).attr("numbers"));
if (num_ > 0) {
$($(".top li .t1")[radm_num]).prop('number', Math.ceil(num_ / 2)).animateNumber({
number: num_,
numberStep: comma_separator_number_step
}, 500);
}
},
getTime: function () {
var week = new Array("日", "一", "二", "三", "四", "五", "六");
var now = new Date();
var year = now.getFullYear();
var month = now.getMonth() + 1;
var day = now.getDate();
var weekDay = now.getDay();
$("#indexDate").html("今天是:" + year + "年" + (month < 10) ? ('0' + month) : month + "月" + day + "日" + "&nbsp;" + week[weekDay]);
$("#year").text(year);
$("#month").text((month < 10) ? ('0' + month) : month);
$("#day").text((day < 10) ? ('0' + day) : day);
$("#week").text(week[weekDay]);
$.ajax({
url: "http://wthrcdn.etouch.cn/weather_mini?city=深圳",
dataType: 'json',
type: "get",
success: function (res) {
$("#wendu").text(res.data.wendu + "℃");
}
})
setInterval(function () {
var myDate = new Date;
var h = myDate.getHours();
if (h < 10) {
h = "0" + h
}
var m = myDate.getMinutes();
if (m < 10) {
m = "0" + m
}
var s = myDate.getSeconds();
if (s < 10) {
s = "0" + s
}
$("#time").html(h + ":" + m + ":" + s);
}, 1000)
},
rankData: function (daily_search_list, daily_order_list) {
var daily_search_list_html = [];
var daily_order_list_html = [];
if (daily_search_list.length > 0) {
for (var i = 0; i < daily_search_list.length; i++) {
var key_ = Object.keys(daily_search_list[i])[0];
var value_ = Object.values(daily_search_list[i])[0];
if (i <= 2) {
$('.section .left .ranking .i' + (i + 1) + '').html('<span class="p1">' + (i + 1) + '</span><span class="p2">' + key_ + '</span><span>' + value_ + '</span>')
} else {
daily_search_list_html.push(' <li class="row verCenter">' +
' <span class="p1">' + (i + 1) + '</span>' +
' <span class="p2">' + key_ + '</span>' +
' <span>' + value_ + '</span>' +
' </li>');
}
}
$("#notes_txt ul").empty().html(daily_search_list_html);
}
if (daily_order_list.length > 0) {
for (var i = 0; i < daily_order_list.length; i++) {
var key_ = Object.keys(daily_order_list[i])[0];
var value_ = Object.values(daily_order_list[i])[0];
if (i <= 2) {
$('.section .right .ranking .i' + (i + 1) + '').html('<span class="p1">' + (i + 1) + '</span><span class="p2">' + key_ + '</span><span>' + value_ + '</span>')
} else {
daily_order_list_html.push(' <li class="row verCenter">' +
' <span class="p1">' + (i + 1) + '</span>' +
' <span class="p2">' + key_ + '</span>' +
' <span>' + value_ + '</span>' +
' </li>');
}
}
$("#notes_txt2 ul").empty().html(daily_order_list_html);
}
$('#notes_txt').myScroll({
speed: 40,
rowHeight: 34
});
$('#notes_txt2').myScroll({
speed: 40,
rowHeight: 34
});
},
getData: function () {
var time = IndexController.timeFormat();
$.ajax({
type: "GET",
url: IndexController.apiUrl + "/bigtv/api/bigTv",
data: {
date: time
},
dataType: 'json',
success: function (data) {
var daily_order_list = data.daily_order || [];
var daily_search_list = data.daily_search || [];
$("#plat_sku_sum").text(data.plat_sku_sum);
$("#plat_supply_sum").text(data.plat_supply_sum);
$("#supply_brand_num").text(data.supply_brand_num);
$("#supply_class_num").text(data.supply_class_num);
IndexController.numberScroll(data);
IndexController.rankData(daily_search_list, daily_order_list);
}
});
},
handleBind: function (opt) {
return this;
}
}, $(function () {
IndexController.init();
})
}();
\ No newline at end of file
/*! VelocityJS.org (1.5.0). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */
!function(a){"use strict";function b(a){var b=a.length,d=c.type(a);return"function"!==d&&!c.isWindow(a)&&(!(1!==a.nodeType||!b)||("array"===d||0===b||"number"==typeof b&&b>0&&b-1 in a))}if(!a.jQuery){var c=function(a,b){return new c.fn.init(a,b)};c.isWindow=function(a){return a&&a===a.window},c.type=function(a){return a?"object"==typeof a||"function"==typeof a?e[g.call(a)]||"object":typeof a:a+""},c.isArray=Array.isArray||function(a){return"array"===c.type(a)},c.isPlainObject=function(a){var b;if(!a||"object"!==c.type(a)||a.nodeType||c.isWindow(a))return!1;try{if(a.constructor&&!f.call(a,"constructor")&&!f.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(d){return!1}for(b in a);return b===undefined||f.call(a,b)},c.each=function(a,c,d){var e=0,f=a.length,g=b(a);if(d){if(g)for(;e<f&&c.apply(a[e],d)!==!1;e++);else for(e in a)if(a.hasOwnProperty(e)&&c.apply(a[e],d)===!1)break}else if(g)for(;e<f&&c.call(a[e],e,a[e])!==!1;e++);else for(e in a)if(a.hasOwnProperty(e)&&c.call(a[e],e,a[e])===!1)break;return a},c.data=function(a,b,e){if(e===undefined){var f=a[c.expando],g=f&&d[f];if(b===undefined)return g;if(g&&b in g)return g[b]}else if(b!==undefined){var h=a[c.expando]||(a[c.expando]=++c.uuid);return d[h]=d[h]||{},d[h][b]=e,e}},c.removeData=function(a,b){var e=a[c.expando],f=e&&d[e];f&&(b?c.each(b,function(a,b){delete f[b]}):delete d[e])},c.extend=function(){var a,b,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;for("boolean"==typeof h&&(k=h,h=arguments[i]||{},i++),"object"!=typeof h&&"function"!==c.type(h)&&(h={}),i===j&&(h=this,i--);i<j;i++)if(f=arguments[i])for(e in f)f.hasOwnProperty(e)&&(a=h[e],d=f[e],h!==d&&(k&&d&&(c.isPlainObject(d)||(b=c.isArray(d)))?(b?(b=!1,g=a&&c.isArray(a)?a:[]):g=a&&c.isPlainObject(a)?a:{},h[e]=c.extend(k,g,d)):d!==undefined&&(h[e]=d)));return h},c.queue=function(a,d,e){if(a){d=(d||"fx")+"queue";var f=c.data(a,d);return e?(!f||c.isArray(e)?f=c.data(a,d,function(a,c){var d=c||[];return a&&(b(Object(a))?function(a,b){for(var c=+b.length,d=0,e=a.length;d<c;)a[e++]=b[d++];if(c!==c)for(;b[d]!==undefined;)a[e++]=b[d++];a.length=e,a}(d,"string"==typeof a?[a]:a):[].push.call(d,a)),d}(e)):f.push(e),f):f||[]}},c.dequeue=function(a,b){c.each(a.nodeType?[a]:a,function(a,d){b=b||"fx";var e=c.queue(d,b),f=e.shift();"inprogress"===f&&(f=e.shift()),f&&("fx"===b&&e.unshift("inprogress"),f.call(d,function(){c.dequeue(d,b)}))})},c.fn=c.prototype={init:function(a){if(a.nodeType)return this[0]=a,this;throw new Error("Not a DOM node.")},offset:function(){var b=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:b.top+(a.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:b.left+(a.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){var a=this[0],b=function(a){for(var b=a.offsetParent;b&&"html"!==b.nodeName.toLowerCase()&&b.style&&"static"===b.style.position;)b=b.offsetParent;return b||document}(a),d=this.offset(),e=/^(?:body|html)$/i.test(b.nodeName)?{top:0,left:0}:c(b).offset();return d.top-=parseFloat(a.style.marginTop)||0,d.left-=parseFloat(a.style.marginLeft)||0,b.style&&(e.top+=parseFloat(b.style.borderTopWidth)||0,e.left+=parseFloat(b.style.borderLeftWidth)||0),{top:d.top-e.top,left:d.left-e.left}}};var d={};c.expando="velocity"+(new Date).getTime(),c.uuid=0;for(var e={},f=e.hasOwnProperty,g=e.toString,h="Boolean Number String Function Array Date RegExp Object Error".split(" "),i=0;i<h.length;i++)e["[object "+h[i]+"]"]=h[i].toLowerCase();c.fn.init.prototype=c.fn,a.Velocity={Utilities:c}}}(window),function(a){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a():"function"==typeof define&&define.amd?define(a):a()}(function(){"use strict";return function(a,b,c,d){function e(a){for(var b=-1,c=a?a.length:0,d=[];++b<c;){var e=a[b];e&&d.push(e)}return d}function f(a){return u.isWrapped(a)?a=s.call(a):u.isNode(a)&&(a=[a]),a}function g(a){var b=o.data(a,"velocity");return null===b?d:b}function h(a,b){var c=g(a);c&&c.delayTimer&&!c.delayPaused&&(c.delayRemaining=c.delay-b+c.delayBegin,c.delayPaused=!0,clearTimeout(c.delayTimer.setTimeout))}function i(a,b){var c=g(a);c&&c.delayTimer&&c.delayPaused&&(c.delayPaused=!1,c.delayTimer.setTimeout=setTimeout(c.delayTimer.next,c.delayRemaining))}function j(a){return function(b){return Math.round(b*a)*(1/a)}}function k(a,c,d,e){function f(a,b){return 1-3*b+3*a}function g(a,b){return 3*b-6*a}function h(a){return 3*a}function i(a,b,c){return((f(b,c)*a+g(b,c))*a+h(b))*a}function j(a,b,c){return 3*f(b,c)*a*a+2*g(b,c)*a+h(b)}function k(b,c){for(var e=0;e<p;++e){var f=j(c,a,d);if(0===f)return c;c-=(i(c,a,d)-b)/f}return c}function l(){for(var b=0;b<t;++b)x[b]=i(b*u,a,d)}function m(b,c,e){var f,g,h=0;do{g=c+(e-c)/2,f=i(g,a,d)-b,f>0?e=g:c=g}while(Math.abs(f)>r&&++h<s);return g}function n(b){for(var c=0,e=1,f=t-1;e!==f&&x[e]<=b;++e)c+=u;--e;var g=(b-x[e])/(x[e+1]-x[e]),h=c+g*u,i=j(h,a,d);return i>=q?k(b,h):0===i?h:m(b,c,c+u)}function o(){y=!0,a===c&&d===e||l()}var p=4,q=.001,r=1e-7,s=10,t=11,u=1/(t-1),v="Float32Array"in b;if(4!==arguments.length)return!1;for(var w=0;w<4;++w)if("number"!=typeof arguments[w]||isNaN(arguments[w])||!isFinite(arguments[w]))return!1;a=Math.min(a,1),d=Math.min(d,1),a=Math.max(a,0),d=Math.max(d,0);var x=v?new Float32Array(t):new Array(t),y=!1,z=function(b){return y||o(),a===c&&d===e?b:0===b?0:1===b?1:i(n(b),c,e)};z.getControlPoints=function(){return[{x:a,y:c},{x:d,y:e}]};var A="generateBezier("+[a,c,d,e]+")";return z.toString=function(){return A},z}function l(a,b){var c=a;return u.isString(a)?y.Easings[a]||(c=!1):c=u.isArray(a)&&1===a.length?j.apply(null,a):u.isArray(a)&&2===a.length?z.apply(null,a.concat([b])):!(!u.isArray(a)||4!==a.length)&&k.apply(null,a),c===!1&&(c=y.Easings[y.defaults.easing]?y.defaults.easing:x),c}function m(a){if(a){var b=y.timestamp&&a!==!0?a:r.now(),c=y.State.calls.length;c>1e4&&(y.State.calls=e(y.State.calls),c=y.State.calls.length);for(var f=0;f<c;f++)if(y.State.calls[f]){var h=y.State.calls[f],i=h[0],j=h[2],k=h[3],l=!!k,q=null,s=h[5],t=h[6];if(k||(k=y.State.calls[f][3]=b-16),s){if(s.resume!==!0)continue;k=h[3]=Math.round(b-t-16),h[5]=null}t=h[6]=b-k;for(var v=Math.min(t/j.duration,1),w=0,x=i.length;w<x;w++){var z=i[w],B=z.element;if(g(B)){var D=!1;if(j.display!==d&&null!==j.display&&"none"!==j.display){if("flex"===j.display){var E=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];o.each(E,function(a,b){A.setPropertyValue(B,"display",b)})}A.setPropertyValue(B,"display",j.display)}j.visibility!==d&&"hidden"!==j.visibility&&A.setPropertyValue(B,"visibility",j.visibility);for(var F in z)if(z.hasOwnProperty(F)&&"element"!==F){var G,H=z[F],I=u.isString(H.easing)?y.Easings[H.easing]:H.easing;if(u.isString(H.pattern)){var J=1===v?function(a,b,c){var d=H.endValue[b];return c?Math.round(d):d}:function(a,b,c){var d=H.startValue[b],e=H.endValue[b]-d,f=d+e*I(v,j,e);return c?Math.round(f):f};G=H.pattern.replace(/{(\d+)(!)?}/g,J)}else if(1===v)G=H.endValue;else{var K=H.endValue-H.startValue;G=H.startValue+K*I(v,j,K)}if(!l&&G===H.currentValue)continue;if(H.currentValue=G,"tween"===F)q=G;else{var L;if(A.Hooks.registered[F]){L=A.Hooks.getRoot(F);var M=g(B).rootPropertyValueCache[L];M&&(H.rootPropertyValue=M)}var N=A.setPropertyValue(B,F,H.currentValue+(p<9&&0===parseFloat(G)?"":H.unitType),H.rootPropertyValue,H.scrollData);A.Hooks.registered[F]&&(A.Normalizations.registered[L]?g(B).rootPropertyValueCache[L]=A.Normalizations.registered[L]("extract",null,N[1]):g(B).rootPropertyValueCache[L]=N[1]),"transform"===N[0]&&(D=!0)}}j.mobileHA&&g(B).transformCache.translate3d===d&&(g(B).transformCache.translate3d="(0px, 0px, 0px)",D=!0),D&&A.flushTransformCache(B)}}j.display!==d&&"none"!==j.display&&(y.State.calls[f][2].display=!1),j.visibility!==d&&"hidden"!==j.visibility&&(y.State.calls[f][2].visibility=!1),j.progress&&j.progress.call(h[1],h[1],v,Math.max(0,k+j.duration-b),k,q),1===v&&n(f)}}y.State.isTicking&&C(m)}function n(a,b){if(!y.State.calls[a])return!1;for(var c=y.State.calls[a][0],e=y.State.calls[a][1],f=y.State.calls[a][2],h=y.State.calls[a][4],i=!1,j=0,k=c.length;j<k;j++){var l=c[j].element;b||f.loop||("none"===f.display&&A.setPropertyValue(l,"display",f.display),"hidden"===f.visibility&&A.setPropertyValue(l,"visibility",f.visibility));var m=g(l);if(f.loop!==!0&&(o.queue(l)[1]===d||!/\.velocityQueueEntryFlag/i.test(o.queue(l)[1]))&&m){m.isAnimating=!1,m.rootPropertyValueCache={};var n=!1;o.each(A.Lists.transforms3D,function(a,b){var c=/^scale/.test(b)?1:0,e=m.transformCache[b];m.transformCache[b]!==d&&new RegExp("^\\("+c+"[^.]").test(e)&&(n=!0,delete m.transformCache[b])}),f.mobileHA&&(n=!0,delete m.transformCache.translate3d),n&&A.flushTransformCache(l),A.Values.removeClass(l,"velocity-animating")}if(!b&&f.complete&&!f.loop&&j===k-1)try{f.complete.call(e,e)}catch(r){setTimeout(function(){throw r},1)}h&&f.loop!==!0&&h(e),m&&f.loop===!0&&!b&&(o.each(m.tweensContainer,function(a,b){if(/^rotate/.test(a)&&(parseFloat(b.startValue)-parseFloat(b.endValue))%360==0){var c=b.startValue;b.startValue=b.endValue,b.endValue=c}/^backgroundPosition/.test(a)&&100===parseFloat(b.endValue)&&"%"===b.unitType&&(b.endValue=0,b.startValue=100)}),y(l,"reverse",{loop:!0,delay:f.delay})),f.queue!==!1&&o.dequeue(l,f.queue)}y.State.calls[a]=!1;for(var p=0,q=y.State.calls.length;p<q;p++)if(y.State.calls[p]!==!1){i=!0;break}i===!1&&(y.State.isTicking=!1,delete y.State.calls,y.State.calls=[])}var o,p=function(){if(c.documentMode)return c.documentMode;for(var a=7;a>4;a--){var b=c.createElement("div");if(b.innerHTML="<!--[if IE "+a+"]><span></span><![endif]-->",b.getElementsByTagName("span").length)return b=null,a}return d}(),q=function(){var a=0;return b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||function(b){var c,d=(new Date).getTime();return c=Math.max(0,16-(d-a)),a=d+c,setTimeout(function(){b(d+c)},c)}}(),r=function(){var a=b.performance||{};if("function"!=typeof a.now){var c=a.timing&&a.timing.navigationStart?a.timing.navigationStart:(new Date).getTime();a.now=function(){return(new Date).getTime()-c}}return a}(),s=function(){var a=Array.prototype.slice;try{return a.call(c.documentElement),a}catch(b){return function(b,c){var d=this.length;if("number"!=typeof b&&(b=0),"number"!=typeof c&&(c=d),this.slice)return a.call(this,b,c);var e,f=[],g=b>=0?b:Math.max(0,d+b),h=c<0?d+c:Math.min(c,d),i=h-g;if(i>0)if(f=new Array(i),this.charAt)for(e=0;e<i;e++)f[e]=this.charAt(g+e);else for(e=0;e<i;e++)f[e]=this[g+e];return f}}}(),t=function(){return Array.prototype.includes?function(a,b){return a.includes(b)}:Array.prototype.indexOf?function(a,b){return a.indexOf(b)>=0}:function(a,b){for(var c=0;c<a.length;c++)if(a[c]===b)return!0;return!1}},u={isNumber:function(a){return"number"==typeof a},isString:function(a){return"string"==typeof a},isArray:Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)},isFunction:function(a){return"[object Function]"===Object.prototype.toString.call(a)},isNode:function(a){return a&&a.nodeType},isWrapped:function(a){return a&&a!==b&&u.isNumber(a.length)&&!u.isString(a)&&!u.isFunction(a)&&!u.isNode(a)&&(0===a.length||u.isNode(a[0]))},isSVG:function(a){return b.SVGElement&&a instanceof b.SVGElement},isEmptyObject:function(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0}},v=!1;if(a.fn&&a.fn.jquery?(o=a,v=!0):o=b.Velocity.Utilities,p<=8&&!v)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(p<=7)return void(jQuery.fn.velocity=jQuery.fn.animate);var w=400,x="swing",y={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:b.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:c.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[],delayedElements:{count:0}},CSS:{},Utilities:o,Redirects:{},Easings:{},Promise:b.Promise,defaults:{queue:"",duration:w,easing:x,begin:d,complete:d,progress:d,display:d,visibility:d,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0,promiseRejectEmpty:!0},init:function(a){o.data(a,"velocity",{isSVG:u.isSVG(a),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:5,patch:0},debug:!1,timestamp:!0,pauseAll:function(a){var b=(new Date).getTime();o.each(y.State.calls,function(b,c){if(c){if(a!==d&&(c[2].queue!==a||c[2].queue===!1))return!0;c[5]={resume:!1}}}),o.each(y.State.delayedElements,function(a,c){c&&h(c,b)})},resumeAll:function(a){var b=(new Date).getTime();o.each(y.State.calls,function(b,c){if(c){if(a!==d&&(c[2].queue!==a||c[2].queue===!1))return!0;c[5]&&(c[5].resume=!0)}}),o.each(y.State.delayedElements,function(a,c){c&&i(c,b)})}};b.pageYOffset!==d?(y.State.scrollAnchor=b,y.State.scrollPropertyLeft="pageXOffset",y.State.scrollPropertyTop="pageYOffset"):(y.State.scrollAnchor=c.documentElement||c.body.parentNode||c.body,y.State.scrollPropertyLeft="scrollLeft",y.State.scrollPropertyTop="scrollTop");var z=function(){function a(a){return-a.tension*a.x-a.friction*a.v}function b(b,c,d){var e={x:b.x+d.dx*c,v:b.v+d.dv*c,tension:b.tension,friction:b.friction};return{dx:e.v,dv:a(e)}}function c(c,d){var e={dx:c.v,dv:a(c)},f=b(c,.5*d,e),g=b(c,.5*d,f),h=b(c,d,g),i=1/6*(e.dx+2*(f.dx+g.dx)+h.dx),j=1/6*(e.dv+2*(f.dv+g.dv)+h.dv);return c.x=c.x+i*d,c.v=c.v+j*d,c}return function d(a,b,e){var f,g,h,i={x:-1,v:0,tension:null,friction:null},j=[0],k=0;for(a=parseFloat(a)||500,b=parseFloat(b)||20,e=e||null,i.tension=a,i.friction=b,f=null!==e,f?(k=d(a,b),g=k/e*.016):g=.016;;)if(h=c(h||i,g),j.push(1+h.x),k+=16,!(Math.abs(h.x)>1e-4&&Math.abs(h.v)>1e-4))break;return f?function(a){return j[a*(j.length-1)|0]}:k}}();y.Easings={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},spring:function(a){return 1-Math.cos(4.5*a*Math.PI)*Math.exp(6*-a)}},o.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(a,b){y.Easings[b[0]]=k.apply(null,b[1])});var A=y.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"],units:["%","em","ex","ch","rem","vw","vh","vmin","vmax","cm","mm","Q","in","pc","pt","px","deg","grad","rad","turn","s","ms"],colorNames:{aliceblue:"240,248,255",antiquewhite:"250,235,215",aquamarine:"127,255,212",aqua:"0,255,255",azure:"240,255,255",beige:"245,245,220",bisque:"255,228,196",black:"0,0,0",blanchedalmond:"255,235,205",blueviolet:"138,43,226",blue:"0,0,255",brown:"165,42,42",burlywood:"222,184,135",cadetblue:"95,158,160",chartreuse:"127,255,0",chocolate:"210,105,30",coral:"255,127,80",cornflowerblue:"100,149,237",cornsilk:"255,248,220",crimson:"220,20,60",cyan:"0,255,255",darkblue:"0,0,139",darkcyan:"0,139,139",darkgoldenrod:"184,134,11",darkgray:"169,169,169",darkgrey:"169,169,169",darkgreen:"0,100,0",darkkhaki:"189,183,107",darkmagenta:"139,0,139",darkolivegreen:"85,107,47",darkorange:"255,140,0",darkorchid:"153,50,204",darkred:"139,0,0",darksalmon:"233,150,122",darkseagreen:"143,188,143",darkslateblue:"72,61,139",darkslategray:"47,79,79",darkturquoise:"0,206,209",darkviolet:"148,0,211",deeppink:"255,20,147",deepskyblue:"0,191,255",dimgray:"105,105,105",dimgrey:"105,105,105",dodgerblue:"30,144,255",firebrick:"178,34,34",floralwhite:"255,250,240",forestgreen:"34,139,34",fuchsia:"255,0,255",gainsboro:"220,220,220",ghostwhite:"248,248,255",gold:"255,215,0",goldenrod:"218,165,32",gray:"128,128,128",grey:"128,128,128",greenyellow:"173,255,47",green:"0,128,0",honeydew:"240,255,240",hotpink:"255,105,180",indianred:"205,92,92",indigo:"75,0,130",ivory:"255,255,240",khaki:"240,230,140",lavenderblush:"255,240,245",lavender:"230,230,250",lawngreen:"124,252,0",lemonchiffon:"255,250,205",lightblue:"173,216,230",lightcoral:"240,128,128",lightcyan:"224,255,255",lightgoldenrodyellow:"250,250,210",lightgray:"211,211,211",lightgrey:"211,211,211",lightgreen:"144,238,144",lightpink:"255,182,193",lightsalmon:"255,160,122",lightseagreen:"32,178,170",lightskyblue:"135,206,250",lightslategray:"119,136,153",lightsteelblue:"176,196,222",lightyellow:"255,255,224",limegreen:"50,205,50",lime:"0,255,0",linen:"250,240,230",magenta:"255,0,255",maroon:"128,0,0",mediumaquamarine:"102,205,170",mediumblue:"0,0,205",mediumorchid:"186,85,211",mediumpurple:"147,112,219",mediumseagreen:"60,179,113",mediumslateblue:"123,104,238",mediumspringgreen:"0,250,154",mediumturquoise:"72,209,204",mediumvioletred:"199,21,133",midnightblue:"25,25,112",mintcream:"245,255,250",mistyrose:"255,228,225",moccasin:"255,228,181",navajowhite:"255,222,173",navy:"0,0,128",oldlace:"253,245,230",olivedrab:"107,142,35",olive:"128,128,0",orangered:"255,69,0",orange:"255,165,0",orchid:"218,112,214",palegoldenrod:"238,232,170",palegreen:"152,251,152",paleturquoise:"175,238,238",palevioletred:"219,112,147",papayawhip:"255,239,213",peachpuff:"255,218,185",peru:"205,133,63",pink:"255,192,203",plum:"221,160,221",powderblue:"176,224,230",purple:"128,0,128",red:"255,0,0",rosybrown:"188,143,143",royalblue:"65,105,225",saddlebrown:"139,69,19",salmon:"250,128,114",sandybrown:"244,164,96",seagreen:"46,139,87",seashell:"255,245,238",sienna:"160,82,45",silver:"192,192,192",skyblue:"135,206,235",slateblue:"106,90,205",slategray:"112,128,144",snow:"255,250,250",springgreen:"0,255,127",steelblue:"70,130,180",tan:"210,180,140",teal:"0,128,128",thistle:"216,191,216",tomato:"255,99,71",turquoise:"64,224,208",violet:"238,130,238",wheat:"245,222,179",whitesmoke:"245,245,245",white:"255,255,255",yellowgreen:"154,205,50",yellow:"255,255,0"}},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var a=0;a<A.Lists.colors.length;a++){var b="color"===A.Lists.colors[a]?"0 0 0 1":"255 255 255 1";A.Hooks.templates[A.Lists.colors[a]]=["Red Green Blue Alpha",b]}var c,d,e;if(p)for(c in A.Hooks.templates)if(A.Hooks.templates.hasOwnProperty(c)){d=A.Hooks.templates[c],e=d[0].split(" ");var f=d[1].match(A.RegEx.valueSplit);"Color"===e[0]&&(e.push(e.shift()),f.push(f.shift()),A.Hooks.templates[c]=[e.join(" "),f.join(" ")])}for(c in A.Hooks.templates)if(A.Hooks.templates.hasOwnProperty(c)){d=A.Hooks.templates[c],e=d[0].split(" ");for(var g in e)if(e.hasOwnProperty(g)){var h=c+e[g],i=g;A.Hooks.registered[h]=[c,i]}}},getRoot:function(a){var b=A.Hooks.registered[a];return b?b[0]:a},getUnit:function(a,b){var c=(a.substr(b||0,5).match(/^[a-z%]+/)||[])[0]||"";return c&&t(A.Lists.units,c)?c:""},fixColors:function(a){return a.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g,function(a,b,c){return A.Lists.colorNames.hasOwnProperty(c)?(b?b:"rgba(")+A.Lists.colorNames[c]+(b?"":",1)"):b+c})},cleanRootPropertyValue:function(a,b){return A.RegEx.valueUnwrap.test(b)&&(b=b.match(A.RegEx.valueUnwrap)[1]),A.Values.isCSSNullValue(b)&&(b=A.Hooks.templates[a][1]),b},extractValue:function(a,b){var c=A.Hooks.registered[a];if(c){var d=c[0],e=c[1];return b=A.Hooks.cleanRootPropertyValue(d,b),b.toString().match(A.RegEx.valueSplit)[e]}return b},injectValue:function(a,b,c){var d=A.Hooks.registered[a];if(d){var e,f=d[0],g=d[1];return c=A.Hooks.cleanRootPropertyValue(f,c),e=c.toString().match(A.RegEx.valueSplit),e[g]=b,e.join(" ")}return c}},Normalizations:{registered:{clip:function(a,b,c){switch(a){case"name":return"clip";case"extract":var d;return A.RegEx.wrappedValueAlreadyExtracted.test(c)?d=c:(d=c.toString().match(A.RegEx.valueUnwrap),d=d?d[1].replace(/,(\s+)?/g," "):c),d;case"inject":return"rect("+c+")"}},blur:function(a,b,c){switch(a){case"name":return y.State.isFirefox?"filter":"-webkit-filter";case"extract":var d=parseFloat(c);if(!d&&0!==d){var e=c.toString().match(/blur\(([0-9]+[A-z]+)\)/i);d=e?e[1]:0}return d;case"inject":return parseFloat(c)?"blur("+c+")":"none"}},opacity:function(a,b,c){if(p<=8)switch(a){case"name":return"filter";case"extract":var d=c.toString().match(/alpha\(opacity=(.*)\)/i);return c=d?d[1]/100:1;case"inject":return b.style.zoom=1,parseFloat(c)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(c),10)+")"}else switch(a){case"name":return"opacity";case"extract":return c;case"inject":return c}}},register:function(){function a(a,b,c){if("border-box"===A.getPropertyValue(b,"boxSizing").toString().toLowerCase()===(c||!1)){var d,e,f=0,g="width"===a?["Left","Right"]:["Top","Bottom"],h=["padding"+g[0],"padding"+g[1],"border"+g[0]+"Width","border"+g[1]+"Width"];for(d=0;d<h.length;d++)e=parseFloat(A.getPropertyValue(b,h[d])),isNaN(e)||(f+=e);return c?-f:f}return 0}function b(b,c){return function(d,e,f){switch(d){case"name":return b;case"extract":return parseFloat(f)+a(b,e,c);case"inject":return parseFloat(f)-a(b,e,c)+"px"}}}p&&!(p>9)||y.State.isGingerbread||(A.Lists.transformsBase=A.Lists.transformsBase.concat(A.Lists.transforms3D));for(var c=0;c<A.Lists.transformsBase.length;c++)!function(){var a=A.Lists.transformsBase[c];A.Normalizations.registered[a]=function(b,c,e){switch(b){case"name":return"transform";case"extract":return g(c)===d||g(c).transformCache[a]===d?/^scale/i.test(a)?1:0:g(c).transformCache[a].replace(/[()]/g,"");case"inject":var f=!1;switch(a.substr(0,a.length-1)){case"translate":f=!/(%|px|em|rem|vw|vh|\d)$/i.test(e);break;case"scal":case"scale":y.State.isAndroid&&g(c).transformCache[a]===d&&e<1&&(e=1),f=!/(\d)$/i.test(e);break;case"skew":f=!/(deg|\d)$/i.test(e);break;case"rotate":f=!/(deg|\d)$/i.test(e)}return f||(g(c).transformCache[a]="("+e+")"),g(c).transformCache[a]}}}();for(var e=0;e<A.Lists.colors.length;e++)!function(){var a=A.Lists.colors[e];A.Normalizations.registered[a]=function(b,c,e){switch(b){case"name":return a;case"extract":var f;if(A.RegEx.wrappedValueAlreadyExtracted.test(e))f=e;else{var g,h={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(e)?g=h[e]!==d?h[e]:h.black:A.RegEx.isHex.test(e)?g="rgb("+A.Values.hexToRgb(e).join(" ")+")":/^rgba?\(/i.test(e)||(g=h.black),f=(g||e).toString().match(A.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return(!p||p>8)&&3===f.split(" ").length&&(f+=" 1"),f;case"inject":return/^rgb/.test(e)?e:(p<=8?4===e.split(" ").length&&(e=e.split(/\s+/).slice(0,3).join(" ")):3===e.split(" ").length&&(e+=" 1"),(p<=8?"rgb":"rgba")+"("+e.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")")}}}();A.Normalizations.registered.innerWidth=b("width",!0),A.Normalizations.registered.innerHeight=b("height",!0),A.Normalizations.registered.outerWidth=b("width"),A.Normalizations.registered.outerHeight=b("height")}},Names:{camelCase:function(a){return a.replace(/-(\w)/g,function(a,b){return b.toUpperCase()})},SVGAttribute:function(a){var b="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(p||y.State.isAndroid&&!y.State.isChrome)&&(b+="|transform"),new RegExp("^("+b+")$","i").test(a)},prefixCheck:function(a){if(y.State.prefixMatches[a])return[y.State.prefixMatches[a],!0];for(var b=["","Webkit","Moz","ms","O"],c=0,d=b.length;c<d;c++){var e;if(e=0===c?a:b[c]+a.replace(/^\w/,function(a){return a.toUpperCase()}),u.isString(y.State.prefixElement.style[e]))return y.State.prefixMatches[a]=e,[e,!0]}return[a,!1]}},Values:{hexToRgb:function(a){var b,c=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return a=a.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(a,b,c,d){return b+b+c+c+d+d}),b=c.exec(a),b?[parseInt(b[1],16),parseInt(b[2],16),parseInt(b[3],16)]:[0,0,0]},isCSSNullValue:function(a){return!a||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(a)},getUnitType:function(a){return/^(rotate|skew)/i.test(a)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(a)?"":"px"},getDisplayType:function(a){var b=a&&a.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(b)?"inline":/^(li)$/i.test(b)?"list-item":/^(tr)$/i.test(b)?"table-row":/^(table)$/i.test(b)?"table":/^(tbody)$/i.test(b)?"table-row-group":"block"},addClass:function(a,b){if(a)if(a.classList)a.classList.add(b);else if(u.isString(a.className))a.className+=(a.className.length?" ":"")+b;else{var c=a.getAttribute(p<=7?"className":"class")||"";a.setAttribute("class",c+(c?" ":"")+b)}},removeClass:function(a,b){if(a)if(a.classList)a.classList.remove(b);else if(u.isString(a.className))a.className=a.className.toString().replace(new RegExp("(^|\\s)"+b.split(" ").join("|")+"(\\s|$)","gi")," ");else{var c=a.getAttribute(p<=7?"className":"class")||"";a.setAttribute("class",c.replace(new RegExp("(^|s)"+b.split(" ").join("|")+"(s|$)","gi")," "))}}},getPropertyValue:function(a,c,e,f){function h(a,c){var e=0;if(p<=8)e=o.css(a,c);else{var i=!1;/^(width|height)$/.test(c)&&0===A.getPropertyValue(a,"display")&&(i=!0,A.setPropertyValue(a,"display",A.Values.getDisplayType(a)));var j=function(){i&&A.setPropertyValue(a,"display","none")};if(!f){if("height"===c&&"border-box"!==A.getPropertyValue(a,"boxSizing").toString().toLowerCase()){var k=a.offsetHeight-(parseFloat(A.getPropertyValue(a,"borderTopWidth"))||0)-(parseFloat(A.getPropertyValue(a,"borderBottomWidth"))||0)-(parseFloat(A.getPropertyValue(a,"paddingTop"))||0)-(parseFloat(A.getPropertyValue(a,"paddingBottom"))||0);return j(),k}if("width"===c&&"border-box"!==A.getPropertyValue(a,"boxSizing").toString().toLowerCase()){var l=a.offsetWidth-(parseFloat(A.getPropertyValue(a,"borderLeftWidth"))||0)-(parseFloat(A.getPropertyValue(a,"borderRightWidth"))||0)-(parseFloat(A.getPropertyValue(a,"paddingLeft"))||0)-(parseFloat(A.getPropertyValue(a,"paddingRight"))||0);return j(),l}}var m;m=g(a)===d?b.getComputedStyle(a,null):g(a).computedStyle?g(a).computedStyle:g(a).computedStyle=b.getComputedStyle(a,null),"borderColor"===c&&(c="borderTopColor"),e=9===p&&"filter"===c?m.getPropertyValue(c):m[c],""!==e&&null!==e||(e=a.style[c]),j()}if("auto"===e&&/^(top|right|bottom|left)$/i.test(c)){var n=h(a,"position");("fixed"===n||"absolute"===n&&/top|left/i.test(c))&&(e=o(a).position()[c]+"px")}return e}var i;if(A.Hooks.registered[c]){var j=c,k=A.Hooks.getRoot(j);e===d&&(e=A.getPropertyValue(a,A.Names.prefixCheck(k)[0])),A.Normalizations.registered[k]&&(e=A.Normalizations.registered[k]("extract",a,e)),i=A.Hooks.extractValue(j,e)}else if(A.Normalizations.registered[c]){var l,m;l=A.Normalizations.registered[c]("name",a),"transform"!==l&&(m=h(a,A.Names.prefixCheck(l)[0]),A.Values.isCSSNullValue(m)&&A.Hooks.templates[c]&&(m=A.Hooks.templates[c][1])),i=A.Normalizations.registered[c]("extract",a,m)}if(!/^[\d-]/.test(i)){var n=g(a);if(n&&n.isSVG&&A.Names.SVGAttribute(c))if(/^(height|width)$/i.test(c))try{i=a.getBBox()[c]}catch(q){i=0}else i=a.getAttribute(c);else i=h(a,A.Names.prefixCheck(c)[0])}return A.Values.isCSSNullValue(i)&&(i=0),y.debug>=2&&console.log("Get "+c+": "+i),i},setPropertyValue:function(a,c,d,e,f){var h=c;if("scroll"===c)f.container?f.container["scroll"+f.direction]=d:"Left"===f.direction?b.scrollTo(d,f.alternateValue):b.scrollTo(f.alternateValue,d);else if(A.Normalizations.registered[c]&&"transform"===A.Normalizations.registered[c]("name",a))A.Normalizations.registered[c]("inject",a,d),h="transform",d=g(a).transformCache[c];else{if(A.Hooks.registered[c]){var i=c,j=A.Hooks.getRoot(c);e=e||A.getPropertyValue(a,j),d=A.Hooks.injectValue(i,d,e),c=j}if(A.Normalizations.registered[c]&&(d=A.Normalizations.registered[c]("inject",a,d),c=A.Normalizations.registered[c]("name",a)),h=A.Names.prefixCheck(c)[0],p<=8)try{a.style[h]=d}catch(l){y.debug&&console.log("Browser does not support ["+d+"] for ["+h+"]")}else{var k=g(a);k&&k.isSVG&&A.Names.SVGAttribute(c)?a.setAttribute(c,d):a.style[h]=d}y.debug>=2&&console.log("Set "+c+" ("+h+"): "+d)}return[h,d]},flushTransformCache:function(a){var b="",c=g(a);if((p||y.State.isAndroid&&!y.State.isChrome)&&c&&c.isSVG){var d=function(b){return parseFloat(A.getPropertyValue(a,b))},e={translate:[d("translateX"),d("translateY")],skewX:[d("skewX")],skewY:[d("skewY")],scale:1!==d("scale")?[d("scale"),d("scale")]:[d("scaleX"),d("scaleY")],rotate:[d("rotateZ"),0,0]};o.each(g(a).transformCache,function(a){/^translate/i.test(a)?a="translate":/^scale/i.test(a)?a="scale":/^rotate/i.test(a)&&(a="rotate"),e[a]&&(b+=a+"("+e[a].join(" ")+") ",delete e[a])})}else{var f,h;o.each(g(a).transformCache,function(c){if(f=g(a).transformCache[c],"transformPerspective"===c)return h=f,!0;9===p&&"rotateZ"===c&&(c="rotate"),b+=c+f+" "}),h&&(b="perspective"+h+" "+b)}A.setPropertyValue(a,"transform",b)}};A.Hooks.register(),A.Normalizations.register(),y.hook=function(a,b,c){var e;return a=f(a),o.each(a,function(a,f){if(g(f)===d&&y.init(f),c===d)e===d&&(e=A.getPropertyValue(f,b));else{var h=A.setPropertyValue(f,b,c);"transform"===h[0]&&y.CSS.flushTransformCache(f),e=h}}),e};var B=function(){function a(){return k?z.promise||null:p}function e(a,e){function f(f){var k,n;if(i.begin&&0===D)try{i.begin.call(r,r)}catch(V){setTimeout(function(){throw V},1)}if("scroll"===G){var p,q,w,x=/^x$/i.test(i.axis)?"Left":"Top",B=parseFloat(i.offset)||0;i.container?u.isWrapped(i.container)||u.isNode(i.container)?(i.container=i.container[0]||i.container,p=i.container["scroll"+x],w=p+o(a).position()[x.toLowerCase()]+B):i.container=null:(p=y.State.scrollAnchor[y.State["scrollProperty"+x]],q=y.State.scrollAnchor[y.State["scrollProperty"+("Left"===x?"Top":"Left")]],w=o(a).offset()[x.toLowerCase()]+B),j={scroll:{rootPropertyValue:!1,startValue:p,currentValue:p,endValue:w,unitType:"",easing:i.easing,scrollData:{container:i.container,direction:x,alternateValue:q}},element:a},y.debug&&console.log("tweensContainer (scroll): ",j.scroll,a)}else if("reverse"===G){if(!(k=g(a)))return;if(!k.tweensContainer)return void o.dequeue(a,i.queue);"none"===k.opts.display&&(k.opts.display="auto"),"hidden"===k.opts.visibility&&(k.opts.visibility="visible"),k.opts.loop=!1,k.opts.begin=null,k.opts.complete=null,v.easing||delete i.easing,v.duration||delete i.duration,i=o.extend({},k.opts,i),n=o.extend(!0,{},k?k.tweensContainer:null);for(var E in n)if(n.hasOwnProperty(E)&&"element"!==E){var F=n[E].startValue;n[E].startValue=n[E].currentValue=n[E].endValue,n[E].endValue=F,u.isEmptyObject(v)||(n[E].easing=i.easing),y.debug&&console.log("reverse tweensContainer ("+E+"): "+JSON.stringify(n[E]),a)}j=n}else if("start"===G){k=g(a),k&&k.tweensContainer&&k.isAnimating===!0&&(n=k.tweensContainer);var H=function(e,f){var g,l=A.Hooks.getRoot(e),m=!1,p=f[0],q=f[1],r=f[2]
;if(!(k&&k.isSVG||"tween"===l||A.Names.prefixCheck(l)[1]!==!1||A.Normalizations.registered[l]!==d))return void(y.debug&&console.log("Skipping ["+l+"] due to a lack of browser support."));(i.display!==d&&null!==i.display&&"none"!==i.display||i.visibility!==d&&"hidden"!==i.visibility)&&/opacity|filter/.test(e)&&!r&&0!==p&&(r=0),i._cacheValues&&n&&n[e]?(r===d&&(r=n[e].endValue+n[e].unitType),m=k.rootPropertyValueCache[l]):A.Hooks.registered[e]?r===d?(m=A.getPropertyValue(a,l),r=A.getPropertyValue(a,e,m)):m=A.Hooks.templates[l][1]:r===d&&(r=A.getPropertyValue(a,e));var s,t,v,w=!1,x=function(a,b){var c,d;return d=(b||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(a){return c=a,""}),c||(c=A.Values.getUnitType(a)),[d,c]};if(r!==p&&u.isString(r)&&u.isString(p)){g="";var z=0,B=0,C=[],D=[],E=0,F=0,G=0;for(r=A.Hooks.fixColors(r),p=A.Hooks.fixColors(p);z<r.length&&B<p.length;){var H=r[z],I=p[B];if(/[\d\.-]/.test(H)&&/[\d\.-]/.test(I)){for(var J=H,K=I,L=".",N=".";++z<r.length;){if((H=r[z])===L)L="..";else if(!/\d/.test(H))break;J+=H}for(;++B<p.length;){if((I=p[B])===N)N="..";else if(!/\d/.test(I))break;K+=I}var O=A.Hooks.getUnit(r,z),P=A.Hooks.getUnit(p,B);if(z+=O.length,B+=P.length,O===P)J===K?g+=J+O:(g+="{"+C.length+(F?"!":"")+"}"+O,C.push(parseFloat(J)),D.push(parseFloat(K)));else{var Q=parseFloat(J),R=parseFloat(K);g+=(E<5?"calc":"")+"("+(Q?"{"+C.length+(F?"!":"")+"}":"0")+O+" + "+(R?"{"+(C.length+(Q?1:0))+(F?"!":"")+"}":"0")+P+")",Q&&(C.push(Q),D.push(0)),R&&(C.push(0),D.push(R))}}else{if(H!==I){E=0;break}g+=H,z++,B++,0===E&&"c"===H||1===E&&"a"===H||2===E&&"l"===H||3===E&&"c"===H||E>=4&&"("===H?E++:(E&&E<5||E>=4&&")"===H&&--E<5)&&(E=0),0===F&&"r"===H||1===F&&"g"===H||2===F&&"b"===H||3===F&&"a"===H||F>=3&&"("===H?(3===F&&"a"===H&&(G=1),F++):G&&","===H?++G>3&&(F=G=0):(G&&F<(G?5:4)||F>=(G?4:3)&&")"===H&&--F<(G?5:4))&&(F=G=0)}}z===r.length&&B===p.length||(y.debug&&console.error('Trying to pattern match mis-matched strings ["'+p+'", "'+r+'"]'),g=d),g&&(C.length?(y.debug&&console.log('Pattern found "'+g+'" -> ',C,D,"["+r+","+p+"]"),r=C,p=D,t=v=""):g=d)}g||(s=x(e,r),r=s[0],v=s[1],s=x(e,p),p=s[0].replace(/^([+-\/*])=/,function(a,b){return w=b,""}),t=s[1],r=parseFloat(r)||0,p=parseFloat(p)||0,"%"===t&&(/^(fontSize|lineHeight)$/.test(e)?(p/=100,t="em"):/^scale/.test(e)?(p/=100,t=""):/(Red|Green|Blue)$/i.test(e)&&(p=p/100*255,t="")));if(/[\/*]/.test(w))t=v;else if(v!==t&&0!==r)if(0===p)t=v;else{h=h||function(){var d={myParent:a.parentNode||c.body,position:A.getPropertyValue(a,"position"),fontSize:A.getPropertyValue(a,"fontSize")},e=d.position===M.lastPosition&&d.myParent===M.lastParent,f=d.fontSize===M.lastFontSize;M.lastParent=d.myParent,M.lastPosition=d.position,M.lastFontSize=d.fontSize;var g={};if(f&&e)g.emToPx=M.lastEmToPx,g.percentToPxWidth=M.lastPercentToPxWidth,g.percentToPxHeight=M.lastPercentToPxHeight;else{var h=k&&k.isSVG?c.createElementNS("http://www.w3.org/2000/svg","rect"):c.createElement("div");y.init(h),d.myParent.appendChild(h),o.each(["overflow","overflowX","overflowY"],function(a,b){y.CSS.setPropertyValue(h,b,"hidden")}),y.CSS.setPropertyValue(h,"position",d.position),y.CSS.setPropertyValue(h,"fontSize",d.fontSize),y.CSS.setPropertyValue(h,"boxSizing","content-box"),o.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(a,b){y.CSS.setPropertyValue(h,b,"100%")}),y.CSS.setPropertyValue(h,"paddingLeft","100em"),g.percentToPxWidth=M.lastPercentToPxWidth=(parseFloat(A.getPropertyValue(h,"width",null,!0))||1)/100,g.percentToPxHeight=M.lastPercentToPxHeight=(parseFloat(A.getPropertyValue(h,"height",null,!0))||1)/100,g.emToPx=M.lastEmToPx=(parseFloat(A.getPropertyValue(h,"paddingLeft"))||1)/100,d.myParent.removeChild(h)}return null===M.remToPx&&(M.remToPx=parseFloat(A.getPropertyValue(c.body,"fontSize"))||16),null===M.vwToPx&&(M.vwToPx=parseFloat(b.innerWidth)/100,M.vhToPx=parseFloat(b.innerHeight)/100),g.remToPx=M.remToPx,g.vwToPx=M.vwToPx,g.vhToPx=M.vhToPx,y.debug>=1&&console.log("Unit ratios: "+JSON.stringify(g),a),g}();var S=/margin|padding|left|right|width|text|word|letter/i.test(e)||/X$/.test(e)||"x"===e?"x":"y";switch(v){case"%":r*="x"===S?h.percentToPxWidth:h.percentToPxHeight;break;case"px":break;default:r*=h[v+"ToPx"]}switch(t){case"%":r*=1/("x"===S?h.percentToPxWidth:h.percentToPxHeight);break;case"px":break;default:r*=1/h[t+"ToPx"]}}switch(w){case"+":p=r+p;break;case"-":p=r-p;break;case"*":p*=r;break;case"/":p=r/p}j[e]={rootPropertyValue:m,startValue:r,currentValue:r,endValue:p,unitType:t,easing:q},g&&(j[e].pattern=g),y.debug&&console.log("tweensContainer ("+e+"): "+JSON.stringify(j[e]),a)};for(var I in s)if(s.hasOwnProperty(I)){var J=A.Names.camelCase(I),K=function(b,c){var d,f,g;return u.isFunction(b)&&(b=b.call(a,e,C)),u.isArray(b)?(d=b[0],!u.isArray(b[1])&&/^[\d-]/.test(b[1])||u.isFunction(b[1])||A.RegEx.isHex.test(b[1])?g=b[1]:u.isString(b[1])&&!A.RegEx.isHex.test(b[1])&&y.Easings[b[1]]||u.isArray(b[1])?(f=c?b[1]:l(b[1],i.duration),g=b[2]):g=b[1]||b[2]):d=b,c||(f=f||i.easing),u.isFunction(d)&&(d=d.call(a,e,C)),u.isFunction(g)&&(g=g.call(a,e,C)),[d||0,f,g]}(s[I]);if(t(A.Lists.colors,J)){var L=K[0],O=K[1],P=K[2];if(A.RegEx.isHex.test(L)){for(var Q=["Red","Green","Blue"],R=A.Values.hexToRgb(L),S=P?A.Values.hexToRgb(P):d,T=0;T<Q.length;T++){var U=[R[T]];O&&U.push(O),S!==d&&U.push(S[T]),H(J+Q[T],U)}continue}}H(J,K)}j.element=a}j.element&&(A.Values.addClass(a,"velocity-animating"),N.push(j),k=g(a),k&&(""===i.queue&&(k.tweensContainer=j,k.opts=i),k.isAnimating=!0),D===C-1?(y.State.calls.push([N,r,i,null,z.resolver,null,0]),y.State.isTicking===!1&&(y.State.isTicking=!0,m())):D++)}var h,i=o.extend({},y.defaults,v),j={};switch(g(a)===d&&y.init(a),parseFloat(i.delay)&&i.queue!==!1&&o.queue(a,i.queue,function(b){y.velocityQueueEntryFlag=!0;var c=y.State.delayedElements.count++;y.State.delayedElements[c]=a;var d=function(a){return function(){y.State.delayedElements[a]=!1,b()}}(c);g(a).delayBegin=(new Date).getTime(),g(a).delay=parseFloat(i.delay),g(a).delayTimer={setTimeout:setTimeout(b,parseFloat(i.delay)),next:d}}),i.duration.toString().toLowerCase()){case"fast":i.duration=200;break;case"normal":i.duration=w;break;case"slow":i.duration=600;break;default:i.duration=parseFloat(i.duration)||1}if(y.mock!==!1&&(y.mock===!0?i.duration=i.delay=1:(i.duration*=parseFloat(y.mock)||1,i.delay*=parseFloat(y.mock)||1)),i.easing=l(i.easing,i.duration),i.begin&&!u.isFunction(i.begin)&&(i.begin=null),i.progress&&!u.isFunction(i.progress)&&(i.progress=null),i.complete&&!u.isFunction(i.complete)&&(i.complete=null),i.display!==d&&null!==i.display&&(i.display=i.display.toString().toLowerCase(),"auto"===i.display&&(i.display=y.CSS.Values.getDisplayType(a))),i.visibility!==d&&null!==i.visibility&&(i.visibility=i.visibility.toString().toLowerCase()),i.mobileHA=i.mobileHA&&y.State.isMobile&&!y.State.isGingerbread,i.queue===!1)if(i.delay){var k=y.State.delayedElements.count++;y.State.delayedElements[k]=a;var n=function(a){return function(){y.State.delayedElements[a]=!1,f()}}(k);g(a).delayBegin=(new Date).getTime(),g(a).delay=parseFloat(i.delay),g(a).delayTimer={setTimeout:setTimeout(f,parseFloat(i.delay)),next:n}}else f();else o.queue(a,i.queue,function(a,b){if(b===!0)return z.promise&&z.resolver(r),!0;y.velocityQueueEntryFlag=!0,f(a)});""!==i.queue&&"fx"!==i.queue||"inprogress"===o.queue(a)[0]||o.dequeue(a)}var j,k,p,q,r,s,v,x=arguments[0]&&(arguments[0].p||o.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||u.isString(arguments[0].properties));u.isWrapped(this)?(k=!1,q=0,r=this,p=this):(k=!0,q=1,r=x?arguments[0].elements||arguments[0].e:arguments[0]);var z={promise:null,resolver:null,rejecter:null};if(k&&y.Promise&&(z.promise=new y.Promise(function(a,b){z.resolver=a,z.rejecter=b})),x?(s=arguments[0].properties||arguments[0].p,v=arguments[0].options||arguments[0].o):(s=arguments[q],v=arguments[q+1]),!(r=f(r)))return void(z.promise&&(s&&v&&v.promiseRejectEmpty===!1?z.resolver():z.rejecter()));var C=r.length,D=0;if(!/^(stop|finish|finishAll|pause|resume)$/i.test(s)&&!o.isPlainObject(v)){var E=q+1;v={};for(var F=E;F<arguments.length;F++)u.isArray(arguments[F])||!/^(fast|normal|slow)$/i.test(arguments[F])&&!/^\d/.test(arguments[F])?u.isString(arguments[F])||u.isArray(arguments[F])?v.easing=arguments[F]:u.isFunction(arguments[F])&&(v.complete=arguments[F]):v.duration=arguments[F]}var G;switch(s){case"scroll":G="scroll";break;case"reverse":G="reverse";break;case"pause":var H=(new Date).getTime();return o.each(r,function(a,b){h(b,H)}),o.each(y.State.calls,function(a,b){var c=!1;b&&o.each(b[1],function(a,e){var f=v===d?"":v;return f!==!0&&b[2].queue!==f&&(v!==d||b[2].queue!==!1)||(o.each(r,function(a,d){if(d===e)return b[5]={resume:!1},c=!0,!1}),!c&&void 0)})}),a();case"resume":return o.each(r,function(a,b){i(b,H)}),o.each(y.State.calls,function(a,b){var c=!1;b&&o.each(b[1],function(a,e){var f=v===d?"":v;return f!==!0&&b[2].queue!==f&&(v!==d||b[2].queue!==!1)||(!b[5]||(o.each(r,function(a,d){if(d===e)return b[5].resume=!0,c=!0,!1}),!c&&void 0))})}),a();case"finish":case"finishAll":case"stop":o.each(r,function(a,b){g(b)&&g(b).delayTimer&&(clearTimeout(g(b).delayTimer.setTimeout),g(b).delayTimer.next&&g(b).delayTimer.next(),delete g(b).delayTimer),"finishAll"!==s||v!==!0&&!u.isString(v)||(o.each(o.queue(b,u.isString(v)?v:""),function(a,b){u.isFunction(b)&&b()}),o.queue(b,u.isString(v)?v:"",[]))});var I=[];return o.each(y.State.calls,function(a,b){b&&o.each(b[1],function(c,e){var f=v===d?"":v;if(f!==!0&&b[2].queue!==f&&(v!==d||b[2].queue!==!1))return!0;o.each(r,function(c,d){if(d===e)if((v===!0||u.isString(v))&&(o.each(o.queue(d,u.isString(v)?v:""),function(a,b){u.isFunction(b)&&b(null,!0)}),o.queue(d,u.isString(v)?v:"",[])),"stop"===s){var h=g(d);h&&h.tweensContainer&&f!==!1&&o.each(h.tweensContainer,function(a,b){b.endValue=b.currentValue}),I.push(a)}else"finish"!==s&&"finishAll"!==s||(b[2].duration=1)})})}),"stop"===s&&(o.each(I,function(a,b){n(b,!0)}),z.promise&&z.resolver(r)),a();default:if(!o.isPlainObject(s)||u.isEmptyObject(s)){if(u.isString(s)&&y.Redirects[s]){j=o.extend({},v);var J=j.duration,K=j.delay||0;return j.backwards===!0&&(r=o.extend(!0,[],r).reverse()),o.each(r,function(a,b){parseFloat(j.stagger)?j.delay=K+parseFloat(j.stagger)*a:u.isFunction(j.stagger)&&(j.delay=K+j.stagger.call(b,a,C)),j.drag&&(j.duration=parseFloat(J)||(/^(callout|transition)/.test(s)?1e3:w),j.duration=Math.max(j.duration*(j.backwards?1-a/C:(a+1)/C),.75*j.duration,200)),y.Redirects[s].call(b,b,j||{},a,C,r,z.promise?z:d)}),a()}var L="Velocity: First argument ("+s+") was not a property map, a known action, or a registered redirect. Aborting.";return z.promise?z.rejecter(new Error(L)):b.console&&console.log(L),a()}G="start"}var M={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},N=[];o.each(r,function(a,b){u.isNode(b)&&e(b,a)}),j=o.extend({},y.defaults,v),j.loop=parseInt(j.loop,10);var O=2*j.loop-1;if(j.loop)for(var P=0;P<O;P++){var Q={delay:j.delay,progress:j.progress};P===O-1&&(Q.display=j.display,Q.visibility=j.visibility,Q.complete=j.complete),B(r,"reverse",Q)}return a()};y=o.extend(B,y),y.animate=B;var C=b.requestAnimationFrame||q;if(!y.State.isMobile&&c.hidden!==d){var D=function(){c.hidden?(C=function(a){return setTimeout(function(){a(!0)},16)},m()):C=b.requestAnimationFrame||q};D(),c.addEventListener("visibilitychange",D)}return a.Velocity=y,a!==b&&(a.fn.velocity=B,a.fn.velocity.defaults=y.defaults),o.each(["Down","Up"],function(a,b){y.Redirects["slide"+b]=function(a,c,e,f,g,h){var i=o.extend({},c),j=i.begin,k=i.complete,l={},m={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""};i.display===d&&(i.display="Down"===b?"inline"===y.CSS.Values.getDisplayType(a)?"inline-block":"block":"none"),i.begin=function(){0===e&&j&&j.call(g,g);for(var c in m)if(m.hasOwnProperty(c)){l[c]=a.style[c];var d=A.getPropertyValue(a,c);m[c]="Down"===b?[d,0]:[0,d]}l.overflow=a.style.overflow,a.style.overflow="hidden"},i.complete=function(){for(var b in l)l.hasOwnProperty(b)&&(a.style[b]=l[b]);e===f-1&&(k&&k.call(g,g),h&&h.resolver(g))},y(a,m,i)}}),o.each(["In","Out"],function(a,b){y.Redirects["fade"+b]=function(a,c,e,f,g,h){var i=o.extend({},c),j=i.complete,k={opacity:"In"===b?1:0};0!==e&&(i.begin=null),i.complete=e!==f-1?null:function(){j&&j.call(g,g),h&&h.resolver(g)},i.display===d&&(i.display="In"===b?"auto":"none"),y(this,k,i)}}),y}(window.jQuery||window.Zepto||window,window,window?window.document:undefined)});
\ No newline at end of file
! function () {
window.IndexController = {
apiUrl: window.location.host == "btv.liexin.com" ? "https://api.ichunt.com" : "http://api.liexin.com",
init: function () {
this.credted(this).map(this).handleBind(this);
},
credted: function (opt) {
this.getData();
this.getTime();
//一天更新数据一次
setInterval(function () {
history.go(0);
}, 86400000);
return this;
},
maps: function () {
var myChart = echarts.init(document.getElementById('map'));
var option = {
tooltip: {
// show: false //不显示提示标签
formatter: '{b}', //提示标签格式
backgroundColor: "#ff7f50", //提示标签背景颜色
textStyle: {
color: "#fff"
} //提示标签字体颜色
},
series: [{
type: 'map',
mapType: 'china',
label: {
normal: {
show: false, //显示省份标签
textStyle: {
color: "#c71585"
} //省份标签字体颜色
},
emphasis: { //对应的鼠标悬浮效果
show: true,
textStyle: {
color: "#800080"
}
}
},
itemStyle: {
normal: {
borderWidth: .5, //区域边框宽度
borderColor: '#009fe8', //区域边框颜色
areaColor: "#fff", //区域颜色
},
emphasis: {
borderWidth: .5,
borderColor: '#4b0082',
areaColor: "#ffdead",
}
},
data: [{
} //福建为选中状态
]
}],
};
myChart.setOption(option);
myChart.on('mouseover', function (params) {
var dataIndex = params.dataIndex;
console.log(params);
});
},
map: function () {
var myChart = echarts.init(document.getElementById('map'));
var planePath = 'path://M250 150 L150 350 L350 350 Z';
var chinaGeoCoordMap = {
'黑龙江': [127.9688, 45.368],
'内蒙古': [110.3467, 41.4899],
"吉林": [125.8154, 44.2584],
'北京市': [116.4551, 40.2539],
"辽宁": [123.1238, 42.1216],
"河北": [114.4995, 38.1006],
"天津": [117.4219, 39.4189],
"山西": [112.3352, 37.9413],
"陕西": [109.1162, 34.2004],
"甘肃": [103.5901, 36.3043],
"宁夏": [106.3586, 38.1775],
"青海": [101.4038, 36.8207],
"新疆": [87.9236, 43.5883],
"西藏": [91.11, 29.97],
"四川": [103.9526, 30.7617],
"重庆": [108.384366, 30.439702],
"山东": [117.1582, 36.8701],
"河南": [113.4668, 34.6234],
"江苏": [118.8062, 31.9208],
"安徽": [117.29, 32.0581],
"湖北": [114.3896, 30.6628],
"浙江": [119.5313, 29.8773],
"福建": [119.4543, 25.9222],
"江西": [116.0046, 28.6633],
"湖南": [113.0823, 28.2568],
"贵州": [106.6992, 26.7682],
"云南": [102.9199, 25.4663],
"深圳": [113.12244, 23.009505],
"广西": [108.479, 23.1152],
"海南": [110.3893, 19.8516],
'上海': [121.4648, 31.2891]
};
var chinaDatas = [
[{
name: '黑龙江',
value: 0
}],
[{
name: '内蒙古',
value: 0
}],
[{
name: '吉林',
value: 0
}],
[{
name: '辽宁',
value: 0
}],
[{
name: '河北',
value: 0
}],
[{
name: '天津',
value: 0
}],
[{
name: '山西',
value: 0
}],
[{
name: '陕西',
value: 0
}],
[{
name: '甘肃',
value: 0
}],
[{
name: '宁夏',
value: 0
}],
[{
name: '青海',
value: 0
}],
[{
name: '新疆',
value: 0
}],
[{
name: '西藏',
value: 0
}],
[{
name: '四川',
value: 0
}],
[{
name: '重庆',
value: 0
}],
[{
name: '山东',
value: 0
}],
[{
name: '河南',
value: 0
}],
[{
name: '江苏',
value: 0
}],
[{
name: '安徽',
value: 0
}],
[{
name: '湖北',
value: 0
}],
[{
name: '浙江',
value: 0
}],
[{
name: '福建',
value: 0
}],
[{
name: '江西',
value: 0
}],
[{
name: '湖南',
value: 0
}],
[{
name: '贵州',
value: 0
}],
[{
name: '广西',
value: 0
}],
[{
name: '深圳',
value: 0
}],
[{
name: '海南',
value: 0
}],
[{
name: '上海',
value: 0
}]
];
var convertData = function (data) {
var res = [];
for (var i = 0; i < data.length; i++) {
var dataItem = data[i];
var fromCoord = [113.12244, 23.009505];
var toCoord = chinaGeoCoordMap[dataItem[0].name];
if (fromCoord && toCoord) {
res.push([{
coord: fromCoord,
value: dataItem[0].value
}, {
coord: toCoord,
}]);
}
}
return res;
};
var series = [];
[
['深圳', chinaDatas]
].forEach(function (item, i) {
console.log(item)
series.push({
type: 'lines',
zlevel: 2,
effect: {
show: true,
period: 6, //箭头指向速度,值越小速度越快
trailLength: 0, //特效尾迹长度[0,1]值越大,尾迹越长重
symbol: planePath, //箭头图标
symbolSize: 8, //图标大小
},
lineStyle: {
normal: {
color: "#ffb43f",
// 线条宽度
type: 'dotted',
width: 2,
opacity: 0.6,
curveness: 0.2
}
},
label: {
normal: {
show: false,
position: 'middle',
formatter: '{b}'
}
},
data: convertData(item[1])
}, {
type: 'effectScatter',
coordinateSystem: 'geo',
zlevel: 2,
rippleEffect: {
//涟漪特效
color: '#ffb43f', //涟漪的颜色
period: 4, //动画时间,值越小速度越快
brushType: "stroke", //波纹绘制方式 stroke, fill
scale: 4 //波纹圆环最大限制,值越大波纹越大
},
label: {
normal: {
show: false,
position: 'right', //显示位置
offset: [5, 0], //偏移设置
formatter: function (params) { //圆环显示文字
return params.data.name;
},
fontSize: 13
},
emphasis: {
show: true
}
},
symbol: 'circle',
symbolSize: 10,
itemStyle: {
normal: {
show: false,
color: "#f4c509",
borderColor: "#f4c509"
}
},
data: item[1].map(function (dataItem) {
return {
name: dataItem[0].name,
value: chinaGeoCoordMap[dataItem[0].name].concat([dataItem[0].value])
};
}),
},
//被攻击点
{
type: 'scatter',
coordinateSystem: 'geo',
zlevel: 2,
rippleEffect: {
period: 4,
brushType: 'stroke',
scale: 4
},
label: {
normal: {
show: true,
position: 'right',
//offset:[5, 0],
color: '#00ffff',
formatter: '{b}',
textStyle: {
color: "#0bc7f3"
}
},
emphasis: {
show: true
}
},
symbol: 'circle',
symbolSize: 15,
data: [{
name: item[0],
value: chinaGeoCoordMap[item[0]].concat([10]),
}],
}
);
});
var option = {
tooltip: {
trigger: 'item',
},
geo: {
map: 'china',
label: {
emphasis: {
show: false
}
},
zoom: 0.98,
layoutCenter: ["50%", "51%"], //地图位置
layoutSize: "100%",
itemStyle: {
normal: {
color: 'rgba(51, 69, 89, .5)', //地图背景色
borderColor: '#516a89', //省市边界线00fcff 516a89
borderWidth: .5, //区域边框宽度
opacity: 0
},
emphasis: {
color: 'rgba(37, 43, 61, .5)' //悬浮背景
}
}
},
series: series
};
myChart.setOption(option)
return this;
},
timeFormat: function () {
var day = new Date();
day.setTime(day.getTime() - 24 * 60 * 60 * 1000);
return day.getFullYear() + "-" + ((day.getMonth() + 1) < 10 ? ('0' + (day.getMonth() + 1)) : (day.getMonth() + 1)) + "-" + ((day.getDate() < 10 ? ('0' + day.getDate()) : day.getDate()));
},
getTime: function () {
var week = new Array("日", "一", "二", "三", "四", "五", "六");
var now = new Date();
var year = now.getFullYear();
var month = now.getMonth() + 1;
var day = now.getDate();
var weekDay = now.getDay();
$("#indexDate").html("今天是:" + year + "年" + (month < 10) ? ('0' + month) : month + "月" + day + "日" + "&nbsp;" + week[weekDay]);
$("#year").text(year);
$("#month").text((month < 10) ? ('0' + month) : month);
$("#day").text((day < 10) ? ('0' + day) : day);
$("#week").text(week[weekDay]);
$.ajax({
url: "http://wthrcdn.etouch.cn/weather_mini?city=深圳",
dataType: 'json',
type: "get",
success: function (res) {
$("#wendu").text(res.data.wendu + "℃");
}
})
setInterval(function () {
var myDate = new Date;
var h = myDate.getHours();
if (h < 10) {
h = "0" + h
}
var m = myDate.getMinutes();
if (m < 10) {
m = "0" + m
}
var s = myDate.getSeconds();
if (s < 10) {
s = "0" + s
}
$("#time").html(h + ":" + m + ":" + s);
}, 1000)
},
getEcharts: function (type, xAxis, series) {
if (type == 1) {
let myChart = echarts.init(document.getElementById('daily_pv'));
let option = {
grid: {
x: 35,
y: 55,
x2: 25,
y2: 40
},
xAxis: {
type: 'category',
data: xAxis,
show: true,
axisLabel: {
interval: 0,
textStyle: {
color: "#96bcf6",
fontSize: 12
}
},
axisLine: {
lineStyle: {
color: '#114595'
}
}
},
yAxis: {
show: false,
type: 'value'
},
series: [{
data: series,
type: 'bar',
barWidth: 25,
label: {
normal: {
show: true,
position: 'top',
color: '#96bcf6'
}
},
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
offset: 0,
color: '#25a9ab'
}, {
offset: 1,
color: '#4071ff'
}])
}
}
}]
};
myChart.setOption(option);
} else if (type == 2) {
let myChart = echarts.init(document.getElementById('daily_order_users'));
let option = {
grid: {
x: 35,
y: 55,
x2: 25,
y2: 40
},
xAxis: {
type: 'category',
data: xAxis,
show: true,
axisLabel: {
interval: 0,
textStyle: {
color: "#96bcf6",
fontSize: 12
}
},
axisLine: {
lineStyle: {
color: '#114595'
}
}
},
yAxis: {
show: false,
type: 'value'
},
series: [{
data: series,
type: 'bar',
barWidth: 25,
label: {
normal: {
show: true,
position: 'top',
color: '#96bcf6'
}
},
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
offset: 0,
color: '#613cff'
}, {
offset: 1,
color: '#d745bd'
}])
}
}
}]
};
myChart.setOption(option);
} else if (type == 3) {
let myChart = echarts.init(document.getElementById('daily_active_users'));
let option = {
grid: {
x: 65,
y: 65,
x2: 25,
y2: 20
},
xAxis: {
show: false,
type: 'value',
splitLine: {
show: false
}
},
yAxis: {
show: true,
type: 'category',
data: xAxis,
boundaryGap: ['20%', '20%'],
axisLabel: {
interval: 0,
textStyle: {
color: "#96bcf6",
fontSize: 12
}
},
splitLine: {
show: false
},
axisLine: {
lineStyle: {
color: '#114595'
}
}
},
series: [{
data: series,
type: 'bar',
barWidth: 13,
label: {
normal: {
show: true,
position: 'right',
color: '#96bcf6'
}
},
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(1, 0, 0, 0, [{
offset: 0,
color: '#ff6a9b'
}, {
offset: 1,
color: '#e43737'
}])
}
}
}]
};
myChart.setOption(option);
} else if (type == 4) {
let myChart = echarts.init(document.getElementById('daily_order'));
let option = {
grid: {
x: 65,
y: 65,
x2: 25,
y2: 20
},
xAxis: {
show: false,
type: 'value',
splitLine: {
show: false
}
},
yAxis: {
show: true,
type: 'category',
data: xAxis,
boundaryGap: ['20%', '20%'],
axisLabel: {
interval: 0,
textStyle: {
color: "#96bcf6",
fontSize: 12
}
},
splitLine: {
show: false
},
axisLine: {
lineStyle: {
color: '#114595'
}
}
},
series: [{
data: series,
type: 'bar',
barWidth: 13,
label: {
normal: {
show: true,
position: 'right',
color: '#96bcf6'
}
},
itemStyle: {
normal: {
color: new echarts.graphic.LinearGradient(1, 0, 0, 0, [{
offset: 0,
color: '#d7a545'
}, {
offset: 1,
color: '#ee5d23'
}])
}
}
}]
};
myChart.setOption(option);
} else if (type == 5) {
let myChart = echarts.init(document.getElementById('customer_application'));
let option = {
grid: {
x: 35,
y: 55,
x2: 25,
y2: 40
},
tooltip: {
trigger: 'item'
},
legend: {
bottom: '20',
textStyle: {
color: "#96bcf6"
}
},
series: [{
type: 'pie',
radius: ['30%', '55%'],
avoidLabelOverlap: false,
itemStyle: {
borderRadius: 5,
borderColor: '#001e54',
borderWidth: 2
},
center: ['50%', '45%'],
label: {
show: false,
position: 'center'
},
emphasis: {
label: {
show: true,
fontSize: '40',
fontWeight: 'bold'
}
},
data: xAxis
}]
};
myChart.setOption(option);
}
},
getData: function () {
var time = IndexController.timeFormat();
$.ajax({
type: "GET",
url: IndexController.apiUrl + "/bigtv/api/bigtvtwo",
data: {
date: time
},
dataType: 'json',
success: function (res) {
$("#group_num").html(res.group_num); //社群覆盖用户数
$("#public_fans_num").html(res.public_fans_num); //公众号粉丝总数
$("#year_read_num").html(res.year_read_num); //月度阅读量
$("#banner_sun_num").html(res.banner_sun_num); //Banner年度曝光次数
$("#yunyin_pubilc").html(res.yunyin_pubilc); //标题
//日均访问量PV
if (res.daily_pv.length > 0) {
let xAxis = [];
let series = [];
for (let i = 0; i < res.daily_pv.length; i++) {
for (let v in res.daily_pv[i]) {
xAxis.push(v);
series.push(res.daily_pv[i][v]);
}
}
IndexController.getEcharts(1, xAxis, series);
}
//日均下单用户
if (res.daily_order_users.length > 0) {
let xAxis = [];
let series = [];
for (let i = 0; i < res.daily_order_users.length; i++) {
for (let v in res.daily_order_users[i]) {
xAxis.push(v);
series.push(res.daily_order_users[i][v]);
}
}
IndexController.getEcharts(2, xAxis, series);
}
//日均活跃用户
if (res.daily_active_users.length > 0) {
let xAxis = [];
let series = [];
for (let i = 0; i < res.daily_active_users.length; i++) {
for (let v in res.daily_active_users[i]) {
xAxis.push(v);
series.push(res.daily_active_users[i][v]);
}
}
IndexController.getEcharts(3, xAxis, series);
}
//日均订单数
if (res.daily_order.length > 0) {
let xAxis = []
let series = [];
for (let i = 0; i < res.daily_order.length; i++) {
for (let v in res.daily_order[i]) {
xAxis.push(v);
series.push(res.daily_order[i][v]);
IndexController.getEcharts(4, xAxis, series);
}
}
}
//客户分布应用领域
if (res.customer_application.length > 0) {
let arr = [];
for (let i = 0; i < res.customer_application.length; i++) {
for (let v in res.customer_application[i]) {
arr.push({
value: res.customer_application[i][v],
name: v
});
}
}
IndexController.getEcharts(5, arr);
}
}
});
},
handleBind: function (opt) {
return this;
}
}, $(function () {
IndexController.init();
})
}();
\ No newline at end of file
File mode changed
...@@ -10,469 +10,93 @@ ...@@ -10,469 +10,93 @@
<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1; user-scalable=0;"> <meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1; user-scalable=0;">
<meta name="baidu-site-verification" content="B1YyUdsoGu"> <meta name="baidu-site-verification" content="B1YyUdsoGu">
<title></title> <title></title>
<link type="favicon" rel="shortcut icon" href="favicon.ico"/> <link type="favicon" rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="./css/vis/index.min.css?1111111111"/> <link rel="stylesheet" type="text/css" href="./css/vis/index.css" />
</head> </head>
<body> <body>
<div class="home-page"> <div id="app">
<div class="top"> <!-- 头部 -->
<div class="head">
<p class="date-text row verCenter"> <p class="date-text row verCenter">
<span class="number" id="year"></span> <span class="number" id="year"></span>
<span></span> <span>&nbsp;&nbsp;</span>
<span class="number" id="month"></span> <span class="number" id="month"></span>
<span></span> <span>&nbsp;&nbsp;</span>
<span class="number" id="day"></span> <span class="number" id="day"></span>
<span></span> <span class="mr">&nbsp;&nbsp;</span>
<span style="margin-left: 5px;">星期</span> <span>星期</span>
<span class="number" id="week"></span> <span class="number" id="week"></span>
</p> </p>
<p class="date-wether row verCenter"> <p class="date-wether row verCenter">
<span>北京时间</span> <span>北京时间&nbsp;&nbsp;</span>
<span class="number" id="time">00:00:00</span> <span class="color" id="time">00:00:00</span>
<span class="ml">深圳</span> <span class="ml">深圳&nbsp;&nbsp;</span>
<span class="number" id="wendu"></span> <span class="color" id="wendu"></span>
</p> </p>
<i class="i1"></i> <span class="title"></span>
</div> </div>
<!-- 数据显示区域 -->
<div class="section row bothSide">
<div class="data-left"> <div class="data-left">
<div class="box1 boxsiz mb"> <div class="box mb47">
<p class="tit row rowCenter verCenter">日均访问量PV (2016-2021)</p> <div class="echarts" id="daily_pv"></div>
<div class="bar boxsiz" id="daily_pv" style="width: 480px; height: 255px;"></div> <b class="title row rowCenter verCenter">日均访问量PV (2016-2022)</b>
</div> </div>
<div class="box2 boxsiz mb"> <div class="box mb47">
<p class="tit row rowCenter verCenter">日均活跃用户 (2016-2021)</p> <div class="echarts" id="daily_active_users"></div>
<div class="bar boxsiz" id="daily_active_users" style="width: 480px;height:255px;"></div> <b class="title row rowCenter verCenter">日均活跃用户 (2016-2022)</b>
</div> </div>
<div class="box3 boxsiz"> <div class="boxs">
<p class="tit row rowCenter verCenter">客户分布应用领域</p> <div class="echarts" id="customer_application"></div>
<div class="boxsiz" id="customer_application" style="height: 314px;"></div> <b class="title row rowCenter verCenter">客户分布应用领域</b>
</div> </div>
</div> </div>
<div class="data-right"> <div class="data-right">
<div class="box1 boxsiz mb"> <div class="box mb47">
<p class="tit row rowCenter verCenter">日均下单用户 (2016-2021)</p> <div class="echarts" id="daily_order_users"></div>
<div class="bar boxsiz" id="daily_order_users" style="width: 480px;height: 255px;"></div> <b class="title row rowCenter verCenter">日均下单用户 (2016-2022)</b>
</div> </div>
<div class="box2 boxsiz"> <div class="box mb20">
<p class="tit row rowCenter verCenter">日均订单数 (2016-2021)</p> <div class="echarts" id="daily_order"></div>
<div class="bar boxsiz" id="daily_order" style="width: 480px;height: 255px;"></div> <b class="title row rowCenter verCenter">日均订单数 (2016-2022)</b>
</div> </div>
<div class="box3 boxsiz"> <div class="boxs media">
<p class="t1">运营中公众号:</p> <p class="t1">猎芯旗下自媒体:</p>
<p class="t2" id="yunyin_pubilc">公众号</p> <p class="t2 row rowCenter verCenter" id="yunyin_pubilc"></p>
<ul class="text row boxsiz"> <ul class="num-box row">
<li> <li class="column rowCenter verCenter">
<p class="t3">公众号粉丝总数:</p> <i class="ico-1"></i>
<p class="t4" id="public_fans_num">0000</p> <p class="p1">公众号粉丝总数</p>
<p class="p2" id="public_fans_num"></p>
</li> </li>
<li> <li class="column rowCenter verCenter">
<p class="t3">社群覆盖用户数:</p> <i class="ico-2"></i>
<p class="t4" id="group_num">0000</p> <p class="p1">社群覆盖用户数</p>
<p class="p2" id="group_num"></p>
</li> </li>
<li> <li class="column rowCenter verCenter">
<p class="t3">Banner年度曝光次数:</p> <i class="ico-3"></i>
<p class="t4" id="banner_sun_num">0000</p> <p class="p1">Banner年度曝光次数</p>
<p class="p2" id="banner_sun_num"></p>
</li> </li>
<li> <li class="column rowCenter verCenter">
<p class="t3">月度阅读量:</p> <i class="ico-4"></i>
<p class="t4" id="year_read_num">0000</p> <p class="p1">月度阅读量</p>
<p class="p2" id="year_read_num"></p>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
<div class="map-box">
<img src="./images/map2.png" alt="">
<!--深圳-->
<div class="star star1"><span class="twinkle"></span></div>
<!--广东省-->
<div class="star star2"><span class="twinkle"></span></div>
<!--江苏省-->
<div class="star star3"><span class="twinkle"></span></div>
<!--北京市-->
<div class="star star4"><span class="twinkle"></span></div>
<!--上海市-->
<div class="star star5"><span class="twinkle"></span></div>
<!--浙江省-->
<div class="star star6"><span class="twinkle"></span></div>
<!--安徽省-->
<div class="star star7"><span class="twinkle"></span></div>
<!--山东省-->
<div class="star star8"><span class="twinkle"></span></div>
<!--四川省-->
<div class="star star9"><span class="twinkle"></span></div>
<!--河南省-->
<div class="star star10"><span class="twinkle"></span></div>
<!--湖北省-->
<div class="star star11"><span class="twinkle"></span></div>
<!--陕西-->
<div class="star star12"><span class="twinkle"></span></div>
<!--福建省-->
<div class="star star13"><span class="twinkle"></span></div>
<!--湖南省-->
<div class="star star14"><span class="twinkle"></span></div>
<!--河北省-->
<div class="star star15"><span class="twinkle"></span></div>
<!--辽宁省-->
<div class="star star16"><span class="twinkle"></span></div>
<!--天津市-->
<div class="star star17"><span class="twinkle"></span></div>
<!--重庆市-->
<div class="star star18"><span class="twinkle"></span></div>
<!--香港-->
<div class="star star19"><span class="twinkle"></span></div>
<!--江西省-->
<div class="star star20"><span class="twinkle"></span></div>
<!--黑龙江-->
<div class="star star21"><span class="twinkle"></span></div>
<!--广西省-->
<div class="star star22"><span class="twinkle"></span></div>
<!--山西省-->
<div class="star star23"><span class="twinkle"></span></div>
<!--吉林省-->
<div class="star star24"><span class="twinkle"></span></div>
<!--甘肃省-->
<div class="star star25"><span class="twinkle"></span></div>
<a href="javascript:;" class="show-btn row rowCenter verCenter">客户分布</a>
</div> </div>
</div> <!-- 地图区域 -->
<div class="map" id="map"></div>
<script type="text/javascript" src="js/jquery.min.js"></script> <a href="javascript:;" class="btn row rowCenter verCenter">客户分布</a>
<script type="text/javascript" src="js/echarts.min.js"></script> </div>
<script type="text/javascript"> <script type="text/javascript" src="js/jquery.min.js"></script>
var charts = { <script type="text/javascript" src="js/echarts.min.js"></script>
date: "", <script type="text/javascript" src="js/map/js/china.js"></script>
api: window.location.host == "btv.ichunt.com" ? "https://api.ichunt.com" : "https://api.ichunt.com", <script type="text/javascript" src="js/vis/index.js"></script>
init: function () {
charts.date();
charts.getData();
//一天更新数据一次
setInterval(function () {
history.go(0)
}, 86400000);
},
getEcharts: function (type, xAxis, series) {
if (type == 1) {
let myChart = echarts.init(document.getElementById('daily_pv'));
let option = {
xAxis: {
type: 'category',
data: xAxis,
axisLabel: {
interval: 0,
textStyle: {
color: "#25a9ab",
fontSize: 12
}
},
axisLine: {
lineStyle: {
color: '#25a9ab'
}
}
},
yAxis: {
show: false,
type: 'value'
},
series: [{
data: series,
type: 'bar',
barWidth: 25,
itemStyle: {
normal: {
color: '#25a9ab'
}
},
}]
}
;
myChart.setOption(option);
} else if (type == 2
) {
let myChart = echarts.init(document.getElementById('daily_active_users'));
let option = {
xAxis: {
type: 'category',
data: xAxis,
axisLabel: {
interval: 0,
textStyle: {
color: "#de6e6a",
fontSize: 12
}
},
axisLine: {
lineStyle: {
color: '#de6e6a'
}
}
},
yAxis: {
show: false,
type: 'value'
},
series: [{
data: series,
type: 'bar',
barWidth: 25,
itemStyle: {
normal: {
color: '#de6e6a'
}
},
}]
};
myChart.setOption(option);
} else if (type == 3) {
let myChart = echarts.init(document.getElementById('daily_order_users'));
let option = {
xAxis: {
type: 'category',
data: xAxis,
axisLabel: {
interval: 0,
textStyle: {
color: "#5da6f1",
fontSize: 12
}
},
axisLine: {
lineStyle: {
color: '#5da6f1'
}
}
},
yAxis: {
show: false,
type: 'value'
},
series: [{
data: series,
type: 'bar',
barWidth: 25,
itemStyle: {
normal: {
color: '#5da6f1'
}
},
}]
};
myChart.setOption(option);
} else if (type == 4) {
let myChart = echarts.init(document.getElementById('daily_order'));
let option = {
xAxis: {
type: 'category',
data: xAxis,
axisLabel: {
interval: 0,
textStyle: {
color: "#d7a545",
fontSize: 12
}
},
axisLine: {
lineStyle: {
color: '#d7a545'
}
}
},
yAxis: {
show: false,
type: 'value'
},
series: [{
data: series,
type: 'bar',
barWidth: 25,
itemStyle: {
normal: {
color: '#d7a545'
}
},
}]
};
myChart.setOption(option);
} else if (type == 5) {
let myChart = echarts.init(document.getElementById('customer_application'));
let option = {
tooltip: {
trigger: 'item'
},
legend: {
bottom: 'left',
textStyle: {
color: "#96bcf6"
}
},
series: [
{
type: 'pie',
radius: ['30%', '60%'],
avoidLabelOverlap: false,
itemStyle: {
borderRadius: 5,
borderColor: '#001e54',
borderWidth: 2
},
label: {
show: false,
position: 'center'
},
emphasis: {
label: {
show: true,
fontSize: '40',
fontWeight: 'bold'
}
},
labelLine: {
show: false
},
data: xAxis
}
]
};
myChart.setOption(option);
}
},
getData: function () {
$.ajax({
type: "GET",
url: charts.api + "/bigtv/api/bigtvtwo",
data: {date: charts.date},
dataType: 'json',
success: function (res) {
$("#group_num").html(res.group_num);
$("#public_fans_num").html(res.public_fans_num);
$("#year_read_num").html(res.year_read_num);
$("#banner_sun_num").html(res.banner_sun_num);
$("#yunyin_pubilc").html(res.yunyin_pubilc);
//日均访问量PV
if (res.daily_pv.length > 0) {
let xAxis = [], series = [];
for (let i = 0; i < res.daily_pv.length; i++) {
for (let v in res.daily_pv[i]) {
xAxis.push(v);
series.push(res.daily_pv[i][v]);
charts.getEcharts(1, xAxis, series);
}
}
}
//日均活跃用户
if (res.daily_active_users.length > 0) {
let xAxis = [], series = [];
for (let i = 0; i < res.daily_active_users.length; i++) {
for (let v in res.daily_active_users[i]) {
xAxis.push(v);
series.push(res.daily_active_users[i][v]);
charts.getEcharts(2, xAxis, series);
}
}
}
//客户分布应用领域
/* data: [
{value: 1048, name: '搜索引擎'},
{value: 735, name: '直接访问'},
{value: 580, name: '邮件营销'},
{value: 484, name: '联盟广告'},
{value: 300, name: '视频广告'}
]*/
if (res.customer_application.length > 0) {
let arr = [];
for (let i = 0; i < res.customer_application.length; i++) {
for (let v in res.customer_application[i]) {
arr.push({
value: res.customer_application[i][v],
name: v
});
charts.getEcharts(5, arr);
}
}
}
//日均下单用户
if (res.daily_order_users.length > 0) {
let xAxis = [], series = [];
for (let i = 0; i < res.daily_order_users.length; i++) {
for (let v in res.daily_order_users[i]) {
xAxis.push(v);
series.push(res.daily_order_users[i][v]);
charts.getEcharts(3, xAxis, series);
}
}
}
//日均订单数
if (res.daily_order.length > 0) {
let xAxis = [], series = [];
for (let i = 0; i < res.daily_order.length; i++) {
for (let v in res.daily_order[i]) {
xAxis.push(v);
series.push(res.daily_order[i][v]);
charts.getEcharts(4, xAxis, series);
}
}
}
}
});
}
,
date: function () {
var day1 = new Date();
day1.setTime(day1.getTime() - 24 * 60 * 60 * 1000);
charts.date = day1.getFullYear() + "-" + ((day1.getMonth() + 1) < 10 ? ('0' + (day1.getMonth() + 1)) : (day1.getMonth() + 1)) + "-" + ((day1.getDate() < 10 ? ('0' + day1.getDate()) : day1.getDate()));
var week = new Array("日", "一", "二", "三", "四", "五", "六");
var now = new Date();
var year = now.getFullYear();
var month = now.getMonth() + 1;
var day = now.getDate();
var weekDay = now.getDay();
$("#indexDate").html("今天是:" + year + "年" + (month < 10) ? ('0' + month) : month + "月" + day + "日" + "&nbsp;" + week[weekDay]);
$("#year").text(year);
$("#month").text((month < 10) ? ('0' + month) : month);
$("#day").text((day < 10) ? ('0' + day) : day);
$("#week").text(week[weekDay]);
$.ajax({
url: "http://wthrcdn.etouch.cn/weather_mini?city=深圳",
dataType: 'json',
type: "get",
success: function (res) {
$("#wendu").text(res.data.wendu + "℃");
}
});
setInterval(function () {
var myDate = new Date;
var h = myDate.getHours();
if (h < 10) {
h = "0" + h
}
var m = myDate.getMinutes();
if (m < 10) {
m = "0" + m
}
var s = myDate.getSeconds();
if (s < 10) {
s = "0" + s
}
$("#time").html(h + ":" + m + ":" + s);
}, 1000)
}
,
}
charts.init()
</script>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment