智慧园区前端大屏
linwe
2024-11-25 dc9a330c08865f901f7527f98d4bcfcdf03ba93e
代码优化
2 files modified
21 ■■■■■ changed files
src/pages/layout/components/scomponents/layersControl.vue 4 ●●●● patch | view | raw | blame | history
src/views/companyInfo/components/box/fireSource.vue 17 ●●●●● patch | view | raw | blame | history
src/pages/layout/components/scomponents/layersControl.vue
@@ -232,7 +232,7 @@
            subType: 'geojsonPipe',
            layerName: 'wsgw',
            source: wsgw,
            color: DC.Color.BLACK,
            color: DC.Color.DARKBLUE,
            height: 68,
          },
          {
@@ -826,7 +826,7 @@
// 飞到园区范围
const flyToyqfw = () => {
  console.log('flyToyqfw***************************************', addTileLayers['yqfw'])
  // console.log('flyToyqfw***************************************', addTileLayers['yqfw'])
  window.$viewer.flyTo(addTileLayers['yqfw'])
}
src/views/companyInfo/components/box/fireSource.vue
@@ -27,12 +27,13 @@
    </div>
    <div class="company-info">
      <div class="" style="text-align: center;margin-top: 10px;">基本信息</div>
      <div class="company-info-item" v-for="item in companyInfoList" :key="item.id">
        <el-row>
          <el-col :span="8">
          <el-col :span="6">
            <div class="company-info-title">{{ item.title }}</div>
          </el-col>
          <el-col :span="16">
          <el-col :span="18">
            <div class="company-info-content">{{ item.content }}</div>
          </el-col>
        </el-row>
@@ -43,10 +44,10 @@
      <div class="" style="text-align: center;margin-top: 10px;">救援队伍</div>
      <div class="company-info-item" v-for="item in rescueTeamList" :key="item.id">
        <el-row>
          <el-col :span="8">
          <el-col :span="6">
            <div class="company-info-title">{{ item.title }}</div>
          </el-col>
          <el-col :span="16">
          <el-col :span="18">
            <div class="company-info-content">{{ item.content }}</div>
          </el-col>
        </el-row>
@@ -189,15 +190,17 @@
}
.company-info-item {
  margin-top: 13px;
  // margin-top: 13px;
}
.company-info-title {
  font-weight: bold;
  // font-weight: bold;
  margin: 4px 0;
}
.company-info-content {
  font-size: 13px;
  // font-size: 13px;
  margin: 4px 0;
}