From 180f2b853a2a8d6c8c976a6f819fe8112c149cc0 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Tue, 16 Aug 2022 18:00:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93=E5=B7=B2?= =?UTF-8?q?=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/comparisonResults.vue | 16 ++++++++++++---- .../components/documentDataComparison.vue | 4 ++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/jero-web/src/views/documentTools/documentComparison/components/comparisonResults.vue b/jero-web/src/views/documentTools/documentComparison/components/comparisonResults.vue index 4c910cdfe..9c66155a9 100644 --- a/jero-web/src/views/documentTools/documentComparison/components/comparisonResults.vue +++ b/jero-web/src/views/documentTools/documentComparison/components/comparisonResults.vue @@ -47,7 +47,8 @@
-
+
@@ -64,7 +65,7 @@
-
+
@@ -89,7 +90,7 @@
-
+
@@ -533,6 +534,11 @@ } } + .detail-content-content-text-color { + border: 1px solid #00B3BE; + background: rgba(0,179,190,0.0300); + } + .detail-content-left { width: 50%; display: inline-block; @@ -571,7 +577,9 @@ border-radius: 4px; float: left; } - + .detail-content-bottom-color{ + background: rgba(0,179,190,0.0300); + } .detail-content-bottom-left { width: 115px; font-size: 14px; diff --git a/jero-web/src/views/documentTools/documentComparison/components/documentDataComparison.vue b/jero-web/src/views/documentTools/documentComparison/components/documentDataComparison.vue index d424e3ab7..7eb1bf38e 100644 --- a/jero-web/src/views/documentTools/documentComparison/components/documentDataComparison.vue +++ b/jero-web/src/views/documentTools/documentComparison/components/documentDataComparison.vue @@ -327,7 +327,7 @@ if (detailRightColor && detailRightColor.length > 0) { detailRightColor[0].classList.remove('detail-content-content-right-data-color-right') } - if (item.targetStand && item.targetStand >= 0) { + if (item.targetStand > -1) { let detailContent = document.getElementsByClassName('detail-content-content-right-right-top') let detailRight = document.getElementsByClassName('detail-content-content-right-data-right') this.dataRight = this.resultData.textRight[item.targetStand] @@ -357,7 +357,7 @@ if (detailLeftColor && detailLeftColor.length > 0) { detailLeftColor[0].classList.remove('detail-content-content-right-data-color') } - if (item.targetStand && item.targetStand >= 0) { + if (item.targetStand > -1) { this.dataLeft = this.resultData.textLeft[item.targetStand] let detailContent = document.getElementsByClassName('detail-content-content-right-top') let detailLeft = document.getElementsByClassName('detail-content-content-right-data')