From 412430bdb2eccb9497276b3ddc73e2ef131920ce Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Tue, 17 May 2022 16:00:46 +0800 Subject: [PATCH] 21234 --- .../scss/modules/shequzhili/project-info.scss | 604 ++++++++---------- .../shequzhili/xiangmu/cpts/project-info.vue | 425 +++--------- .../modules/shequzhili/xiangmu/index.vue | 102 +-- 3 files changed, 404 insertions(+), 727 deletions(-) diff --git a/src/assets/scss/modules/shequzhili/project-info.scss b/src/assets/scss/modules/shequzhili/project-info.scss index 1ca5a43a..9ea2740a 100644 --- a/src/assets/scss/modules/shequzhili/project-info.scss +++ b/src/assets/scss/modules/shequzhili/project-info.scss @@ -1,384 +1,324 @@ -@import '../../c/config'; -@import '../../c/function'; -@import './c/common'; +@import "../../c/config"; +@import "../../c/function"; -.m-pop { - @include shield; - background-color: rgba(#000, 0.9); - overflow-y: auto; - - .wrap { - position: relative; - margin: 120px auto; - width: 1020px; - - .title { - padding: 10px; - font-size: 22px; - font-family: PingFang SC; - font-weight: 800; - color: #ffffff; - display: flex; - align-items: center; - - img { - display: block; - margin-right: 5px; - } - span { - display: block; - } +.g-page { + display: flex; + .g-left { + box-sizing: border-box; + width: 65%; + padding: 5px 10px; } - - .btn-close { - position: absolute; - top: -15px; - right: -15px; - cursor: pointer; + .g-right { + box-sizing: border-box; + width: 35%; + padding: 5px 10px; } +} - .line { - margin: 20px auto; - width: 900px; - height: 1px; - border: 1px dashed #1257c9; - } +.m-card { + overflow-x: auto; +} - .tabs { - margin-top: 30px; - display: flex; - align-items: center; - padding-left: 20px; - padding-left: 58px; - - .tab-btn { - width: 30px; - text-align: center; - cursor: pointer; - } - - .tab { - margin: 0 5px; - min-width: 76px; - padding: 0 5px; - height: 30px; - background: rgba(255, 255, 255, 0); - border: 1px solid #1257c9; - box-shadow: 0 0 10px 0 inset #1257c9; - border-radius: 2px; - text-align: center; - font-size: 14px; - font-family: PingFang SC; - font-weight: 400; - color: #ffffff; - line-height: 30px; - cursor: pointer; - transition: all ease 0.5s; - &.z-on { - background: linear-gradient(90deg, #1a5afd, #009cff); - box-shadow: none; - } - } - } - } +.m-fm{ + +} + +.m-btns { + display: flex; + justify-content: center; } .m-info { - padding-left: 62px; - font-size: 14px; - font-family: PingFang SC; - font-weight: 400; - color: #ffffff; - line-height: 24px; - width: 500px; - - .info-title { - margin-top: 30px; - font-size: 20px; + padding-left: 10px; + font-size: 14px; font-family: PingFang SC; - font-weight: bold; - color: #ffffff; - line-height: 30px; - } - .info-content { - margin: 20px 0; - } - .info-pics { - display: flex; - margin: 20px 0; - img { - display: block; - width: 32%; - height: 90px; - margin-right: 9px; - object-fit: cover; + font-weight: 400; + color: #333; + line-height: 24px; + // width: 500px; + + .info-title { + margin-top: 30px; + font-size: 20px; + font-family: PingFang SC; + font-weight: bold; + color: #333; + line-height: 30px; } - } - - .info-prop { - position: relative; - margin: 10px 0; - display: flex; - padding-left: 15px; - .info-title-2 { - width: 70px; - flex: 0 0 1; - font-size: 14px; + .info-content { + margin: 20px 0; } - - > span, - > div { - display: block; - max-width: 300px; + .info-pics { + display: flex; + margin: 20px 0; + img { + display: block; + width: 32%; + height: 90px; + margin-right: 9px; + object-fit: cover; + } } - &::before { - content: ''; - display: block; - position: absolute; - top: 9px; - left: 0; - width: 7px; - height: 7px; - background: #0c81fe; - border-radius: 3px; - margin-right: 10px; + .info-prop { + position: relative; + margin: 10px 0; + display: flex; + padding-left: 15px; + .info-title-2 { + width: 70px; + flex: 0 0 1; + font-size: 14px; + } + + > span, + > div { + display: block; + // max-width: 300px; + } + + &::before { + content: ""; + display: block; + position: absolute; + top: 9px; + left: 0; + width: 7px; + height: 7px; + background: #0c81fe; + border-radius: 3px; + margin-right: 10px; + } } - } } .m-case { - @include scrollBar; - height: 600px; - padding: 20px 0 20px 0; - overflow-y: auto; + height: 600px; + padding: 20px 0 20px 0; + overflow-y: auto; } .m-row { - display: flex; - justify-content: space-between; -} - -.m-yanpan { - padding-left: 62px; - padding-right: 0; - min-height: 300px; + display: flex; + justify-content: space-between; } .m-hint { - position: relative; - height: 300px; - - // 暂无数据 - img { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - margin: auto; - } + position: relative; + height: 300px; + + // 暂无数据 + img { + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + margin: auto; + } } .m-line { - min-width: 400px; + min-width: 400px; - .stat { - margin: 20px 0 10px; - display: flex; - .stat-item { - width: 33%; - text-align: center; - - div { - font-size: 17px; - font-family: Source Han Serif SC; - font-weight: 500; - color: rgba(#fff, 0.5); - line-height: 24px; - &.z-weak { - font-size: 12px; - font-family: Source Han Serif SC; - font-weight: 500; - color: rgba(#fff, 0.5); - line-height: 24px; + .stat { + margin: 20px 0 10px; + display: flex; + .stat-item { + width: 33%; + text-align: center; + + div { + font-size: 17px; + font-family: Source Han Serif SC; + font-weight: 500; + color: rgba(#000, 0.5); + line-height: 24px; + &.z-weak { + font-size: 12px; + font-family: Source Han Serif SC; + font-weight: 500; + color: rgba(#000, 0.5); + line-height: 24px; + } + } } - } } - } } .m-tb { - padding-left: 62px; - padding-right: 40px; + padding-left: 62px; + padding-right: 40px; } .m-pagination { - box-sizing: border-box; - margin-top: 20px; - 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; - } -} - -.m-process { - width: 400px; + box-sizing: border-box; + margin-top: 20px; + width: 100%; + height: 40px; + display: flex; + justify-content: flex-end; - .process-title { - margin-bottom: 25px; - margin-left: -5px; - font-size: 16px; - font-family: PingFang SC; - font-weight: bold; - color: #ffffff; - line-height: 18px; - } + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { + background: #0266d1; + color: #000d3f; + } - .list { - position: relative; - box-sizing: border-box; - margin-top: 30px/2; - margin-left: 50px/2; - padding: 0 0 0 30px/2; - width: 680px/2; - border-left: 3px solid #0c81fe; - padding-right: 10px; - - &::before { - content: ''; - position: absolute; - z-index: 1; - display: block; - top: -2px/2; - left: -2px/2; - width: 5px/2; - height: 20px/2; - background-color: #ffffff; + /deep/ .el-pagination .el-pager li { + background: #002e74; } - .item { - position: relative; - z-index: 2; - margin-bottom: 8px; - padding-bottom: 8px; - font-size: 16px; - font-family: PingFang SC; - font-weight: 400; - color: #fefefe; - line-height: 24px; - padding-left: 20px; - padding-top: 1px; - - &::before { - content: ''; - display: block; - position: absolute; - top: -5px; - left: -11px; - width: 18px; - height: 18px; - background: #0c81fe; - border: 4px solid lighten(#0c81fe, 15); - border-radius: 100%; - } - - &.z-on { - &::before { - background: #e08400; - border-color: lighten(#e08400, 15); - } - } + /deep/ .el-pagination .btn-prev { + background: #002e74; + } - &:last-child { - margin-bottom: 0; - padding-bottom: 0; - border-bottom: none; - } + /deep/ .el-pagination .btn-next { + background: #002e74; + } +} - .item-row { - margin-top: -10px; - margin-bottom: 10px; - display: flex; - } +.m-process { + margin-top: 30px; + margin-left: 15px; + // min-width: 400px; - .name { - position: relative; - padding: 0 10px; - font-size: 12px; - font-family: PingFang SC; - font-weight: 500; - color: #fefefe; - line-height: 22px; - height: 22px; - border-radius: 10px 0 10px 0; - background-color: #0c81fe; - // background-color: #e08400; - } - - .date { - margin-left: 10px; - font-size: 12px; + .process-title { + margin-bottom: 25px; + margin-left: -5px; + font-size: 16px; font-family: PingFang SC; - font-weight: 500; - color: #7ca1d2; - line-height: 25px; - } + font-weight: bold; + color: #333; + line-height: 18px; + } - .detail { - @include cs; - font-size: 16px; - line-height: 20px; - margin-bottom: 5px; - display: flex; + .list { + position: relative; + box-sizing: border-box; + margin-top: 30px/2; + margin-left: 50px/2; + padding: 0 0 0 30px/2; + width: 680px/2; + border-left: 3px solid #0c81fe; + padding-right: 10px; - .detail-field { - width: 22%; - text-align: justify; - text-align-last: justify; - } - .detail-value { - width: 78%; - .detail-link { - display: inline; - } + &::before { + content: ""; + position: absolute; + z-index: 1; + display: block; + top: -2px/2; + left: -2px/2; + width: 5px/2; + height: 20px/2; + background-color: #333; } - } - - .attachement-list { - padding-left: 80px; - a { - display: block; - cursor: pointer; - color: #4df0ff; - font-size: 14px; - - i { - color: #fff; - } + + .item { + position: relative; + z-index: 2; + margin-bottom: 8px; + padding-bottom: 8px; + font-size: 16px; + font-family: PingFang SC; + font-weight: 400; + color: #333; + line-height: 24px; + padding-left: 20px; + padding-top: 1px; + + &::before { + content: ""; + display: block; + position: absolute; + top: -5px; + left: -11px; + width: 18px; + height: 18px; + background: #0c81fe; + border: 4px solid lighten(#0c81fe, 15); + border-radius: 100%; + } + + &.z-on { + &::before { + background: #e08400; + border-color: lighten(#e08400, 15); + } + } + + &:last-child { + margin-bottom: 0; + padding-bottom: 0; + border-bottom: none; + } + + .item-row { + margin-top: -10px; + margin-bottom: 10px; + display: flex; + } + + .name { + position: relative; + padding: 0 10px; + font-size: 12px; + font-family: PingFang SC; + font-weight: 500; + color: #fff; + line-height: 22px; + height: 22px; + border-radius: 10px 0 10px 0; + background-color: #0c81fe; + // background-color: #e08400; + } + + .date { + margin-left: 10px; + font-size: 12px; + font-family: PingFang SC; + font-weight: 500; + color: #7ca1d2; + line-height: 25px; + } + + .detail { + @include cs; + font-size: 14px; + line-height: 20px; + margin-bottom: 5px; + display: flex; + + .detail-field { + width: 80px; + text-align: justify; + text-align-last: justify; + } + .detail-value { + // width: 78%; + .detail-link { + display: inline; + } + } + } + + .attachement-list { + padding-left: 80px; + a { + display: block; + cursor: pointer; + color: #4df0ff; + font-size: 14px; + + i { + color: #333; + } + } + } } - } } - } } .m-top { - display: flex; + display: flex; } diff --git a/src/views/modules/shequzhili/xiangmu/cpts/project-info.vue b/src/views/modules/shequzhili/xiangmu/cpts/project-info.vue index 7cbc9989..e2ea0576 100644 --- a/src/views/modules/shequzhili/xiangmu/cpts/project-info.vue +++ b/src/views/modules/shequzhili/xiangmu/cpts/project-info.vue @@ -1,16 +1,10 @@