From a080bc96952bff153be3fc1e8de9b080d942886c Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 28 Mar 2025 11:09:56 +0800
Subject: [PATCH] feat:调整头部组件
---
src/views/Home/components/HomeLeft/OverviewNext.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/views/Home/components/HomeLeft/OverviewNext.vue b/src/views/Home/components/HomeLeft/OverviewNext.vue
index 207713b..cd64f21 100644
--- a/src/views/Home/components/HomeLeft/OverviewNext.vue
+++ b/src/views/Home/components/HomeLeft/OverviewNext.vue
@@ -1,5 +1,6 @@
<!-- 机巢概况 -->
<template>
+ <common-title style="margin-left: 14px;" @details="detailsFun"></common-title>
<div class="overview-next">
<div class="next-num">
<div class="total">
@@ -41,6 +42,7 @@
</template>
<script setup>
import { Search } from '@element-plus/icons-vue';
+import CommonTitle from '@/components/CommonTitle.vue';
const list = ref([
{ name: '执行中', value: 89, color: '#FFA768' },
@@ -55,6 +57,10 @@
{ name: '小兰工业园3号', status: '预计执行' },
{ name: '小兰工业园3号', status: '预计执行' },
]);
+
+const detailsFun = () => {
+ console.log('details');
+};
</script>
<style scoped lang="scss">
.overview-next {
@@ -74,11 +80,12 @@
.total {
position: absolute;
left: 22px;
- top: 18px;
+ top: 28px;
font-weight: 500;
font-size: 14px;
color: #FFFFFF;
font-family: Source Han Sans CN, Source Han Sans CN;
+ line-height: 19px;
.value {
font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
margin-left: 8px;
--
Gitblit v1.9.3