diff --git a/src/assets/scss/modules/index.scss b/src/assets/scss/modules/index.scss index 2c09b0883..7206b5d64 100644 --- a/src/assets/scss/modules/index.scss +++ b/src/assets/scss/modules/index.scss @@ -25,37 +25,37 @@ box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12); flex-grow: 1; max-height: calc(50% - 10px); - overflow: hidden scroll; + overflow: hidden scroll; position: relative; - + } -// .noe-text{ -// border-left: 4px solid #2683DB; -// padding-left: 10px; -// height: 30px; -// margin-right: 10px; -// size: 15px; -// z-index: 1; -// display: flex; -// justify-content: space-between; -// position: fixed; -// background: white; -// width: 551px; - + +// .echart{ +// position: absolute; +// // left: -20px; +// top: 10px; +// width: 1004px; +// user-select: none; +// -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +// padding: 0px; +// margin: 0px; +// border-width: 0px; +// height: 260px; // } .noe-text { position: relative; - padding-left: 14px; /* 调整左边距以容纳边框 */ + // position: fixed; + padding-left: 14px; height: 30px; margin-right: 10px; - font-size: 15px; /* 正确的属性名称应为 font-size */ - z-index: 1; + font-size: 15px; + z-index: 1; display: flex; justify-content: space-between; - position: fixed; background: white; - width: 551px; - + // max-width: calc(100% - 20px); + width: 100%; + // overflow-x: auto; } .noe-text::before { @@ -63,8 +63,8 @@ position: absolute; top: 5px; left: 0; - height: 70%; /* 控制边框的长度 */ - width: 4px; /* 控制边框的宽度 */ + height: 70%; + width: 4px; background-color: #2683DB; } @@ -72,23 +72,27 @@ padding: 5px 6px; display: flex; height: 100%; + align-items: stretch; + .g-row-left { // margin-right: auto; - margin-right: 15px; - width: calc(60% - 20px); + margin-right: 10px; + width: calc(60% - 25px); flex-direction: column; // justify-content: space-around; } + .g-row-right { display: flex; margin-left: auto; - margin-right: 5px; - flex-grow: 0.5; - width: calc(40% - 20px); + margin-right: 5px; + flex-grow: 0.5; + width: calc(40% - 25px); flex-direction: column; justify-content: space-around; } } + .m-box { flex-grow: 1; position: relative; @@ -98,7 +102,8 @@ background: #ffffff; box-shadow: 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12); border-radius: 2px; - .merw{ + + .merw { background: #000; margin-top: 10px; } @@ -113,7 +118,7 @@ margin-top: 10px; margin-left: 10px; - > img { + >img { vertical-align: bottom; margin-right: 5px; width: 17px; @@ -121,6 +126,14 @@ } } + .newqsa { + border-left: 4px solid #2683DB; + height: 70%; + // width: 4px; + margin-left: -10px; + padding-left: 8px; + } + .more { position: absolute; top: 14px; @@ -148,14 +161,15 @@ // background-image: url("../../images/index/chaxun-bg.png"); background-size: cover; position: relative; - .wrap{ + + .wrap { position: absolute; top: 0; left: 0; width: 100%; } - .mewq{ + .mewq { // background-color: #333; width: inherit; margin-left: -69px; @@ -164,14 +178,15 @@ box-sizing: border-box; margin-right: -68px; display: grid; - grid-template-columns: repeat(7, 1fr); - gap: 5px; + grid-template-columns: repeat(7, 1fr); + gap: 5px; text-align: center; } + .boxss { background-color: #F8F8F8; border-radius: 10px; - } + } @@ -187,7 +202,8 @@ margin-top: 24px; display: flex; align-items: center; - > div { + + >div { position: relative; margin-right: 30px; width: 56px; @@ -202,13 +218,16 @@ &:hover { color: $c1_on; } + &.z-on { color: #ffffff; background: $c1; margin-left: 10px; + &:hover { color: #ffffff; } + &::after { content: ""; display: block; @@ -231,6 +250,7 @@ display: flex; align-items: center; margin-left: 10px; + .search-input { position: relative; left: 0; @@ -291,6 +311,7 @@ font-weight: 500; color: #ffffff; cursor: pointer; + &:hover { background: $c1_on; } @@ -309,6 +330,7 @@ font-weight: 500; color: $c1; cursor: pointer; + img { width: 20px; height: 20px; @@ -325,144 +347,162 @@ .m-pan { position: relative; box-sizing: border-box; - width: 100%; - height:calc( 82vh - 420px); + // width: 100%; + // height:calc( 82vh - 420px); + height: calc(82vh - 460px); overflow: hidden; - - .flex_box{ - height:calc(100% - 30px); - width: 100%; - overflow: hidden; - .cnt { - margin-top: 20px; - display: flex; + + .flex_box { + height: calc(100% - 30px); + width: 100%; overflow: hidden; - height: 100%; - .echart { - max-width: 100%; - max-height: 100%; - } - .cnt-left { - box-sizing: border-box; - padding: 16px; - width: 240px; - height: 402px; - background: #f5f7fa; - border-radius: 2px; - font-size: 14px; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: rgba(0, 0, 0, 0.85); - line-height: 24px; - height: 100%; - .subtitle { - padding: 4px 0; - font-size: 15px; - font-family: PingFangSC-Medium, PingFang SC; - font-weight: 500; - color: rgba(0, 0, 0, 0.85); - line-height: 17px; - &:last-of-type { - margin-top: 40px; - } + .cnt { + margin-top: 20px; + display: flex; + overflow: hidden; + height: 100%; - > img { - vertical-align: bottom; - margin-right: 5px; - width: 17px; - height: 17px; - } + .echart { + max-width: 115%; + max-height: 100%; + left: -30px; + top: 10px; + // margin-left: -50px; + position: absolute; + + user-select: none; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + padding: 0px; + margin: 0px; + border-width: 0px; } - } - .cnt-right { - .list { - margin-bottom: 71px; - margin-left: 10px; - .item { - margin-bottom: 30px; - display: flex; - align-items: center; - font-size: 14px; + + .cnt-left { + box-sizing: border-box; + padding: 16px; + width: 240px; + height: 402px; + background: #f5f7fa; + border-radius: 2px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: rgba(0, 0, 0, 0.85); + line-height: 24px; + height: 100%; + + .subtitle { + padding: 4px 0; + font-size: 15px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; - color: rgba(44, 53, 66, 0.85); - line-height: 24px; - cursor: pointer; + color: rgba(0, 0, 0, 0.85); + line-height: 17px; - &:hover { - color: $c1; + &:last-of-type { + margin-top: 40px; } - .item-name { - margin-left: 5px; - width: 80px; - flex-shrink: 0; + >img { + vertical-align: bottom; + margin-right: 5px; + width: 17px; + height: 17px; } + } + } - .item-div { - width: 1px; - height: 12px; - background: #d8d8d8; - border-radius: 1px; - } + .cnt-right { + .list { + margin-bottom: 71px; + margin-left: 10px; - .item-count { - margin-left: 20px; - width: 90px; - flex-shrink: 0; - } + .item { + margin-bottom: 30px; + display: flex; + align-items: center; + font-size: 14px; + font-family: PingFangSC-Medium, PingFang SC; + font-weight: 500; + color: rgba(44, 53, 66, 0.85); + line-height: 24px; + cursor: pointer; - .item-per { - min-width: 70px; - } + &:hover { + color: $c1; + } + + .item-name { + margin-left: 5px; + width: 80px; + flex-shrink: 0; + } + + .item-div { + width: 1px; + height: 12px; + background: #d8d8d8; + border-radius: 1px; + } + + .item-count { + margin-left: 20px; + width: 90px; + flex-shrink: 0; + } - .item-progress { - margin-right: 15px; - width: 100%; - height: 24px; - background: #e6f0ff; - border-radius: 1px; - overflow: hidden; - b { - display: block; + .item-per { + min-width: 70px; + } + + .item-progress { + margin-right: 15px; + width: 100%; height: 24px; - background: #7ba6e6; + background: #e6f0ff; + border-radius: 1px; + overflow: hidden; + + b { + display: block; + height: 24px; + background: #7ba6e6; + } } } } } - } - ::v-deep .el-tabs__content { - overflow: scroll !important; - height: 100% !important; + + ::v-deep .el-tabs__content { + overflow: scroll !important; + height: 100% !important; + } } } - } - + } .m-tx { - margin-bottom: 13px; - width: 100%; - height: 65px; + // margin-bottom: 13px; + // width: 100%; + height: 200px; overflow: hidden; - padding-right: 5px; - box-sizing: border-box; - - flex-grow: 1; - // max-height: calc(50% - 10px); - overflow: hidden scroll; + // padding-right: 5px; + // box-sizing: border-box; + // flex-grow: 1; + // overflow: hidden scroll; .cnt { box-sizing: border-box; margin-top: 12px; border-radius: 2px; - overflow:hidden scroll ; + overflow: hidden scroll; height: calc(100% - 50px); - + .empty { text-align: center; color: #999; + img { display: block; width: 120px; @@ -473,13 +513,17 @@ .item { padding: 16px 0 7px; border-bottom: 1px dashed #f0f5fa; + &:last-child { border-bottom: none; } + display: flex; align-items: center; - .item_right{ + + .item_right { flex: 1; + .item-title { @include toe; height: 22px; @@ -489,11 +533,13 @@ color: rgba(0, 0, 0, 0.85); line-height: 22px; margin-left: 10px; + &:hover { color: $c1; cursor: pointer; } } + .item-date { font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; @@ -503,10 +549,12 @@ margin-left: 10px; } } - .item_left{ + + .item_left { width: 40px; - margin-right:15px; - .i-tag{ + margin-right: 15px; + + .i-tag { display: block; margin-right: 15px; width: 40px; @@ -522,12 +570,13 @@ font-weight: 600; } } - + } } } + .m-tb { - height: 220px; + height: 260px; .cnt { box-sizing: border-box; @@ -558,9 +607,11 @@ color: #333333; line-height: 24px; } + .item-btns { margin-left: auto; display: flex; + .item-btn { display: flex; align-items: center; @@ -570,19 +621,23 @@ font-weight: 400; color: $c1; text-align: center; + &:hover { color: $c1_on; cursor: pointer; } + &:last-child { margin-right: 2px; } + img { display: block; width: 15px; height: 15px; margin-right: 2px; } + span { display: block; } @@ -591,41 +646,43 @@ } } } + .table { border-collapse: collapse; width: 90%; margin: 0 auto; - + + } -.table th, .table td { +.table th, +.table td { border: 1px solid rgb(230, 230, 230); - padding: 8px; - text-align: center; + padding: 8px; + text-align: center; } .table th { - background-color: #F5F7FB; + background-color: #F5F7FB; padding: 8px; text-align: center; width: 100px; } - .row { + +.row { display: flex; - } - - .cell { +} + +.cell { border: 1px solid #F5F7FB; padding: 8px; - } - .special-header { - background-color: #FFFCF1; /* 设置特定表头的背景颜色为 #FFFCF1 */ +} + +.special-header { + background-color: #FFFCF1; + /* 设置特定表头的背景颜色为 #FFFCF1 */ } .update-settings { margin-right: 25px; -} -.table-container{ - // overflow: hidden scroll; - overflow: auto; } \ No newline at end of file diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue index 102bb5705..985e53845 100644 --- a/src/views/modules/base/resi.vue +++ b/src/views/modules/base/resi.vue @@ -1,29 +1,13 @@