forked from drone/command-center-dashboard

chenyao
2025-03-31 295eb3cc87aaa5176d64a4ef985cdad0bfefae9a
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
<!-- 机巢状态 -->
<template>
  <CommonTitle title="机巢状态" />
  <div :style="{ marginLeft: pxToRem(14) }">
    <div class="machine-status">
      <div class="info">
        <img src="@/assets/images/signMachineNest/machineRight/wrj.png" alt="">
        <div class="info-right">
          <div class="name">Matrice 30</div>
          <div class="wz">当前位置:450.32;210.56</div>
          <div class="">
            <div>舱内关机</div>
            <div>需要维保</div>
          </div>
        </div>
      </div>
      <div class="status">
        <div>实时真高</div>
        <div>200<span>米</span></div>
      </div>
    </div>
  </div>
</template>
 
<script setup>
import CommonTitle from '@/components/CommonTitle.vue';
</script>
 
<style lang="scss" scoped>
  .machine-status {
    width: 390px;
    height: 230px;
    background: linear-gradient(
      270deg,
      #1f3e7a 0%,
      rgba(31, 62, 122, 0.35) 79%,
      rgba(31, 62, 122, 0) 100%
    );
    opacity: 0.85;
    margin: 2px 0 13 0;
    display: flex;
    justify-content: space-between;
    padding: 8px 0px 20px 18px;
    .info {
      height: 88px;
      display: flex;
      align-items: center;
      img {
        width: 94px;
        height: 88px;
      }
      .info-right {
        name {
          font-family: YouSheBiaoTiHei, YouSheBiaoTiHei;
          font-weight: 400;
          font-size: 24px;
          color: #0BE5F5;
          line-height: 28px;
        }
      }
    }
 }
</style>