diff --git a/src/main/resources/static/css/home/home.css b/src/main/resources/static/css/home/home.css index cd40484..77b95ce 100644 --- a/src/main/resources/static/css/home/home.css +++ b/src/main/resources/static/css/home/home.css @@ -122,4 +122,7 @@ .four-one span{ font-weight: bold; font-size: 20px; +} +.thisbutton{ + border: 1px solid #0000FF; } \ No newline at end of file diff --git a/src/main/resources/static/js/home/home.js b/src/main/resources/static/js/home/home.js index 042a315..4427113 100644 --- a/src/main/resources/static/js/home/home.js +++ b/src/main/resources/static/js/home/home.js @@ -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'] diff --git a/src/main/resources/static/pages/home/home.html b/src/main/resources/static/pages/home/home.html index 69042ef..1cf9bcf 100644 --- a/src/main/resources/static/pages/home/home.html +++ b/src/main/resources/static/pages/home/home.html @@ -84,7 +84,7 @@
-
班组工作情况统计(试验数)
+
班组工作情况统计(试验数)