| | |
| | | this.getWarnTop10Data(); |
| | | |
| | | this.initMap(); |
| | | if (this.timer) { |
| | | clearInterval(this.timer); |
| | | } |
| | | // 设置定时器,每分钟刷新一次数据 |
| | | this.timer = setInterval(() => { |
| | | this.getCarCountData(); |
| | |
| | | .leftMap { |
| | | // width: 100%; |
| | | height: 100%; |
| | | flex: 1; |
| | | flex: 3; |
| | | display: flex; |
| | | position: relative; |
| | | |
| | |
| | | right: 513px; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | width: calc(100% - 570px); |
| | | width: calc(100% - 770px); |
| | | |
| | | .title { |
| | | font-weight: 600; |
| | |
| | | } |
| | | |
| | | .right { |
| | | width: 493px; |
| | | // width: 493px; |
| | | flex: 1; |
| | | height: calc(100% - 20px); |
| | | margin: 20px 17px 0 20px; |
| | | background: #ffffff; |
| | | box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2); |
| | | border-radius: 10px 10px 0px 0px; |
| | | padding: 20px; |
| | | overflow-y: auto; |
| | | |
| | | .title { |
| | | margin-top: 30px; |
| | |
| | | |
| | | .companyCard { |
| | | width: 140px; |
| | | height: 90px; |
| | | // height: 90px; |
| | | background: #f4f4ff; |
| | | border-radius: 0px 10px 10px 0px; |
| | | position: relative; |
| | |
| | | left: 0; |
| | | top: 0; |
| | | width: 4px; |
| | | height: 90px; |
| | | // height: 90px; |
| | | background: #0e6efd; |
| | | border-radius: 2px; |
| | | } |
| | |
| | | position: relative; |
| | | |
| | | #countChart { |
| | | width: 453px; |
| | | width: 100%; |
| | | height: 180px; |
| | | } |
| | | |
| | |
| | | position: relative; |
| | | |
| | | .rankChart { |
| | | width: 453px; |
| | | height: 300px; |
| | | width: 100%; |
| | | // height: 300px; |
| | | |
| | | .rankItem { |
| | | display: flex; |