| | |
| | | <div v-if="showWarnDetail" class="fixed"> |
| | | <div class="card"> |
| | | <div class="title fs--18 color2">视频信号遮挡报警</div> |
| | | <div id="mapContainer"></div> |
| | | <div id="mapContainers"></div> |
| | | <div class=""> |
| | | <div class="flex mt--15"> |
| | | <div class="w--100 shrink0 color1">司机:</div> |
| | |
| | | ], |
| | | }) |
| | | .then((AMap) => { |
| | | this.map = new AMap.Map("mapContainer", { |
| | | this.map = new AMap.Map("mapContainers", { |
| | | center: [row.lon, row.lat], |
| | | zoom: 15, |
| | | }); |
| | |
| | | width: 100%; |
| | | height: 600px; |
| | | } |
| | | #mapContainers { |
| | | width: 100%; |
| | | height: 500px; |
| | | margin: 20px 0; |
| | | } |
| | | |
| | | ::v-deep .el-drawer__body { |
| | | position: relative; |
| | | |
| | | .fixed { |
| | | right: 470px; |
| | | top: 0; |
| | | bottom: 0; |
| | | margin: auto; |
| | | display: flex; |
| | | align-items: center; |
| | | |
| | | .card { |
| | | background: #fff; |
| | | width: 500px; |
| | | max-height: 1000px; |
| | | padding: 15px; |
| | | } |
| | | } |
| | | } |
| | | .color1 { |
| | | color: #0E6EFD; |
| | | } |
| | | |
| | | .color2 { |
| | | color: rgb(52, 52, 52); |
| | | } |
| | | |
| | | ::v-deep .pagination-popper { |
| | | position: fixed !important; |
| | | transform: |
| | | scale(calc(1 / var(--scale))) translate(calc(100px * (1 - 1 / var(--scale))), |
| | | calc(5px * (1 - 1 / var(--scale)))) !important; |
| | | transform-origin: right top !important; |
| | | right: calc(30px * (1 - 1 / var(--scale))) !important; |
| | | margin-top: 5px; |
| | | min-width: 100px !important; |
| | | } |
| | | </style> |