From 147cde29a36bc9f00e7c6fd313ea84f7bddc10af Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 28 Mar 2025 08:35:53 +0800
Subject: [PATCH] feat: 修改搜索
---
src/views/Home/components/HomeLeft/OverviewNext.vue | 26 +++++++++++++++++++++-----
1 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/src/views/Home/components/HomeLeft/OverviewNext.vue b/src/views/Home/components/HomeLeft/OverviewNext.vue
index 5570795..4669f94 100644
--- a/src/views/Home/components/HomeLeft/OverviewNext.vue
+++ b/src/views/Home/components/HomeLeft/OverviewNext.vue
@@ -30,7 +30,7 @@
</div>
<div class="table-item" v-for="item in tableList">
<div class="name">
- <img width="10" height="10" src="@/assets/images/table-zx.png" alt="">
+ <img class="yjzx-img" width="10" height="10" src="@/assets/images/table-zx.png" alt="">
<img width="13" height="15" src="@/assets/images/table-icon.png" alt="">
{{item.name}}
</div>
@@ -41,6 +41,7 @@
</template>
<script setup>
import { hToV, wToR } from '@/utils/pxConver';
+import { Search } from '@element-plus/icons-vue';
const list = ref([
{ name: '执行中', value: 89, color: '#FFA768' },
@@ -60,6 +61,7 @@
.overview-next {
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
margin-left: 29px;
+ padding: hToV(16) 16px;
width: 390px;
height: hToV(414);
background: linear-gradient( 270deg, rgba(31,62,122,0) 0%, rgba(31,62,122,0.35) 21%, #1F3E7A 100%);
@@ -109,14 +111,15 @@
:deep(.el-input__wrapper) {
background-color: rgba(0, 112, 255, 0.1);
background: rgba(0,15,34,0.5);
+ box-shadow: 0 0 0 1px #0070FF inset;
}
:deep(.el-input-group__append) {
- background-color: #0070FF;
- border-color: #0070FF;
+ background: rgba(0,112,255,0.38);
.el-button {
background-color: transparent;
- border: none;
+ border: 1px solid #0070FF;
+ border-left: none;
color: #fff;
}
}
@@ -130,15 +133,28 @@
}
.table-list {
margin: 16px;
+ font-weight: 500;
font-size: 16px;
.table-header, .table-item {
display: flex;
justify-content: space-between;
height: hToV(36);
line-height: hToV(36);
+ padding: 0 20px;
}
.table-item {
-
+ position: relative;
+ .yjzx-img {
+ position: absolute;
+ top: hToV(16);
+ left: 10px;
+ }
+ .status {
+ color: #6FC3FF;
+ }
+ .atcive {
+ color: #04F020;
+ }
}
}
}
--
Gitblit v1.9.3