From 1691f5d002c0d4897fb54641fd0d0c96f8eb6ab9 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Mon, 21 Aug 2023 18:04:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A0=B7=E5=BC=8F=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/scss/modules/index.scss | 112 +++++--- src/views/modules/home/index.vue | 427 +++++++++++++---------------- 2 files changed, 254 insertions(+), 285 deletions(-) diff --git a/src/assets/scss/modules/index.scss b/src/assets/scss/modules/index.scss index c3ff9044a..df6d8e02d 100644 --- a/src/assets/scss/modules/index.scss +++ b/src/assets/scss/modules/index.scss @@ -3,15 +3,20 @@ .g-row { padding: 10px 6px; - display: flex; - .g-row-left { - margin-right: auto; - width: calc(66%); - } - .g-row-right { - margin-left: auto; - width: calc(34% - 16px); + + section{ + display: flex; + + .g-row-left { + margin-right: auto; + width: calc(34% - 16px); + } + .g-row-right { + margin-left: auto; + width: calc(66%); + } } + } .m-box { @@ -25,16 +30,9 @@ padding: 4px 0; font-size: 15px; font-family: PingFangSC-Medium, PingFang SC; - font-weight: 500; + font-weight: 600; color: rgba(0, 0, 0, 0.85); line-height: 17px; - - > img { - vertical-align: bottom; - margin-right: 5px; - width: 17px; - height: 17px; - } } .more { @@ -70,12 +68,15 @@ 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; @@ -128,7 +129,7 @@ border-radius: 4px; border: 1px solid $c1; display: flex; - + margin: 0 auto; .input { position: relative; width: calc(100% - 100px); @@ -211,7 +212,7 @@ .m-pan { position: relative; - height: 488px; + height: 510px; box-sizing: border-box; .cnt { @@ -251,14 +252,14 @@ } } .cnt-right { - margin-left: auto; - width: calc(100% - 240px - 40px); - height: 402px; + // margin-left: auto; + width: calc(100%); + height: 320px; overflow-y: auto; .list { .item { - margin-bottom: 30px; + margin-bottom: 19px; display: flex; align-items: center; font-size: 14px; @@ -297,7 +298,7 @@ .item-progress { margin-right: 15px; - width: 60%; + width: 74%; height: 24px; background: #e6f0ff; border-radius: 1px; @@ -315,7 +316,7 @@ } .m-tx { - height: 466px; + height: 250px; margin-bottom: 13px; .cnt { box-sizing: border-box; @@ -334,36 +335,61 @@ } .item { - padding: 16px 0 12px; + padding: 0px 0 7px; border-bottom: 1px dashed #f0f5fa; &:last-child { border-bottom: none; } - .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; + 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-date { - font-size: 12px; - font-family: PingFangSC-Regular, PingFang SC; - font-weight: 400; - color: rgba(0, 0, 0, 0.45); - line-height: 17px; + .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; + } } + } } } .m-tb { - height: 302px; + height: 247px; .cnt { box-sizing: border-box; diff --git a/src/views/modules/home/index.vue b/src/views/modules/home/index.vue index 8c2277bc2..127dac563 100644 --- a/src/views/modules/home/index.vue +++ b/src/views/modules/home/index.vue @@ -2,123 +2,118 @@