|
@@ -430,7 +430,7 @@ function checkJobUser(jobUser: any) {
|
|
|
if (jobUser.labelList && jobUser.labelList.length > 0) {
|
|
|
jobUser.labelList.forEach((item: any) => {
|
|
|
labelHtml += `
|
|
|
- <span style="padding: 2px 5px; background-color: #eaeaea; color: #545454">${item.labelName}</span>
|
|
|
+ <span style="padding: 2px 5px; background-color: #eaeaea; color: #545454; margin-right: 3px;margin-bottom: 3px;">${item.labelName}</span>
|
|
|
`
|
|
|
})
|
|
|
}
|
|
@@ -441,7 +441,7 @@ function checkJobUser(jobUser: any) {
|
|
|
<span style="font-size: 14px; font-weight: 600;margin-bottom: 5px; margin-right: 10px;">${jobUser.name}</span>
|
|
|
<span style="font-size: 14px; font-weight: 600;margin-bottom: 5px;">${jobUser.siteName}</span>
|
|
|
</div>
|
|
|
- <div>
|
|
|
+ <div style="display: flex;flex-wrap: wrap">
|
|
|
${labelHtml}
|
|
|
</div>
|
|
|
<div style="width: 100%; margin-top: 5px;">
|
|
@@ -454,7 +454,7 @@ function checkJobUser(jobUser: any) {
|
|
|
(map as any).openInfoWindow(winHtml, new T.LngLat(jobUser.longitude, jobUser.latitude), {
|
|
|
autoPan: true,
|
|
|
maxHeight: 400,
|
|
|
- maxWidth: 1000,
|
|
|
+ maxWidth: 500,
|
|
|
offset: new T.Point(10, 0)
|
|
|
});
|
|
|
}
|