diff --git a/src/assets/scss/modules/index.scss b/src/assets/scss/modules/index.scss index df6d8e02d..c3ff9044a 100644 --- a/src/assets/scss/modules/index.scss +++ b/src/assets/scss/modules/index.scss @@ -3,20 +3,15 @@ .g-row { padding: 10px 6px; - - section{ - display: flex; - - .g-row-left { - margin-right: auto; - width: calc(34% - 16px); - } - .g-row-right { - margin-left: auto; - width: calc(66%); - } + display: flex; + .g-row-left { + margin-right: auto; + width: calc(66%); + } + .g-row-right { + margin-left: auto; + width: calc(34% - 16px); } - } .m-box { @@ -30,9 +25,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 +70,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 +128,7 @@ border-radius: 4px; border: 1px solid $c1; display: flex; - margin: 0 auto; + .input { position: relative; width: calc(100% - 100px); @@ -212,7 +211,7 @@ .m-pan { position: relative; - height: 510px; + height: 488px; box-sizing: border-box; .cnt { @@ -252,14 +251,14 @@ } } .cnt-right { - // margin-left: auto; - width: calc(100%); - height: 320px; + margin-left: auto; + width: calc(100% - 240px - 40px); + height: 402px; overflow-y: auto; .list { .item { - margin-bottom: 19px; + margin-bottom: 30px; display: flex; align-items: center; font-size: 14px; @@ -298,7 +297,7 @@ .item-progress { margin-right: 15px; - width: 74%; + width: 60%; height: 24px; background: #e6f0ff; border-radius: 1px; @@ -316,7 +315,7 @@ } .m-tx { - height: 250px; + height: 466px; margin-bottom: 13px; .cnt { box-sizing: border-box; @@ -335,61 +334,36 @@ } .item { - padding: 0px 0 7px; + padding: 16px 0 12px; border-bottom: 1px dashed #f0f5fa; &:last-child { border-bottom: none; } - display: flex; - align-items: center; - .item_right{ - flex: 1; - .item-title { - @include toe; - height: 22px; - font-size: 14px; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: rgba(0, 0, 0, 0.85); - line-height: 22px; - &:hover { - color: $c1; - cursor: pointer; - } - } - .item-date { - font-size: 12px; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: rgba(0, 0, 0, 0.45); - line-height: 17px; + .item-title { + @include toe; + height: 22px; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: rgba(0, 0, 0, 0.85); + line-height: 22px; + &:hover { + color: $c1; + cursor: pointer; } } - .item_left{ - width: 40px; - margin-right:15px; - .i-tag{ - display: block; - margin-right: 15px; - width: 40px; - height: 22px; - border-radius: 4px; - border: 1px solid rgba(0, 0, 0, 0.15); - font-size: 12px; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: rgba(0, 0, 0, 0.88); - line-height: 20px; - font-style: normal; - text-align: center; - } + .item-date { + font-size: 12px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: rgba(0, 0, 0, 0.45); + line-height: 17px; } - } } } .m-tb { - height: 247px; + height: 302px; .cnt { box-sizing: border-box; diff --git a/src/views/modules/home/index.vue b/src/views/modules/home/index.vue index 2f1480ed5..8c2277bc2 100644 --- a/src/views/modules/home/index.vue +++ b/src/views/modules/home/index.vue @@ -2,118 +2,123 @@