From 39ca0457b3b75818ab45d87b8fca6b27abe6ea19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Tue, 12 Mar 2024 18:39:49 +0800 Subject: [PATCH] =?UTF-8?q?CN-1577=20fix:=20Subscriber=E5=AE=9E=E4=BD=93?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=9C=B0=E5=9B=BE=E5=86=85=E5=AE=B9=E6=9B=B4?= =?UTF-8?q?=E6=8D=A2=E4=B8=BA=E6=96=B0=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../charts2/entityDetailSubscriberMap.scss | 199 ++++++++++++++++++ .../charts/entityDetail/EntityDetailMap.vue | 190 ++++++++++++++++- 2 files changed, 381 insertions(+), 8 deletions(-) diff --git a/src/assets/css/components/views/charts2/entityDetailSubscriberMap.scss b/src/assets/css/components/views/charts2/entityDetailSubscriberMap.scss index d8b5c7ea..f5a58696 100644 --- a/src/assets/css/components/views/charts2/entityDetailSubscriberMap.scss +++ b/src/assets/css/components/views/charts2/entityDetailSubscriberMap.scss @@ -1,6 +1,9 @@ .subscriber-map { height: 100%; + svg { + fill: #fff; + } .subscriber-map-header { height: 34px; padding-bottom: 10px; @@ -32,6 +35,202 @@ .panel-chart__no-data { height: calc(100% - 46px); } + + .analysis-statistics { + width: 310px; + overflow-y: auto; + //padding-right: 5px; + + .analysis-statistics__subscribers { + padding-left: 20px; + + .analysis-statistics__subscriber { + margin-bottom: 10px; + + &:last-of-type { + margin-bottom: 0; + } + + background-color: #F7F7F7; + border-left: 1px solid rgb(226,229,236); + border-radius: 2px; + + .subscriber__body { + padding: 0 12px; + margin-top: -10px; + .body__item { + display: flex; + + .item__label { + padding-right: 10px; + text-align: right; + width: 60px; + font-size: 12px; + color: #353636; + } + .item__value { + font-size: 12px; + font-weight: bold; + color: #233447; + } + } + + .body-item-record { + margin-top: 10px; + + .item-record__header { + font-family: Helvetica; + font-size: 16px; + color: #353636; + font-weight: 400; + height: 38px; + line-height: 38px; + } + .item-record__info { + + } + .item-record__timeline { + margin-left: 6px; + + .el-timeline { + padding-left: 0; + //min-height: 300px; + height: 360px; + overflow: auto; + + &.el-timeline--hide { + } + + .el-timeline-item { + padding-bottom: 0; + .el-timeline-item__tail { + border-left: 2px dotted #cccccc; + margin-left: 2px; + } + .el-timeline-item__node--normal { + background-image: radial-gradient(#DE3434 20%, transparent); + outline: #F7F7F7 solid 6px; + margin-left: 2px; + } + } + .el-timeline-item:last-child { + padding-bottom: 0; + } + } + .timeline__info { + display: flex; + padding-bottom: 10px; + + .timeline__info--circle { + display: flex; + flex-direction: column; + .info__circle { + width: 17px; + height: 17px; + margin-left: -2px; + border-radius: 50%; + background-image: radial-gradient(#DE3434 20%, transparent); + outline: rgba(222,52,52,0.30) solid 4px; + margin-top: 2px; + } + .info__line { + border-left: 2px #cccccc dotted; + height: 34px; + margin-left: 6px; + transition: all 0.2s; + } + } + .timeline__info--item { + padding-left: 13px; + display: flex; + flex-direction: column; + font-size: 12px; + color: #666666; + + .info--item__value { + color: #333; + font-weight: 500; + margin-left: 4px; + } + } + } + .timeline__item { + display: flex; + flex-direction: column; + font-size: 12px; + color: #666666; + + .item__value { + color: #333; + font-weight: 500; + margin-left: 4px; + } + } + .item-record__btn, .item-record__btn-disabled { + padding-right: 6px; + cursor: pointer; + text-align: center; + } + .item-record__btn-disabled { + cursor: no-drop; + } + .scroll-view { + width: 100%; + height: 384px; + overflow-y: scroll; + position: relative; + + .scroll__item { + width: 100%; + height: 58px; + display: flex; + + .item-circle { + display: flex; + flex-direction: column; + .circle-circle { + width: 10px; + height: 10px; + margin-left: 2px; + border-radius: 50%; + background-color: #DE3434; + } + .circle-line { + border-left: 2px #cccccc dotted; + height: 34px; + margin-left: 6px; + margin-top: 6px; + transition: all 0.2s; + } + } + + .item-content { + display: flex; + flex-direction: column; + font-size: 12px; + color: #666666; + padding-left: 16px; + + .item__value { + color: #333; + font-weight: 500; + margin-left: 4px; + } + } + } + .scroll-list { + position: absolute; + top: 0; + left: 0; + cursor: pointer; + } + } + } + } + } + } + } + } } .subscriber-map-point-tooltip { diff --git a/src/views/charts2/charts/entityDetail/EntityDetailMap.vue b/src/views/charts2/charts/entityDetail/EntityDetailMap.vue index 01ad46a2..e97a82d7 100644 --- a/src/views/charts2/charts/entityDetail/EntityDetailMap.vue +++ b/src/views/charts2/charts/entityDetail/EntityDetailMap.vue @@ -13,9 +13,55 @@