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 @@ - +