forked from drone/command-center-dashboard

罗广辉
2025-03-27 81baaa36ffadbcdb76eba7fce76dbb81a9603048
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<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>
  </div>
</template>
 
<script setup>
import CommonTitle from '@/components/CommonTitle.vue';
 
const detailsFun = () => {
  console.log('details');
};
</script>
 
<style scoped lang="scss">
.home-right {
  position: absolute;
  top: hToV(122);
  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;
  }
}
</style>