洞察报告;
This commit is contained in:
@@ -277,7 +277,6 @@ function onUpdateReport() {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
width: 104px;
|
width: 104px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
border: 1px solid #CCCCCC;
|
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
|
|
||||||
|
|||||||
@@ -106,6 +106,10 @@ function toggleVisibility() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.value {
|
||||||
|
font-family: Source Han Sans, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
padding-bottom: 1px;
|
padding-bottom: 1px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -165,24 +165,24 @@ function downloadHotAreaImage() {
|
|||||||
const textLeft = item.left + item.width * 0.5 - textMetrics.width * 0.5
|
const textLeft = item.left + item.width * 0.5 - textMetrics.width * 0.5
|
||||||
const textTop = item.top + item.height * 0.5
|
const textTop = item.top + item.height * 0.5
|
||||||
|
|
||||||
ctx.beginPath()
|
// ctx.beginPath()
|
||||||
ctx.fillStyle = props.color
|
// ctx.fillStyle = props.color
|
||||||
ctx.roundRect(
|
// ctx.roundRect(
|
||||||
textLeft - 3,
|
// textLeft - 3,
|
||||||
textTop - (textMetrics.actualBoundingBoxAscent + textMetrics.actualBoundingBoxDescent) * 0.5 - 6,
|
// textTop - (textMetrics.actualBoundingBoxAscent + textMetrics.actualBoundingBoxDescent) * 0.5 - 6,
|
||||||
textMetrics.width + 6,
|
// textMetrics.width + 6,
|
||||||
textMetrics.actualBoundingBoxAscent + textMetrics.actualBoundingBoxDescent + 6,
|
// textMetrics.actualBoundingBoxAscent + textMetrics.actualBoundingBoxDescent + 6,
|
||||||
4
|
// 4
|
||||||
)
|
// )
|
||||||
ctx.fill()
|
// ctx.fill()
|
||||||
ctx.closePath()
|
// ctx.closePath()
|
||||||
ctx.beginPath()
|
ctx.beginPath()
|
||||||
ctx.fillStyle = '#FFFFFF'
|
ctx.fillStyle = '#FFFFFF'
|
||||||
ctx.roundRect(
|
ctx.roundRect(
|
||||||
textLeft - 2,
|
textLeft - 4,
|
||||||
textTop - (textMetrics.actualBoundingBoxAscent + textMetrics.actualBoundingBoxDescent) * 0.5 - 5,
|
textTop - (textMetrics.actualBoundingBoxAscent + textMetrics.actualBoundingBoxDescent) * 0.5 - 6,
|
||||||
textMetrics.width + 4,
|
textMetrics.width + 8,
|
||||||
textMetrics.actualBoundingBoxAscent + textMetrics.actualBoundingBoxDescent + 4,
|
textMetrics.actualBoundingBoxAscent + textMetrics.actualBoundingBoxDescent + 8,
|
||||||
4
|
4
|
||||||
)
|
)
|
||||||
ctx.fill()
|
ctx.fill()
|
||||||
@@ -349,5 +349,6 @@ function downloadDetailTable() {
|
|||||||
|
|
||||||
.original-title {
|
.original-title {
|
||||||
justify-content: flex-start !important;
|
justify-content: flex-start !important;
|
||||||
|
color: #81B74C;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user