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