无人机管理后台前端(已迁走)
shuishen
2025-06-27 5c239e2491da67614a39e4085c6062254a7e84f1
src/views/wel/index.vue
@@ -1,4 +1,5 @@
<template>
<welContainer>
  <div class="workbench">
    <div class="workleft">
      <!-- 设备统计  -->
@@ -95,6 +96,7 @@
      <CalenBox></CalenBox>
    </div>
  </div>
  </welContainer>
</template>
<script setup>
@@ -511,20 +513,23 @@
</style>
<style scoped lang="scss">
.workbench {
  padding: 0px 20px 0 10px;
 height: 100%;
  flex: 1;
  // padding: 0px 20px 0 10px;
  display: flex;
  justify-content: space-between;
height: calc(100% - 5rem);
}
.workleft {
  width: 68%;
  margin-right: 10px;
  height: 100%;
  .comprehensiveCon {
    // height: 736px;
    background: #ffffff;
      background: #ffffff !important;
   height: pxToVh(766);
    border-radius: 8px 8px 8px 8px;
    .comprehensive {
      padding: 17px 14px 0 21px;
      padding: 14px 14px 0 21px;
      .title {
        display: flex;
        justify-content: space-between;
@@ -548,7 +553,8 @@
        }
        .time-card {
          text-align: center;
          height: 30px;
          // height: 30px;
          height: pxToVh(30);
          background: #ffffff;
          border-radius: 4px 0px 0px 4px;
          border: 1px solid #e5e5e5;
@@ -561,7 +567,7 @@
          .card-item {
            width: 94px;
            height: 100%;
            line-height: 32px;
            line-height: 28px;
            cursor: pointer;
            font-family: 'Source Han Sans CN';
            font-weight: 400;
@@ -587,7 +593,7 @@
          width: 60%;
          border-right: 1px solid #dfdfdf;
          .workOrder {
            margin-top: 31px;
            margin-top: 11px;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #dfdfdf;
@@ -595,7 +601,7 @@
              width: 40%;
              .card-title {
                display: flex;
                margin-bottom: 17px;
                margin-bottom: 10px;
                align-items: center;
                img {
                  width: 36px;
@@ -629,16 +635,16 @@
                grid-template-columns: repeat(2, 1fr);
                row-gap: 14px;
                gap: 10px;
                margin-bottom: 27px;
                padding-bottom: 5px;
                .status-item {
                  display: flex;
                  text-align: center;
                  justify-content: space-between;
                  height: 97px;
                  // height: pxToVh(107);
                  max-width: 158px;
                  background: #f6f8fe;
                  border-radius: 8px 8px 8px 8px;
                  margin-bottom: 9px;
                  img {
                    width: 26px;
                    height: 26px;
@@ -685,8 +691,8 @@
            }
            .charts {
              margin-top: 30px;
              width: 348px;
              height: 242px;
              width: 100%;
              height: auto;
              .chart {
                width: 100%;
                height: 100%;
@@ -696,7 +702,7 @@
          // 飞行统计
          .flyOrder {
            margin-top: 10px;
            margin-top: 5px;
            .fytitle {
              display: flex;
              align-items: center;
@@ -711,7 +717,8 @@
              }
            }
            .flycenter {
              margin-top: 22px;
              margin-top: 13px;
              .centerBox {
                display: flex;
                justify-content: space-between;
@@ -720,7 +727,8 @@
                  padding: 7px 7px 0 15px;
                  // width: 196px;
                  flex: 1;
                  height: 80px;
                  // height: 80px;
                  height: pxToVh(80);
                  background: #f6f8fe;
                  box-shadow: 0px 5px 4px 0px #ebf1ff;
                  border-radius: 8px 8px 8px 8px;
@@ -739,7 +747,7 @@
                    color: #7c8091;
                  }
                  .flydata {
                    margin-top: 15px;
                    margin-top: 10px;
                    text-align: right;
                    font-size: 14px;
                    color: #7c8091;
@@ -773,6 +781,9 @@
}
.workright {
height: 100%;
  width: 32%;
  // display: flex;
  // flex-direction: column;
}
</style>