<template>
  <div>
    <div class='info-box'>
      <h2 class="info-title">基本信息</h2>
      <div class='cell'>
        <span class='left'>设备简码：</span>
        <span class='right'>{{data.sbjbm || '--'}}</span>
      </div>
      <div class='cell'>
        <span class='left'>设备简称：</span>
        <span class='right'>{{data.sbjc || '--'}}</span>
      </div>
    </div>
    <div class='info-box'>
      <h2 class="info-title">详情信息</h2>
      <div class='cell'>
        <span class='left'>设备全码：</span>
        <span class='right'>{{data.sbqm || '--'}}</span>
      </div>
      <div class='cell'>
        <span class='left'>设备全称：</span>
        <span class='right'>{{data.sbqc || '--'}}</span>
      </div>
      <div class='cell'>
        <span class='left'>详细位置：</span>
        <span class='right'>{{data.s_wzqc || '--'}}</span>
      </div>
      <div class='cell'>
        <span class='left'>设备数量：</span>
        <span class='right'>{{data.sl || '--'}}</span>
      </div>
      <div class='cell'>
        <span class='left'>服务区域：</span>
        <span class='right'>{{data.fwqy || '--'}}</span>
      </div>
      <div class='cell'>
        <span class='left'>负责人：</span>
        <span class='right'>{{data.zrr || '--'}}</span>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    data: {
      type: Object,
      default: () => {
        return {}
      }
    },
  },
  data() {
    return {
    }
  },

  methods: {
  },
  mounted() { }
}
</script>
<style lang="less" scoped>
// 设备信息
.info-box {
  width: 100%;
  overflow: auto;
  padding: 16px;
  margin-bottom: 10px;
  background-color: #ffffff;
  .info-title {
    font-size: 16px;
    color: #333333;
    padding-bottom: 4px;
  }
  .cell {
    width: 100%;
    min-height: 20px;
    margin-top: 12px;
    display: flex;
    .left {
      width: 75px;
      color: #666;
      font-size: 14px;
    }
    .right {
      flex: 1;
      color: #333;
      font-size: 14px;
    }
  }
}
</style>