From 946876e4c34cc49655928f3a1fc438a4e3d3207a Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 27 Mar 2025 13:37:07 +0800
Subject: [PATCH] feat: 标题调整

---
 src/views/Home/components/HomeRight/HomeRight.vue |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/src/views/Home/components/HomeRight/HomeRight.vue b/src/views/Home/components/HomeRight/HomeRight.vue
index 71cb391..93083a8 100644
--- a/src/views/Home/components/HomeRight/HomeRight.vue
+++ b/src/views/Home/components/HomeRight/HomeRight.vue
@@ -1,23 +1,22 @@
 <template>
   <div class="home-right">
-    <CommonTitle title="协同" />
+    <CommonTitle title="降本增效" />
     <div class="synergy"></div>
 
-    <CommonTitle title="协同" />
+    <CommonTitle title="任务成果" @details="detailsFun"/>
     <div class="taskAchievements"></div>
 
-    <CommonTitle title="协同" />
+    <CommonTitle title="事件概况" />
     <div class="eventOverview"></div>
   </div>
 </template>
 
-<script>
-import { defineComponent } from 'vue';
+<script setup>
 import CommonTitle from '@/components/CommonTitle.vue';
 
-export default defineComponent({
-  components: { CommonTitle },
-});
+const detailsFun = () => {
+  console.log('details');
+};
 </script>
 
 <style scoped lang="scss">
@@ -26,7 +25,6 @@
   top: hToV(122);
   right: 31px;
   width: 404px;
-  height: 43px;
 
   .titleBox {
     width: 404px;
@@ -35,7 +33,7 @@
 
   .synergy {
     width: 390px;
-    height: 108px;
+    height: hToV(108);
     background: linear-gradient(
       90deg,
       #1f3e7a 0%,
@@ -44,6 +42,7 @@
     );
     border-radius: 0px 0px 0px 0px;
     opacity: 0.85;
+    margin: hToV(2) 0 hToV(13) 0;
   }
 
   .taskAchievements {
@@ -57,6 +56,7 @@
     );
     border-radius: 0px 0px 0px 0px;
     opacity: 0.85;
+    margin: hToV(2) 0 hToV(21) 0;
   }
 
   .eventOverview {
@@ -70,6 +70,7 @@
     );
     border-radius: 0px 0px 0px 0px;
     opacity: 0.85;
+    margin: hToV(3) 0 0 0;
   }
 }
 </style>

--
Gitblit v1.9.3