From e089f292eac65d9f8f5e50cd5576eea84fc189c6 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 27 Mar 2025 14:08:48 +0800
Subject: [PATCH] feat: 完成降本增效小模块
---
src/views/Home/components/HomeRight/HomeRight.vue | 60 ++++++------------------------------------------------------
1 files changed, 6 insertions(+), 54 deletions(-)
diff --git a/src/views/Home/components/HomeRight/HomeRight.vue b/src/views/Home/components/HomeRight/HomeRight.vue
index 93083a8..b9d5281 100644
--- a/src/views/Home/components/HomeRight/HomeRight.vue
+++ b/src/views/Home/components/HomeRight/HomeRight.vue
@@ -1,22 +1,16 @@
<template>
<div class="home-right">
- <CommonTitle title="降本增效" />
- <div class="synergy"></div>
-
- <CommonTitle title="任务成果" @details="detailsFun"/>
- <div class="taskAchievements"></div>
-
- <CommonTitle title="事件概况" />
- <div class="eventOverview"></div>
+ <Synergy />
+ <TaskAchievements />
+ <EventOverview />
</div>
</template>
<script setup>
-import CommonTitle from '@/components/CommonTitle.vue';
+import Synergy from '@/views/Home/components/HomeRight/Synergy.vue';
+import TaskAchievements from '@/views/Home/components/HomeRight/TaskAchievements.vue';
+import EventOverview from '@/views/Home/components/HomeRight/EventOverview.vue';
-const detailsFun = () => {
- console.log('details');
-};
</script>
<style scoped lang="scss">
@@ -29,48 +23,6 @@
.titleBox {
width: 404px;
height: hToV(43);
- }
-
- .synergy {
- width: 390px;
- height: hToV(108);
- background: linear-gradient(
- 90deg,
- #1f3e7a 0%,
- rgba(31, 62, 122, 0.35) 79%,
- rgba(31, 62, 122, 0) 100%
- );
- border-radius: 0px 0px 0px 0px;
- opacity: 0.85;
- margin: hToV(2) 0 hToV(13) 0;
- }
-
- .taskAchievements {
- width: 390px;
- height: hToV(204);
- background: linear-gradient(
- 90deg,
- #1f3e7a 0%,
- rgba(31, 62, 122, 0.35) 79%,
- rgba(31, 62, 122, 0) 100%
- );
- border-radius: 0px 0px 0px 0px;
- opacity: 0.85;
- margin: hToV(2) 0 hToV(21) 0;
- }
-
- .eventOverview {
- width: 390px;
- height: hToV(445);
- background: linear-gradient(
- 90deg,
- #1f3e7a 0%,
- rgba(31, 62, 122, 0.35) 79%,
- rgba(31, 62, 122, 0) 100%
- );
- border-radius: 0px 0px 0px 0px;
- opacity: 0.85;
- margin: hToV(3) 0 0 0;
}
}
</style>
--
Gitblit v1.9.3