forked from drone/command-center-dashboard

罗广辉
2025-03-27 81baaa36ffadbcdb76eba7fce76dbb81a9603048
src/views/Home/components/HomeRight/HomeRight.vue
@@ -1,16 +1,76 @@
<template>
    <div class="home-right-index">
        <div class="">
            哒哒哒
        </div>
    </div>
  <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></script>
<script setup>
import CommonTitle from '@/components/CommonTitle.vue';
const detailsFun = () => {
  console.log('details');
};
</script>
<style scoped lang="scss">
.home-right-index {
    margin-top: 12px;
    margin-right: 58px;
.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>
</style>