<!--
 * @Author: szy
 * @Date: 2022-03-04 09:23:59
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-05-07 11:05:02
 * @FilePath: \web-pc\src\pages\big-screen\view\indexs\index.vue
-->
<template>
  <div class="contents">
    <div class="contetn_left">
      <div class="pagetab">
        <!-- <div class="item">实时监测</div> -->        
      </div>
      <ItemWrap class="contetn_left-top contetn_lr-item" title="当日实况">
        <LeftTop/>
    
      </ItemWrap>
      <ItemWrap class="contetn_left-center contetn_lr-item" title="月度碳足迹">
        <!-- <LeftCenter /> -->
        <base-chart/>
      </ItemWrap>
      <ItemWrap class="contetn_left-bottom contetn_lr-item" title="月度用氢量统计"
        style="padding: 0 10px 16px 10px">
        <!-- <LeftBottom /> -->
        <RightCenterNew />
      </ItemWrap>
    </div>

    <div class="contetn_center">
      <CenterMap class="contetn_center_top" />
      <ItemWrap class="contetn_center-bottom" title="交易所信息">
        <!-- <CenterBottom /> -->
        <RightBottom />
      </ItemWrap>
      <div class="tech-support-bottom"><span class="tech-text">© 2025 羚牛科技提供技术支持</span></div>
    </div>
    <div class="contetn_right">
      <!-- <ItemWrap
        class="contetn_left-bottom contetn_lr-item"
        title="月度违章情况"
      >
        <RightTop />
      </ItemWrap> -->
       <!-- <ItemWrap
        class="contetn_left-bottom contetn_lr-item"
        :title="currentTitle">
        <RightTop @update-title="currentTitle = $event"/>
      </ItemWrap> 暂时去掉折线面积图-->
      <!-- 2025.8.13 szy 月度数据暂时不用 -->
       <!-- <ItemWrap class="contetn_center-bottom" title="">
        <RightTopMonth />
      </ItemWrap> -->
      <!-- 2025.8.13 szy 使用当天数据 -->
      <ItemWrap class="contetn_right_day_top" title="">
        <RightTopDay />
      </ItemWrap>
      <!-- <ItemWrap
        class="contetn_left-bottom contetn_lr-item"
        title="月度用氢量统计"
        style="padding: 0 10px 16px 10px"
      >
        <RightCenterNew />
      </ItemWrap> -->
      
      <ItemWrap class="contetn_right-bottom" title="车型分类 "> <!--class="contetn_left-bottom contetn_lr-item" -->
        <CenterBottom />
      </ItemWrap>
    </div>
  </div>
</template>

<script>
import LeftTop from './left-top.vue'
import LeftCenter from "./left-center.vue";
import LeftBottom from "./left-bottom.vue";
import CenterMap from "./center-map.vue";
import CenterBottom from "./center-bottom.vue";
import RightTop from "./right-top.vue";
import RightCenter from "./right-center.vue";
import RightBottom from "./right-bottom.vue";
import BaseChart from "./chart/baseChart.vue";
import RightTopMonth from './right-top-new.vue';
import RightTopDay from './right-top-day.vue'
import RightCenterNew from "./right-center-new.vue";
export default {
  components: {
    LeftTop,
    LeftCenter,
    LeftBottom,
    CenterMap,
    RightTop,
    RightCenter,
    RightBottom,
    CenterBottom,
    BaseChart,
    RightTopMonth,
    RightTopDay,
    RightCenterNew
  },
  data() {
    return {
      currentTitle:''
    };
  },
  filters: {
    numsFilter(msg) {
      return msg || 0;
    },
  },
  created() {
  },

  mounted() {},
  methods: {
  
  },
};
</script>
<style lang="scss" scoped>
// 内容
.contents {
  .contetn_left,
  .contetn_right {
    width: 540px;
    box-sizing: border-box;
    // padding: 16px 0;
  }

  .contetn_center {
    margin-top: -5px;
    width: 700px;
  }

  //左右两侧 三个块
  .contetn_lr-item {
    height: 320px;
  }

  .contetn_center_top {
    margin-top: 0px;
    width: 712px;
  }
  //右上角，车辆信息
  .contetn_right_day_top {
    margin-top: 0px;
    height: 640px;
  }
  // 中间
  .contetn_center {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
//交易所
  .contetn_center-bottom {
    margin-top: -25px;
    height: 320px;
    width: 712px;
  }
  //车型分布
  .contetn_right-bottom{
    margin-bottom: -3px;
    height: 320px;
  }
  //左边 右边 结构一样
  .contetn_left,
  .contetn_right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;

  
  }

  
}

.tech-support-bottom {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: flex-start;     /* 垂直居中 */
    height: 12px;
    margin-top: -4px;
    &:hover {
        opacity: 1;
        transform: translateY(-1px);
    }

    .tech-text {
        font-size: 14px;
        color: #666666;
        font-weight: 500;
        letter-spacing: 0.8px;
        white-space: nowrap;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        position: relative;

        // 添加一个简洁的下划线装饰
        &::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg, #666666 0%, transparent 100%);
            opacity: 0.4;
            transition: opacity 0.3s ease;
        }
    }

    &:hover .tech-text::after {
        opacity: 1;
    }
  }

@keyframes rotating {
    0% {
        -webkit-transform: rotate(0) scale(1);
        transform: rotate(0) scale(1);
    }
    50% {
        -webkit-transform: rotate(180deg) scale(1.1);
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        -webkit-transform: rotate(360deg) scale(1);
        transform: rotate(360deg) scale(1);
    }
}
</style>
