mirror of
https://github.com/wu736139669/vczero.github.io.git
synced 2026-08-05 06:23:38 +00:00
change canvas to dom
This commit is contained in:
+42
-30
@@ -141,7 +141,7 @@ html body {
|
|||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
.tools_items>div:last-child {
|
.tools_items>div:last-child {
|
||||||
margin-top: -1px;
|
margin-top: 1px;
|
||||||
}
|
}
|
||||||
.tools_items i {
|
.tools_items i {
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
@@ -228,15 +228,14 @@ html body {
|
|||||||
clear: both;
|
clear: both;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 70px;
|
height: 70px;
|
||||||
color: #999999;
|
|
||||||
}
|
}
|
||||||
.speed_data>div {
|
.speed_data>div {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
.speed_title_strong {
|
.speed_title_strong {
|
||||||
color: #0091FF;
|
color: #0091FF;
|
||||||
font-size: 13px;
|
font-size: 15px;
|
||||||
font-style: italic;
|
/*font-style: italic;*/
|
||||||
}
|
}
|
||||||
.speed_l {
|
.speed_l {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
@@ -251,7 +250,7 @@ html body {
|
|||||||
left: 10px;
|
left: 10px;
|
||||||
top: 110px;
|
top: 110px;
|
||||||
width: 45px;
|
width: 45px;
|
||||||
min-height: 220px;
|
min-height: 190px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
@@ -264,39 +263,44 @@ html body {
|
|||||||
}
|
}
|
||||||
.router_line {
|
.router_line {
|
||||||
width: 2px;
|
width: 2px;
|
||||||
height: 200px;
|
height: 180px;
|
||||||
background-color: #E82D00;
|
background-color: #E82D00;
|
||||||
margin-left: 33px;
|
margin-left: 33px;
|
||||||
margin-top: 10px;
|
margin-top: 6px;
|
||||||
FILTER: progid: DXImageTransform.Microsoft.Gradient(gradientType=0, startColorStr=#E82D00, endColorStr=#FFAE01);
|
FILTER: progid: DXImageTransform.Microsoft.Gradient(gradientType=0, startColorStr=#E82D00, endColorStr=#FFAE01);
|
||||||
/* IE 10 */
|
/* IE 10 */
|
||||||
background: -ms-linear-gradient(top, #E82D00, #FFAE01 );
|
|
||||||
|
background: -ms-linear-gradient(top, #E82D00, #FFAE01);
|
||||||
/*firefox*/
|
/*firefox*/
|
||||||
|
|
||||||
background: -moz-linear-gradient(top, #E82D00, #FFAE01);
|
background: -moz-linear-gradient(top, #E82D00, #FFAE01);
|
||||||
/*google*/
|
/*google*/
|
||||||
|
|
||||||
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E82D00), to(#FFAE01));
|
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E82D00), to(#FFAE01));
|
||||||
/* Safari 4-5, Chrome 1-9*/
|
/* Safari 4-5, Chrome 1-9*/
|
||||||
|
|
||||||
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E82D00), to(#FFAE01));
|
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#E82D00), to(#FFAE01));
|
||||||
/*Safari5.1 Chrome 10+*/
|
/*Safari5.1 Chrome 10+*/
|
||||||
|
|
||||||
background: -webkit-linear-gradient(top, #E82D00, #FFAE01);
|
background: -webkit-linear-gradient(top, #E82D00, #FFAE01);
|
||||||
/*Opera 11.10+*/
|
/*Opera 11.10+*/
|
||||||
|
|
||||||
background: -o-linear-gradient(top, #E82D00, #FFAE01);
|
background: -o-linear-gradient(top, #E82D00, #FFAE01);
|
||||||
}
|
}
|
||||||
.router_span{
|
.router_span {
|
||||||
position:absolute;
|
position: absolute;
|
||||||
top:10px;
|
top: 5px;
|
||||||
margin-left:3px;
|
margin-left: 3px;
|
||||||
|
color: #363636;
|
||||||
}
|
}
|
||||||
|
.router_circle {
|
||||||
.router_circle{
|
width: 10px;
|
||||||
width:10px;
|
height: 10px;
|
||||||
height:10px;
|
background-color: #0091FF;
|
||||||
background-color:#00C348;
|
border-radius: 5px;
|
||||||
border-radius:5px;
|
margin-left: 2px;
|
||||||
margin-left:2px;
|
margin-top: 5px;
|
||||||
margin-top:5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*-----------------SN_info--------------------------------*/
|
/*-----------------SN_info--------------------------------*/
|
||||||
|
|
||||||
.SN_info {
|
.SN_info {
|
||||||
@@ -367,14 +371,22 @@ html body {
|
|||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
/*天气预报*/
|
/*---------------------天气预报---------------------*/
|
||||||
|
|
||||||
.tianqi_container {
|
.tianqi_div {
|
||||||
position: absolute;
|
width: 100%;
|
||||||
min-width: 100px;
|
height: 50px;
|
||||||
min-height: 100px;
|
margin-top:30px;
|
||||||
left: 50%;
|
text-align: center;
|
||||||
margin-left: -60px;
|
}
|
||||||
bottom: 140px;
|
.tianqi_div img {
|
||||||
z-index: 10090;
|
width: 50px;
|
||||||
|
}
|
||||||
|
.tianqi_div>div {
|
||||||
|
width: 33%;
|
||||||
|
}
|
||||||
|
.tianqi_div_du {
|
||||||
|
font-size: 20px;
|
||||||
|
line-height: 50px;
|
||||||
|
font-family: "AvenirNextCondensed-Medium", "AvenirNextLTW01-MediumC 721311", "Arial Narrow", Verdana, sans-serif;
|
||||||
}
|
}
|
||||||
+13
-5
@@ -139,8 +139,8 @@
|
|||||||
<span>模拟车速:</span><span>50,000 km/h</span>
|
<span>模拟车速:</span><span>50,000 km/h</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div style="min-height:40px;">
|
||||||
<div style="margin-left:10px;width:100%;">
|
<div style="margin-left:10px;width:100%;min-height:40px;">
|
||||||
<i class="fa fa-map-marker" style="color:#E82D00;"></i>
|
<i class="fa fa-map-marker" style="color:#E82D00;"></i>
|
||||||
<span>
|
<span>
|
||||||
安徽省安庆市望江县长岭镇农信社1001号
|
安徽省安庆市望江县长岭镇农信社1001号
|
||||||
@@ -148,8 +148,16 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="tianqi_div">
|
||||||
|
<div class="fl">
|
||||||
|
<img src="img/sun.png"/>
|
||||||
|
</div>
|
||||||
|
<div class="fl tianqi_div_du">
|
||||||
|
32°
|
||||||
|
</div>
|
||||||
|
<div class="fl tianqi_div_du" style="font-size:15px;">
|
||||||
|
西南风
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -170,7 +178,7 @@
|
|||||||
<script type="text/template" id="tpl_router">
|
<script type="text/template" id="tpl_router">
|
||||||
<% for (var i in items){%>
|
<% for (var i in items){%>
|
||||||
<%
|
<%
|
||||||
var top = 10 + parseInt(i) * 22;
|
var top = 5 + parseInt(i) * 22;
|
||||||
%>
|
%>
|
||||||
<div class="router_span" style="top:<%=top%>px;">
|
<div class="router_span" style="top:<%=top%>px;">
|
||||||
<div class="fl"><%=items[i].content%></div>
|
<div class="fl"><%=items[i].content%></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user