首页样式修改

This commit is contained in:
skjia 2024-07-26 17:05:30 +08:00
parent f8b3aecccd
commit 070c566c03
3 changed files with 11 additions and 1 deletions

View File

@ -122,4 +122,7 @@
.four-one span{
font-weight: bold;
font-size: 20px;
}
.thisbutton{
border: 1px solid #0000FF;
}

View File

@ -123,6 +123,13 @@ function scrolldiv() {
}
}
function getchick(type){
if(type==0){
$("#twobutton").addClass("thisbutton");
$("#onebutton").removeClass("thisbutton");
}else{
$("#onebutton").addClass("thisbutton");
$("#twobutton").removeClass("thisbutton");
}
echartsone(type)
}
var colors=['#0052D9','#B5C7FF','#21C7FF','#21d7dd','#11C7FF']

View File

@ -84,7 +84,7 @@
</div>
<div class="three">
<div class="three-one">
<div><span>班组工作情况统计(试验数)</span><button onclick="getchick(1)">近15天</button><button onclick="getchick(0)">近7天</button></div>
<div><span>班组工作情况统计(试验数)</span><button id="onebutton" onclick="getchick(1)">近15天</button><button id="twobutton" class="thisbutton" onclick="getchick(0)">近7天</button></div>
<div id="echartsone"></div>
</div>
<div class="three-two">