From 295eb3cc87aaa5176d64a4ef985cdad0bfefae9a Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 31 Mar 2025 08:35:00 +0800
Subject: [PATCH] 增加单个机巢页面
---
src/views/Home/components/HomeRight/HomeRight.vue | 67 +++++----------------------------
1 files changed, 10 insertions(+), 57 deletions(-)
diff --git a/src/views/Home/components/HomeRight/HomeRight.vue b/src/views/Home/components/HomeRight/HomeRight.vue
index 93083a8..445d203 100644
--- a/src/views/Home/components/HomeRight/HomeRight.vue
+++ b/src/views/Home/components/HomeRight/HomeRight.vue
@@ -1,76 +1,29 @@
<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>
+ <UserOperate/>
+ <Synergy />
+ <TaskAchievements />
+ <EventOverview />
</div>
</template>
<script setup>
-import CommonTitle from '@/components/CommonTitle.vue';
-
-const detailsFun = () => {
- console.log('details');
-};
+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';
+import UserOperate from '@/components/UserOperate.vue';
</script>
<style scoped lang="scss">
.home-right {
position: absolute;
- top: hToV(122);
+ top: 122px;
right: 31px;
width: 404px;
.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;
+ height: 43px;
}
}
</style>
--
Gitblit v1.9.3