Newer
Older
KaiFengPC / src / views / sponeScreen / projectHM / projectDX.vue
@zhangdeliang zhangdeliang on 3 Sep 3 KB update
<template>
  <!-- 典型项目分析 -->
  <div class="projectDXPage">
    <!-- 分析结果建议 -->
    <div class="suggest">
      <div class="title">监测分析建议(24小时累计60mm降雨)</div>
      <p>1,该项目设计总调蓄容积5.8m³;</p>
      <p>2,海绵设施留蓄水量2.6吨;</p>
      <p>3,溢流时长1.4h,排出3.2吨</p>
      <p>4,根据进出口的ss对比,海绵设施的净化能力达标</p>
    </div>

    <!-- 降雨效果 -->
    <CanvasRain :width="1382" :height="800"></CanvasRain>

    <!-- 水位 水流 -->
    <img src="@/assets/newImgs/pumpGY/water.png" alt="" class="waterFlow" :style="{ height: 30 + 'px' }" />

    <!-- 实时数据 -->
    <div class="realData">
      <p style="left: 500px; bottom: 95px">管径:1.4 x 1.0米</p>
      <p style="left: 700px; bottom: 95px">实时水位:2.3米</p>
      <p style="right: 230px; bottom: 65px">进口流量:0.1m/s</p>
      <p style="right: 230px; bottom: 25px">进口SS:85mg/L</p>
      <p style="left: 60px; bottom: 65px">出口流量:0.23m/s</p>
      <p style="left: 60px; bottom: 25px">出口SS:66mg/L</p>
    </div>

    <!-- 水流方向 -->
    <div class="waterFX">
      <img src="@/assets/newImgs/pumpGY/waterFlow.png" alt="左1" style="left: 210px; bottom: 195px; transform: rotate(90deg)" />

      <img src="@/assets/newImgs/pumpGY/waterFlow.png" alt="中间1" style="left: 320px; bottom: 625px; transform: rotate(80deg)" />
      <img src="@/assets/newImgs/pumpGY/waterFlow.png" alt="中间2" style="left: 360px; bottom: 425px; transform: rotate(80deg)" />
      <img src="@/assets/newImgs/pumpGY/waterFlow.png" alt="中间3" style="left: 385px; bottom: 195px; transform: rotate(90deg)" />

      <img src="@/assets/newImgs/pumpGY/waterFlow.png" alt="右1" style="right: 110px; bottom: 425px; transform: rotate(180deg)" />
      <img src="@/assets/newImgs/pumpGY/waterFlow.png" alt="右2" style="right: 350px; bottom: 355px; transform: rotate(120deg)" />
      <img src="@/assets/newImgs/pumpGY/waterFlow.png" alt="右3" style="right: 379px; bottom: 195px; transform: rotate(90deg)" />

      <img src="@/assets/newImgs/pumpGY/waterFlow.png" alt="下1" style="left: 350px; bottom: 5px; transform: rotate(180deg)" />
      <img src="@/assets/newImgs/pumpGY/waterFlow.png" alt="下2" style="right: 480px; bottom: 5px; transform: rotate(180deg)" />
    </div>
  </div>
</template>

<script setup>
import CanvasRain from '@/views/sponeScreen/projectHM/canvasRain.vue';
const { proxy } = getCurrentInstance();

onMounted(() => {});
</script>

<style lang="scss" scoped>
// prettier-ignore
.projectDXPage {
  width: 1382PX;
  height: 800PX;
  margin-bottom:20PX;
  background: url('@/assets/newImgs/pumpGY/dxxmBg.jpg') no-repeat;
  background-size: 100% 100%;
  position:relative;
  .suggest{
    position:absolute;
    z-index: 20;
    left:15PX;
    top:15PX;
    width:384PX;
    background: linear-gradient(90deg, #2D459E 0%, rgba(45,69,158,0.4) 100%);
    color:#fff;
    .title{
      width:384PX;
      height: 42PX;
      line-height: 42PX;
      padding-left:45PX;
      font-size: 16PX;
      background: url('@/assets/newImgs/pumpGY/titleBg.png') no-repeat;
      background-size: 100% 100%;
    }
    p{
      padding-left:20PX;
    }
  }
  .waterFlow{
    width:725PX;
    position:absolute;
    z-index: 10;
    left:243PX;
    bottom:28PX;
  }
  .realData{
    color:#fff;
    p{
      position:absolute;
      z-index: 10;
      width:160PX;
      height: 26PX;
      line-height: 26PX;
      text-align: center;
      background: #004DE0;
      border-radius: 13PX;
      font-size:16PX;
    }
  }
  .waterFX{
    img{
      position:absolute;
      z-index: 10;
    }
  }
}
</style>