From 76e96bb28cb6aee24ef24783f296ad1ea3fb70cc Mon Sep 17 00:00:00 2001 From: wenjy Date: Thu, 24 Mar 2022 18:01:09 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E4=BC=A0=E6=84=9F=E5=99=A8?= =?UTF-8?q?=E6=B1=87=E6=80=BB=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../css/lot-ui/Iot-sensorSummaryStyle.css | 29 ++++++++++++++++++- .../templates/iot-ui/sensorSummary.html | 24 +++++++++++++-- 2 files changed, 50 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/css/lot-ui/Iot-sensorSummaryStyle.css b/ruoyi-admin/src/main/resources/static/css/lot-ui/Iot-sensorSummaryStyle.css index 2efd56c..06031bf 100644 --- a/ruoyi-admin/src/main/resources/static/css/lot-ui/Iot-sensorSummaryStyle.css +++ b/ruoyi-admin/src/main/resources/static/css/lot-ui/Iot-sensorSummaryStyle.css @@ -84,7 +84,7 @@ span{ top: 10%; color: #ddd; overflow-x: hidden; - overflow-y: auto; + overflow-y: hidden; } #table{ @@ -130,4 +130,31 @@ span{ .fixed-table-pagination{ padding-top: 20px; +} + +.bootstrap-table .fixed-table-container .fixed-table-body{ + /*height: 28em;*/ + overflow-x: auto; + overflow-y: visible; +} + +.bootstrap-table .fixed-table-container .fixed-table-body::-webkit-scrollbar { + /*滚动条整体样式*/ + width: 5px; + /*高宽分别对应横竖滚动条的尺寸*/ + height: 8px; +} + +.bootstrap-table .fixed-table-container .fixed-table-body::-webkit-scrollbar-thumb { + /*滚动条里面小方块*/ + border-radius: 10px; + -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); + background: #004EA1; +} + +.bootstrap-table .fixed-table-container .fixed-table-body::-webkit-scrollbar-track { + /*滚动条里面轨道*/ + -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); + border-radius: 10px; + background: #EDEDED; } \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/iot-ui/sensorSummary.html b/ruoyi-admin/src/main/resources/templates/iot-ui/sensorSummary.html index 04dfe50..32b5497 100644 --- a/ruoyi-admin/src/main/resources/templates/iot-ui/sensorSummary.html +++ b/ruoyi-admin/src/main/resources/templates/iot-ui/sensorSummary.html @@ -10,8 +10,28 @@ - +