|
|
@@ -515,7 +515,8 @@ export default {
|
|
|
domImg.crossOrigin = 'anonymous'
|
|
|
domImg.src = require('@/views/groupPage/images/mapbj.png')
|
|
|
setTimeout(() => {
|
|
|
- mapInit()
|
|
|
+ // mapInit()
|
|
|
+ domImg.onload = mapInit()
|
|
|
}, 1000)
|
|
|
function tooltipCustom(toolTipSource) {
|
|
|
if (!toolTipSource) {
|
|
|
@@ -523,10 +524,10 @@ export default {
|
|
|
}
|
|
|
if (!toolTipSource.body.data.datas) return
|
|
|
const data = toolTipSource.body.data.datas
|
|
|
- let header = `<div class="echart-tooltip-header"><div class="name" title=${toolTipSource.body.name}>${toolTipSource.body.name}</div><div class="status">${data.stage}</div></div>`
|
|
|
+ let header = `<div class="echart-tooltip-header"><div class="name" title=${data.type}>${data.type}</div><div class="status">${data.stage}</div></div>`
|
|
|
let body = []
|
|
|
body.push(
|
|
|
- `<div class="echart-tooltip-body-item"><div class="name">项目类型:</div><div class="value" title=${data.type}>${data.type}</div></div>`
|
|
|
+ `<div class="echart-tooltip-body-item"><div class="name">项目名称:</div><div class="value" title=${toolTipSource.body.name}>${toolTipSource.body.name}</div></div>`
|
|
|
)
|
|
|
body.push(
|
|
|
`<div class="echart-tooltip-body-item"><div class="name">开工时间:</div><div class="value" title=${data.realBeginTime}>${data.realBeginTime}</div></div>`
|
|
|
@@ -810,8 +811,8 @@ export default {
|
|
|
box-shadow: 0px 3px 13px 0px #000000;
|
|
|
border: 1px solid;
|
|
|
border-image: linear-gradient(90deg, rgba(24, 255, 168, 1), rgba(25, 137, 252, 1)) 1;
|
|
|
- height: 1.041667rem /* 200/192 */;
|
|
|
- width: 0.9375rem /* 180/192 */;
|
|
|
+ // height: 1.041667rem /* 200/192 */;
|
|
|
+ width: 1.375rem; /* 264/192 */
|
|
|
font-size: 0.0625rem /* 12/192 */ !important;
|
|
|
padding: 0.052083rem /* 10/192 */ !important;
|
|
|
font-family: Source Han Sans CN;
|
|
|
@@ -839,6 +840,7 @@ export default {
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
+ font-size: 0.072917rem; /* 14/192 */
|
|
|
}
|
|
|
}
|
|
|
.echart-tooltip-body {
|
|
|
@@ -857,9 +859,9 @@ export default {
|
|
|
.value {
|
|
|
color: rgba(14, 202, 240, 1);
|
|
|
flex: 1;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- white-space: nowrap;
|
|
|
+ // overflow: hidden;
|
|
|
+ // text-overflow: ellipsis;
|
|
|
+ white-space: normal;
|
|
|
}
|
|
|
}
|
|
|
}
|