From 070c566c03286450ade1b830b22e45b8bc4d6e9a Mon Sep 17 00:00:00 2001 From: skjia <106962133@qq.com> Date: Fri, 26 Jul 2024 17:05:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A0=B7=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/css/home/home.css | 3 +++ src/main/resources/static/js/home/home.js | 7 +++++++ src/main/resources/static/pages/home/home.html | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) 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 @@
-
班组工作情况统计(试验数)
+
班组工作情况统计(试验数)