|
@ -132,7 +132,9 @@ export async function setMarkToMap(item, data, _markerClick, content) { |
|
|
content: |
|
|
content: |
|
|
content || |
|
|
content || |
|
|
`<div style="
|
|
|
`<div style="
|
|
|
background-image: url(${item.status !== "0" ? faultBg : normalBg}); |
|
|
background-image: url(${ |
|
|
|
|
|
item.device_state !== "0" ? faultBg : normalBg |
|
|
|
|
|
}); |
|
|
background-size: 100% 100%; |
|
|
background-size: 100% 100%; |
|
|
background-repeat: no-repeat; |
|
|
background-repeat: no-repeat; |
|
|
width: 42px; |
|
|
width: 42px; |
|
|