diff --git a/src/assets/scss/modules/index.scss b/src/assets/scss/modules/index.scss index df6d8e02d..bcf4c4bb1 100644 --- a/src/assets/scss/modules/index.scss +++ b/src/assets/scss/modules/index.scss @@ -2,21 +2,20 @@ @import "../c/function"; .g-row { - padding: 10px 6px; - - section{ + padding: 5px 6px; + display: flex; + height: 100%; + .g-row-left { + margin-right: auto; + width: calc(66%); display: flex; - - .g-row-left { - margin-right: auto; - width: calc(34% - 16px); - } - .g-row-right { - margin-left: auto; - width: calc(66%); - } + flex-direction: column; + justify-content: space-around; + } + .g-row-right { + margin-left: auto; + width: calc(34% - 16px); } - } .m-box { @@ -30,9 +29,16 @@ padding: 4px 0; font-size: 15px; font-family: PingFangSC-Medium, PingFang SC; - font-weight: 600; + font-weight: 500; color: rgba(0, 0, 0, 0.85); line-height: 17px; + + > img { + vertical-align: bottom; + margin-right: 5px; + width: 17px; + height: 17px; + } } .more { @@ -68,15 +74,12 @@ font-weight: 500; color: $c1; line-height: 47px; - text-align: center; } .tabs { margin-top: 24px; display: flex; align-items: center; - width: 60%; - margin: 0 auto; > div { position: relative; margin-right: 30px; @@ -129,7 +132,7 @@ border-radius: 4px; border: 1px solid $c1; display: flex; - margin: 0 auto; + .input { position: relative; width: calc(100% - 100px); @@ -212,12 +215,19 @@ .m-pan { position: relative; - height: 510px; box-sizing: border-box; - - .cnt { + width: 100%; + height:calc( 100vh - 420px); + overflow: hidden; + .flex_box{ + height:calc(100% - 30px); + width: 100%; + overflow: hidden; + .cnt { margin-top: 20px; display: flex; + overflow: hidden; + height: 100%; .cnt-left { box-sizing: border-box; padding: 16px; @@ -230,7 +240,7 @@ font-weight: 400; color: rgba(0, 0, 0, 0.85); line-height: 24px; - + height: 100%; .subtitle { padding: 4px 0; font-size: 15px; @@ -252,14 +262,10 @@ } } .cnt-right { - // margin-left: auto; - width: calc(100%); - height: 320px; - overflow-y: auto; - .list { + margin-bottom: 71px; .item { - margin-bottom: 19px; + margin-bottom: 30px; display: flex; align-items: center; font-size: 14px; @@ -298,7 +304,7 @@ .item-progress { margin-right: 15px; - width: 74%; + width: 100%; height: 24px; background: #e6f0ff; border-radius: 1px; @@ -312,18 +318,29 @@ } } } + ::v-deep .el-tabs__content { + overflow: scroll !important; + height: 100% !important; + } } + } + } .m-tx { - height: 250px; margin-bottom: 13px; + width: 100%; + height:calc( 100vh - 430px); + overflow: hidden; + padding-right: 5px; + box-sizing: border-box; .cnt { box-sizing: border-box; margin-top: 12px; border-radius: 2px; - overflow: hidden; - + overflow:hidden scroll ; + height: calc(100% - 50px); + .empty { text-align: center; color: #999; @@ -335,7 +352,7 @@ } .item { - padding: 0px 0 7px; + padding: 16px 0 7px; border-bottom: 1px dashed #f0f5fa; &:last-child { border-bottom: none; @@ -389,7 +406,7 @@ } } .m-tb { - height: 247px; + height: 302px; .cnt { box-sizing: border-box; diff --git a/src/views/main-navbar.vue b/src/views/main-navbar.vue index 02004d01f..d723b278f 100644 --- a/src/views/main-navbar.vue +++ b/src/views/main-navbar.vue @@ -20,25 +20,25 @@ - + - + + diff --git a/src/views/modules/home/index.vue b/src/views/modules/home/index.vue index 2f1480ed5..78830768a 100644 --- a/src/views/modules/home/index.vue +++ b/src/views/modules/home/index.vue @@ -2,48 +2,129 @@