diff --git a/src/assets/scss/modules/visual/distributionAnalyze.scss b/src/assets/scss/modules/visual/distributionAnalyze.scss index a5c3918e..5962bd08 100644 --- a/src/assets/scss/modules/visual/distributionAnalyze.scss +++ b/src/assets/scss/modules/visual/distributionAnalyze.scss @@ -8,44 +8,94 @@ 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; - } + .card-title { + display: flex; + align-items: center; - .second-select { - margin: 0 10px 0 40px; + img { + display: block; + margin-right: 5px; + } + span { + display: block; + } + } - ::v-deep .el-input { - width: 140px; - height: 36px; - .el-input__inner { - height: 100%; - padding: 0 10px; - color: #fff; - line-height: 36px; + .second-title { + display: block; + display: flex; + align-items: center; + margin-top: 20px; + .second-title-label { + position: relative; + padding-left: 40px; + font-size: 16px; + font-weight: 500; + color: #fff; + } + .second-title-label::after { + content: ''; + position: absolute; + top: 50%; + left: 20px; + width: 12px; + height: 12px; + box-sizing: border-box; + margin-top: -6px; + background: #2865fa; + border-radius: 50%; + } + .second-select { + margin: 0 10px 0 40px; + ::v-deep .el-input { + width: 180px; + height: 36px; + .el-input__inner { + height: 100%; + padding: 0 10px; + color: #fff; + line-height: 36px; + background: #06186d; + border: 1px solid #1a64cc; + } + + .el-icon-arrow-up:before { + content: '\e78f'; + } + // .el-select__caret:before { + // content: '\E790' + // } + } + ::v-deep .el-date-editor { + width: 360px; + position: relative; background: #06186d; border: 1px solid #1a64cc; - } - .el-icon-arrow-up:before { - content: '\e78f'; + .el-range-input { + color: #fff; + background: #06186d; + } + .el-range-separator { + color: #fff; + } + .el-range__icon { + position: absolute; + right: 5px; + // float: right; + } + .el-input__prefix { + left: unset; + right: 5px; + } } } - ::v-deep .el-date-editor { - .el-input__prefix { - left: unset; - right: 5px; - } + .second-select:last-child { + margin-left: 0; } } - .cascader { ::v-deep .el-input { width: 220px; @@ -66,70 +116,29 @@ flex-direction: row; // flex-wrap: wrap; // justify-content: center; - height: calc(100vh - 130px); + height: calc(100vh - 230px); .g-l { - flex-shrink: 0; - width: 600px; - height: calc(100vh - 190px); - } - - .g-r { - text-align: center; - margin: 40px 19px 20px; - width: calc(100vw - 60px - 600px); - height: calc(100vh - 140px - 20px); - } -} - -.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: 50%; + height: calc(100vh - 290px); + + .echart-line { + margin-left: 30px; + // margin-top: 100px; + text-align: center; + position: relative; 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; + height: 100%; + box-sizing: border-box; + .echart-org { + width: 100%; + height: 90%; } } } -} -.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%; + .g-r { + width: 50%; + height: calc(100vh - 290px); } } diff --git a/src/router/index.js b/src/router/index.js index fff616d1..bc43c78a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -274,7 +274,7 @@ router.beforeEach((to, from, next) => { }, { url: "/visual/communityGovern/distributionAnalyze", - name: "事件分类分析", + name: "项目分布分析", id: "distributionAnalyze", }, ], diff --git a/src/views/modules/visual/communityGovern/distributionAnalyze.vue b/src/views/modules/visual/communityGovern/distributionAnalyze.vue index c4e04f5c..f75fa2f6 100644 --- a/src/views/modules/visual/communityGovern/distributionAnalyze.vue +++ b/src/views/modules/visual/communityGovern/distributionAnalyze.vue @@ -1,62 +1,50 @@