From 845581c6372456620cad10652c8b40a0b7e49099 Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Mon, 9 Jan 2023 14:45:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E6=A8=A1=E5=9D=97=20?= =?UTF-8?q?=E7=94=BB=E7=94=BB=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/scss/dataBoard/renfang/index.scss | 139 ++++++++++- src/views/dataBoard/renfang/index.vue | 241 +++++++++++++++---- 2 files changed, 337 insertions(+), 43 deletions(-) diff --git a/src/assets/scss/dataBoard/renfang/index.scss b/src/assets/scss/dataBoard/renfang/index.scss index 91deae30c..bfa76a3a8 100644 --- a/src/assets/scss/dataBoard/renfang/index.scss +++ b/src/assets/scss/dataBoard/renfang/index.scss @@ -12,7 +12,7 @@ } .g-center { position: relative; - width: 800px; + width: 820px; } .g-right { width: 480px; @@ -71,6 +71,143 @@ } } } + + .card { + position: absolute; + top: 0; + left: 0; + z-index: 71; + width: 100%; + height: 386px; + background: #00023a; + box-shadow: inset 0px 0px 40px 0px rgba(26, 149, 255, 0.45); + border-radius: 4px; + border: 1px solid #1a95ff; + + .card-input { + display: flex; + padding: 10px; + align-items: center; + + .i-div { + margin-left: auto; + margin-right: 10px; + width: 1px; + height: 12px; + background: rgba(255, 255, 255, 0.45); + border-radius: 1px; + } + + input { + line-height: 40px; + height: 40px; + width: 600px; + font-size: 16px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: rgba(255, 255, 255, 0.85); + line-height: 22px; + background: transparent; + border: none; + &::placeholder { + color: rgba(255, 255, 255, 0.65); + } + } + + .card-btn { + padding: 10px; + cursor: pointer; + img { + display: block; + width: 16px; + } + } + } + + .card-show { + .card-tabs { + border-top: 1px solid rgba(26, 149, 255, 0.45); + border-bottom: 1px solid rgba(26, 149, 255, 0.45); + line-height: 48px; + font-size: 16px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #ffffff; + cursor: pointer; + display: flex; + align-items: center; + + > div { + padding: 0 17px; + + &.z-on, + &:hover { + color: #1a95ff; + } + } + } + + .card-empty { + > img { + display: block; + width: 120px; + margin: 0 auto; + margin-top: 80px; + } + > span { + margin-top: 8px; + display: block; + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: rgba(255, 255, 255, 0.65); + line-height: 20px; + text-align: center; + } + } + + .card-list { + margin: 24px 16px; + height: 230px; + overflow-y: auto; + @include scrollBar; + .card-item { + display: flex; + align-items: center; + padding: 0 24px; + width: 100%; + height: 40px; + line-height: 40px; + background: rgba(26, 149, 255, 0.15); + font-size: 14px; + font-family: PingFangSC-Regular, PingFang SC; + font-weight: 400; + color: #ffffff; + cursor: pointer; + opacity: 0.85; + &:nth-child(2n) { + background: transparent; + } + .i-arrow { + margin-left: auto; + width: 16px; + &.z-on { + display: none; + } + } + &:hover { + opacity: 1; + .i-arrow { + display: none; + &.z-on { + display: block; + } + } + } + } + } + } + } } .m-box { diff --git a/src/views/dataBoard/renfang/index.vue b/src/views/dataBoard/renfang/index.vue index 4de148365..e76fe82ba 100644 --- a/src/views/dataBoard/renfang/index.vue +++ b/src/views/dataBoard/renfang/index.vue @@ -3,8 +3,10 @@
+
+
+
+
+
+
+
-
+
+
点击搜索
+
+
+
+
+ 没有找到搜索结果~
+
+
-
+
+
{{ item.count }}
人
+
+
+