提交 c1a7a2b8 作者: 武宏岩

优化圆环

上级 636e86ab
...@@ -121,11 +121,13 @@ ...@@ -121,11 +121,13 @@
<div class="introduce_box wow animated fadeInUp"> <div class="introduce_box wow animated fadeInUp">
<div class="market"> <div class="market">
<div class="circleProgress_wrapper"> <div class="circleProgress_wrapper">
<div class="rightcircle_on"></div>
<div class="wrapper right"> <div class="wrapper right">
<div class="circleProgress rightcircle"></div> <div class="circleProgress rightcircle"><div class="rightcircle_right"></div></div>
</div> </div>
<div class="wrapper left"> <div class="wrapper left">
<div class="circleProgress leftcircle"></div> <div class="circleProgress leftcircle"><div class="leftcircle_left"></div></div>
</div> </div>
</div> </div>
<div class="text"> <div class="text">
......
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
-webkit-transform: rotate(-135deg); -webkit-transform: rotate(-135deg);
} }
100%{ 100%{
-webkit-transform: rotate(-10deg); -webkit-transform: rotate(-15deg);
} }
} }
.circleProgress_wrapper .right{ .circleProgress_wrapper .right{
...@@ -266,6 +266,32 @@ ...@@ -266,6 +266,32 @@
.circleProgress_wrapper .left{ .circleProgress_wrapper .left{
left:0px; left:0px;
} }
.rightcircle_on{
position:absolute;
left:213px;
top:0px;
width:20px;
height:20px;
background:url(../images/yuan.png) no-repeat;
z-index: 10;
}
.rightcircle_right{
position:absolute;
left:342px;
top:335px;
width:20px;
height:20px;
background:url(../images/yuan.png) no-repeat;
}
.leftcircle_left{
display:none;
position:absolute;
left:43px;
top:40px;
width:20px;
height:20px;
background:url(../images/yuan.png) no-repeat;
}
/* 圈内文字 */ /* 圈内文字 */
.text{ .text{
width: 100%; width: 100%;
......
...@@ -17,6 +17,9 @@ window.onscroll=function(){ ...@@ -17,6 +17,9 @@ window.onscroll=function(){
if(num==85){ if(num==85){
clearInterval(t); clearInterval(t);
} }
if(num>40){
$(".leftcircle_left").show()
}
},25); },25);
aaa = false; aaa = false;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论