From 3b6260fcab5c784691d64b92e6ed9cf5c0b08390 Mon Sep 17 00:00:00 2001 From: jiangyy Date: Wed, 8 Dec 2021 16:41:28 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=88=86=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scss/modules/visual/processAnalyze.scss | 184 +++++++ src/assets/scss/modules/visual/resibuzz.scss | 22 + .../visual/communityGovern/processAnalyze.vue | 477 ++++++++++++++++++ .../communityGovern/processLineOption.js | 22 + .../communityGovern/processPieOption.js | 160 ++++++ .../visual/communityGovern/resiPieOption.js | 20 +- .../visual/communityGovern/resibuzz.vue | 383 ++++++++++---- 7 files changed, 1172 insertions(+), 96 deletions(-) create mode 100644 src/assets/scss/modules/visual/processAnalyze.scss create mode 100644 src/views/modules/visual/communityGovern/processLineOption.js create mode 100644 src/views/modules/visual/communityGovern/processPieOption.js diff --git a/src/assets/scss/modules/visual/processAnalyze.scss b/src/assets/scss/modules/visual/processAnalyze.scss new file mode 100644 index 00000000..6aaea54c --- /dev/null +++ b/src/assets/scss/modules/visual/processAnalyze.scss @@ -0,0 +1,184 @@ +@import '../../c/config'; +@import '../../c/function'; +@import './c/common'; + +.title { + padding: 10px; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + display: flex; + align-items: center; + position: relative; + + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + .customer_cascader { + margin-left: 10px; + width: 280px; + } + + .customer_select { + margin-left: 10px; + display: flex; + justify-content: flex-start; + + > span { + width: auto; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + line-height: 34px; + } + } +} + +.g-cpt-resi { + display: flex; + flex-direction: row; + // flex-wrap: wrap; + // justify-content: center; + height: calc(100vh - 170px); + + .g-l { + flex-shrink: 0; + width: 700px; + height: calc(100vh - 230px); + + .l_top { + height: 385px; + display: flex; + .g-count { + width: 100px; + } + .g-pie { + } + } + .l_bottom { + height: calc(100vh - 230px - 385px); + margin-top: 20px; + > span { + font-size: 18px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + } + .echart-line { + margin-top: 10px; + } + } + } + + .g-r { + text-align: center; + margin: 40px 19px 20px; + width: calc(100vw - 60px - 800px); + height: calc(100vh - 160px - 20px); + } +} +.g-count { + margin-top: 104px; + margin-left: 52px; + .t_count { + font-size: 16px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + opacity: 0.76; + } + .c_count { + font-size: 48px; + font-family: PingFang SC; + font-weight: bold; + color: #ffffff; + } + .t_yestoday { + margin-top: 59px; + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + opacity: 0.76; + > span { + margin-left: 18px; + font-size: 16px; + font-family: PingFang SC; + font-weight: 500; + color: #f42800; + } + } + .t_today { + margin-top: 12px; + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #ffffff; + opacity: 0.76; + > span { + margin-left: 18px; + font-size: 16px; + font-family: PingFang SC; + font-weight: 500; + color: #3edd7f; + } + } +} + +.g-r { + .tb { + position: relative; + height: calc(100vh - 220px); + overflow-y: auto; + @include scrollBar; + + .m-pagination { + position: absolute; + box-sizing: border-box; + right: 0; + bottom: 0; + + width: 100%; + height: 40px; + display: flex; + justify-content: flex-end; + + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { + background: #0266d1; + color: #000d3f; + } + + /deep/ .el-pagination .el-pager li { + background: #002e74; + } + + /deep/ .el-pagination .btn-prev { + background: #002e74; + } + + /deep/ .el-pagination .btn-next { + background: #002e74; + } + } + } +} + +.echart-wr { + margin-left: 30px; + // margin-top: 100px; + text-align: center; + position: relative; + width: 500px; + height: 100%; + box-sizing: border-box; + .echart-org { + width: 100%; + height: 90%; + } +} diff --git a/src/assets/scss/modules/visual/resibuzz.scss b/src/assets/scss/modules/visual/resibuzz.scss index d4f13bf0..a5a03d3e 100644 --- a/src/assets/scss/modules/visual/resibuzz.scss +++ b/src/assets/scss/modules/visual/resibuzz.scss @@ -10,6 +10,7 @@ color: #ffffff; display: flex; align-items: center; + position: relative; img { display: block; @@ -18,6 +19,27 @@ span { display: block; } + .customer_cascader { + margin-left: 10px; + width: 280px; + } + + .customer_select { + position: absolute; + right: 20px; + top: 30px; + display: flex; + justify-content: flex-start; + + > span { + width: auto; + font-size: 22px; + font-family: PingFang SC; + font-weight: 800; + color: #ffffff; + line-height: 34px; + } + } } .g-cpt-resi { diff --git a/src/views/modules/visual/communityGovern/processAnalyze.vue b/src/views/modules/visual/communityGovern/processAnalyze.vue index e69de29b..d5f48258 100644 --- a/src/views/modules/visual/communityGovern/processAnalyze.vue +++ b/src/views/modules/visual/communityGovern/processAnalyze.vue @@ -0,0 +1,477 @@ + + + + + + + + +