diff --git a/css/accessMge/accessMge.css b/css/accessMge/accessMge.css index 4e56265..50bb8d2 100644 --- a/css/accessMge/accessMge.css +++ b/css/accessMge/accessMge.css @@ -26,11 +26,12 @@ body { height: 47%; display: flex; justify-content: space-around; + display: none; } .bot-box { - width: 100%; - height: 47%; + width: 98%; + height: 98%; display: flex; justify-content: space-around; } @@ -44,7 +45,7 @@ body { .top-box-left-top { width: 100%; - height: 48%; + height: 40%; display: flex; } @@ -60,7 +61,7 @@ body { letter-spacing: 1px; font-size: 16px; font-weight: 500; - height: 5%; + height: 14%; width: 100%; } @@ -69,18 +70,19 @@ body { flex-direction: row; height: 30%; width: 100%; - margin-top: 6%; + /* margin-top: 6%; */ + align-items: center; } .imgs { - width: 60%; - height: 70%; + width: 40px; + height: 48px; margin: 5% 5%; text-align: center; } .today-img { - padding: 5% 2% 2% 2%; + /* padding: 5% 2% 2% 2%; */ background: url("../../img/accessMge/today.png") no-repeat 0 0 / 100% 100%; display: flex; justify-content: center; @@ -115,14 +117,14 @@ body { letter-spacing: 1px; font-size: 16px; font-weight: 500; - height: 5%; + height: 14%; width: 100%; } .cumulative-img { - padding: 0.5% 0% 0% 0%; - width: 12%; - height: 100%; + /* padding: 0.5% 0% 0% 0%; */ + width: 40px; + height: 48px; margin: 5.5% 3% 5% 3%; text-align: center; background: url("../../img/accessMge/cumulative.png") no-repeat 0 0 / 100% 100%; @@ -159,6 +161,7 @@ body { width: 100% !important; height: 100% !important; display: flex !important; + flex-wrap: wrap; } .none-data { @@ -171,17 +174,17 @@ body { } .capacityItem { - width: 200px; - height: 130px; - margin-right: 10px; + width: 180px; + height: 150px; + /* margin-right: 10px; */ background-color: transparent; flex-direction: column; justify-content: space-around; } .capacityItem img { - width: 180px; - height: 100px; + width: 170px; + height: 120px; } .abnormalAlarmImg { @@ -194,7 +197,7 @@ body { .top-box-left-bot { margin-top: 2%; width: 100%; - height: 48%; + height: 56%; } diff --git a/img/accessMge/personnel.png b/img/accessMge/personnel.png index 40c6dba..002b350 100644 Binary files a/img/accessMge/personnel.png and b/img/accessMge/personnel.png differ diff --git a/js/pages/accessMge/accessMge.js b/js/pages/accessMge/accessMge.js index d6e9109..0072f46 100644 --- a/js/pages/accessMge/accessMge.js +++ b/js/pages/accessMge/accessMge.js @@ -314,20 +314,20 @@ function getPerStatisticsPhoto(accessType, timeType) { if (result.data.warnList && result.data.warnList.length > 0) { let html = ''; let list = result.data.warnList; - let zs = Math.floor(list.length / 5); - let xs = Math.floor(list.length % 5); + let zs = Math.floor(list.length / 15); + let xs = Math.floor(list.length % 15); if (zs > 0) { for (let i = 1; i <= zs; i++) { html += '