From 0e7a186f78623a5e61691d23f58dbca7de63279c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=B1=E5=86=A0=E5=AD=A6?= <1109935898@qq.com> Date: Sat, 14 Sep 2024 11:40:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=9E=E5=AF=9F=E6=8A=A5=E5=91=8A=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../insight/components/InsightShare.vue | 1 - .../insight/report/section/Overview.vue | 4 +++ .../section/conceptDiagnosis/PeopleLike.vue | 31 ++++++++++--------- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/src/views/DataAnalyse/insight/components/InsightShare.vue b/src/views/DataAnalyse/insight/components/InsightShare.vue index 59dc82c7..4b17b03b 100644 --- a/src/views/DataAnalyse/insight/components/InsightShare.vue +++ b/src/views/DataAnalyse/insight/components/InsightShare.vue @@ -277,7 +277,6 @@ function onUpdateReport() { align-items: center; width: 104px; height: 32px; - border: 1px solid #CCCCCC; border-radius: 4px; background: #FFFFFF; diff --git a/src/views/DataAnalyse/insight/report/section/Overview.vue b/src/views/DataAnalyse/insight/report/section/Overview.vue index a68fa8e3..b9dcb689 100644 --- a/src/views/DataAnalyse/insight/report/section/Overview.vue +++ b/src/views/DataAnalyse/insight/report/section/Overview.vue @@ -106,6 +106,10 @@ function toggleVisibility() { } } + .value { + font-family: Source Han Sans, sans-serif; + } + .section { padding-bottom: 1px; } diff --git a/src/views/DataAnalyse/insight/report/section/conceptDiagnosis/PeopleLike.vue b/src/views/DataAnalyse/insight/report/section/conceptDiagnosis/PeopleLike.vue index 2cd345ae..de056ea4 100644 --- a/src/views/DataAnalyse/insight/report/section/conceptDiagnosis/PeopleLike.vue +++ b/src/views/DataAnalyse/insight/report/section/conceptDiagnosis/PeopleLike.vue @@ -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; }