rydw.vue 29.3 KB
Newer Older
forevertyler's avatar
forevertyler committed
1 2 3
<template>
    <!-- 主体内容 -->
    <div class="main-content">
4 5 6 7 8 9 10 11 12 13 14 15 16 17
      <!-- 左侧 -->
      <div class="sidebar sidebar-left">
          <div class="sidebar-item">
            <div class="sub-title por"><span>井下人员实时数据统计</span></div>
            <div class="sub-con sub-con1">
              <div class="sub-con-left por">
                <div><p>带班领导:{{ subStaStatus.leader||0 }}</p></div>
              </div>
              <div class="sub-con-right">
                <div><p class="p-out"><i>系统监控总人数</i><span class="por">{{ subStaStatus.systemMonitorAllCount||0  }}</span></p></div>
                <div><p class="p-out"><i>下井总人数</i><span class="por">{{ subStaStatus.peopleIntoWellCount||0  }}</span></p></div>
                <div><p class="p-out"><i>地面井口总人数</i><span class="por">{{ subStaStatus.groundWellCount||0  }}</span></p></div>
                <div><p class="p-out"><i>重点区域人数</i><span class="por">{{ subStaStatus.keyAreaPopulation||0  }}</span></p></div>
              </div>
forevertyler's avatar
forevertyler committed
18
            </div>
19 20 21 22 23 24 25
            
          </div>
          <!-- 状态统计组件 -->
          <div class="sidebar-item status-box">
            <div class="sub-title por"><span>区域人数实时分布图</span></div>
            <div class="sub-con">
              <div class="left-chart" ref="left1" id="left1"></div>
forevertyler's avatar
forevertyler committed
26
            </div>
27 28 29 30 31 32 33 34 35 36
          </div>
          <!-- 报警分析组件 -->
          <div class="sidebar-item alert-analysis">
            <div class="sub-title por"><span>井下人员实时状态</span></div>
            <div class="sub-con sub-con-scroll-table">
              <div class="custom-header">
                <span class="custom-header-item" >姓名</span>
                <span class="custom-header-item" >分站名称</span>
                <span class="custom-header-item" >距离分站</span>
                <span class="custom-header-item" >时间</span>
forevertyler's avatar
forevertyler committed
37
              </div>
38 39 40 41 42 43 44 45 46 47 48 49 50 51
              <vue-seamless-scroll :data="realTimeStatusData" class="warp " :class-option="classOption">
                <ul >
                  <li v-for="(item, index) in realTimeStatusData" :key="index" class="custom-item custom-item1">
                    <span class="custom-item-content custom-item-content1" v-text="item.perName"></span>
                    <span class="custom-item-content custom-item-content1" v-text="item.location"></span>
                    <span class="custom-item-content custom-item-content1" v-text="item.distance"></span>
                    <span class="custom-item-content custom-item-content1" v-text="item.lastTime"></span>
                  </li>
                </ul>
              </vue-seamless-scroll>
            </div>
            
          </div>
      </div>
forevertyler's avatar
forevertyler committed
52

53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
      <!-- 中间 -->
      <div class="main-area">
        
          
          <!-- 人员点位 -->
          <div v-for="(subStation,index) in subStationMid" :key="subStation.addressId" class="parent-container">
            <div 
              class="dot" 
              :class="`dot${index}`" 
              @click="handleStation(subStation.addressId)"
              :style="getStationStyle(subStation.addressId)"
            >
              <p>{{ subStation.count }}</p>
              <!-- <p style="font-size: 14px;">{{ subStation.location }}</p> -->
            </div>
          </div>
          
      </div>
forevertyler's avatar
forevertyler committed
71

72 73 74 75 76 77 78 79 80 81
      <!-- 右侧 -->
      <div class="sidebar sidebar-right">
        <div class="sidebar-item alert-analysis">
          <div class="sub-title por"><span>分站状态分析</span></div>
          <div class="sub-con sub-con-r">
            <div class="sub-con-r-left"></div>
            <div class="sub-con-r-right">
              <p><span>分站总数</span><span>---------</span><span>{{ subStaStatusData[0].num }}</span></p>
              <p><span>运行中分站</span><span>---------</span><span>{{ subStaStatusData[2].num }}</span></p>
              <p><span>休眠中分站</span><span>---------</span><span>{{ subStaStatusData[1].num }}</span></p>
forevertyler's avatar
forevertyler committed
82
            </div>
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
          </div>
        </div>
        <!-- 重点区域组件 -->
        <div class="sidebar-item alert-analysis">
          <div class="sub-title por"><span>近30天报警分析</span></div>
          <div class="sub-con">
            <div class="left-chart" ref="right" id="right"></div>
          </div>
        </div>
        <!-- 报警信息流 -->
        <div class="sidebar-item alert-analysis">
          <div class="sub-title por"><span>近7日井下人员报警信息</span></div>
          <div class="sub-con sub-con-scroll-table">
            <div class="custom-header custom-header2">
              <span class="custom-header-item custom-header-item2" >姓名</span>
              <span class="custom-header-item custom-header-item2" >部门</span>
              <span class="custom-header-item custom-header-item2" >报警时间</span>
              <span class="custom-header-item custom-header-item2" >报警位置</span>
            </div>
            <vue-seamless-scroll :data="recentSevDaysAlarmsData" class="warp " :class-option="classOption">
              <ul >
                <li v-for="(item, index) in recentSevDaysAlarmsData" :key="index" class="custom-item custom-item2">
                  <span class="custom-item-content custom-item-content2" v-text="item.perName"></span>
                  <span class="custom-item-content custom-item-content2" v-text="item.departName"></span>
                  <span class="custom-item-content custom-item-content2" v-text="item.alarmTime"></span>
                  <span class="custom-item-content custom-item-content2" v-text="item.location"></span>
                </li>
              </ul>
            </vue-seamless-scroll>
          </div>
        </div>
      </div>
      <!-- 弹窗内容 -->
      <div class="dialog-main" v-show="dialogTableVisible">
        <div class="dia-header">
          <p class="dia-tit"><span>分站信息</span></p>
          <p class="close-btn" @click="closeDialog"><span>×</span></p>
forevertyler's avatar
forevertyler committed
120
        </div>
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
        <div class="dialog-content">
          <div class="sub-info">
            <p v-if="perOnlineSituationData.length>0">分站名称:{{ perOnlineSituationData[0].locationName }}</p>
            <p v-if="perOnlineSituationData.length>0">分站编号:{{ perOnlineSituationData[0].locationId }}</p>
            <p v-if="perOnlineSituationData.length>0">分站位置:{{ perOnlineSituationData[0].location }}</p>
          </div>
          <div class="dia-table-header">
            <span>卡号</span>
            <span>姓名</span>
            <span>部门</span>
            <span>工种</span>
            <span>距离分站(m)</span>
            <span>到达位置</span>
            <span>来向</span>
            <span>时间</span>
            <span>进入区域</span>
            <span>入井时间</span>
            
          </div>
          <vue-seamless-scroll :data="perOnlineSituationData" class="warp2 " :class-option="classOption2">
            <ul v-if="perOnlineSituationData.length>0">
              <li v-for="(item, index) in perOnlineSituationData" :key="index" class="custom-item custom-item3">
                <span class="custom-item-content custom-item-content3" v-text="item.cardNumber"></span>
                <span class="custom-item-content custom-item-content3" v-text="item.perName"></span>
                <span class="custom-item-content custom-item-content3" v-text="item.departName"></span>
                <span class="custom-item-content custom-item-content3" v-text="item.worName"></span>
                <span class="custom-item-content custom-item-content3" v-text="item.distance"></span>
                <span class="custom-item-content custom-item-content3" v-text="item.localtion"></span>
                <span class="custom-item-content custom-item-content3" v-text="item.fromLoaction"></span>
                <span class="custom-item-content custom-item-content3" v-text="item.lastTime"></span>
                <span class="custom-item-content custom-item-content3" v-text="item.areaName"></span>
                <span class="custom-item-content custom-item-content3" v-text="item.entryTime"></span>
              </li>
            </ul>
          </vue-seamless-scroll>
        </div>
      </div>
      
    </div>
forevertyler's avatar
forevertyler committed
160 161 162 163
</template>
<script>
import * as echarts from "echarts";
import screenfull from "screenfull";
164 165 166 167 168 169 170 171 172 173
import {
  realTimeStatistics,
  realTimeDistribution,
  realTimeStatus,
  stationStatus,
  recentThDaysAlarms,
  recentSevDaysAlarms,
  perStationInfo,
  perOnlineSituation,
} from "@/api/tyler/screen";
forevertyler's avatar
forevertyler committed
174 175 176 177
export default {
  name: "cockpit",
  data() {
    return {
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
      dialogTableVisible:false,
      gridData: [{
        date: '2016-05-02',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-04',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-01',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }, {
        date: '2016-05-03',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      }],
      realTimeStatusData: [
        { perName: "陈玉强", location: "一中运输巷", distance: 14.21, lastTime: "2025-01-10 14:21:31" },
forevertyler's avatar
forevertyler committed
198
      ],
199 200
      recentSevDaysAlarmsData: [
        { perName: "陈玉强", departName: "生产部", alarmTime: "2025-01-10 14:21:31", location: "四中车场" },
forevertyler's avatar
forevertyler committed
201
      ],
202 203 204 205 206 207
      subStaStatus:[],
      realTimeDistributionData:[],
      subStaStatusData:[
        {num:0},
        {num:0},
        {num:0},
forevertyler's avatar
forevertyler committed
208
      ],
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
      recentThDaysAlarmsData:[],
      classOption: {
        singleHeight: 47,
        hoverStop: true,
        autoPlay: true,
      },
      classOption2: {
        singleHeight: 60,
        hoverStop: true,
        autoPlay: true,
      },
      perOnlineSituationData:[],
      subStationMid:[
        {
            "count": 0,
            "location": "一中车场",
            "addressId": 1
        }
forevertyler's avatar
forevertyler committed
227
      ],
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257

      stationPositions: {
        1: { left: '84px', top: '240px' },
        2: { left: '352px', top: '290px' },
        4: { left: '84px', top: '342px' },
        5: { left: '148px', top: '360px' },
        6: { left: '194px', top: '362px' },
        7: { left: '84px', top: '440px' },
        8: { left: '200px', top: '470px' },
        9: { left: '820px', top: '114px' },//东风井井口
        10: { left: '136px', top: '672px' },
        11: { left: '84px', top: '540px' },
        12: { left: '84px', top: '650px' },
        13: { left: '152px', top: '260px' },
        14: { left: '74px', top: '128px' },//小高尖井口
        15: { left: '232px', top: '292px' },
        16: { left: '554px', top: '280px' },
        17: { left: '690px', top: '84px' },
        18: { left: '265px', top: '377px' },
        19: { left: '200px', top: '400px' },
        20: { left: '534px', top: '390px' },
        21: { left: '675px', top: '367px' },
        22: { left: '400px', top: '500px' },
        23: { left: '300px', top: '530px' },
        24: { left: '500px', top: '518px' },
        25: { left: '580px', top: '500px' },
        26: { left: '350px', top: '616px' },
        27: { left: '252px', top: '590px' },
        28: { left: '700px', top: '254px' },
      }
forevertyler's avatar
forevertyler committed
258 259 260 261 262 263 264 265
    };
  },
  mounted() {
    if (screenfull && screenfull.enabled && !screenfull.isFullscreen) {
      screenfull.request();
    }
    this.areaCharts();
    this.alarm30();
266 267 268 269 270 271
    // this.getUnPerRealData()
    this.subStationObj();
    this.subStationStatusObj();
    this.realTimeStatusList();
    this.recentSevDaysAlarmsList();
    this.perStationInfoList();
forevertyler's avatar
forevertyler committed
272 273
  },
  methods: {
274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313
    
    // 分站状态分析
    subStationObj(){
      realTimeStatistics().then(res => {
        this.subStaStatus = res.data;
      })
    },
    //区域人数实时分布图
    async realTimeDistributionList() {
      try {
        const res = await realTimeDistribution();
        this.realTimeDistributionData = res.data;
      } catch (error) {
        console.error('Error fetching real-time distribution data:', error);
      }
    },
    //井下人员实时状态
    realTimeStatusList(){
      realTimeStatus().then(res => {
        this.realTimeStatusData = res.data;
      })
    },
    // 分站状态分析
    subStationStatusObj(){
      stationStatus().then(res => {
        this.subStaStatusData = res.data;
      })
    },
    //近7日井下人员报警信息
    recentSevDaysAlarmsList(){
      recentSevDaysAlarms().then(res => {
        this.recentSevDaysAlarmsData = res.data;
      })
    },
    //中间分站信息
    perStationInfoList(){
      perStationInfo().then(res => {
        this.subStationMid = res.data;
      })
    },
forevertyler's avatar
forevertyler committed
314 315 316 317
    // 辅助方法:获取字段值
    getItemField(item, fieldKey) {
      return item[this.fieldMap[fieldKey]] || "";
    },
318
    async areaCharts() {
forevertyler's avatar
forevertyler committed
319 320
      let that = this;
      let myChart = echarts.init(document.getElementById('left1'));
321 322 323
      await this.realTimeDistributionList();
      let xAxisData =that.realTimeDistributionData.map(item => item.name);
      let yAxisData = that.realTimeDistributionData.map(item => item.value);
forevertyler's avatar
forevertyler committed
324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
      let option ={
          title: {
            text: "",
            x: "center",
            y:"4%",
            textStyle: {
                color: '#fff',
                fontSize: '12'
            },
            subtextStyle: {
                color: '#90979c',
                fontSize: '12',

            },
          },
          tooltip: {
              trigger: 'axis',
              axisPointer: {
                  type: 'shadow'
              }
          },
          grid: {
              top: '5%',
              right: '3%',
              left: '8%',
              bottom: '12%'
          },
          xAxis: [{
              type: 'category',
              data: xAxisData,
              axisLine: {
                  show:true,
                  lineStyle: {
                      color: 'rgba(255,255,255,0.12)'
                  }
              },
              axisLabel: {
                  show:true,
                  margin: 10,
                  color: '#fff',
                  textStyle: {
365
                      fontSize: 12
forevertyler's avatar
forevertyler committed
366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432
                  },
              },
          }],
          yAxis: [{
              axisLabel: {
                  show:true,
                  formatter: '{value}',
                  color: '#B7CCDA',
                  textStyle: {
                      fontSize: 14
                  },
              },
              axisTick:{       //y轴刻度线
                show:true,
                color: '#e2e9ff',
              },
              axisLine: {
                  show: true,
                  color: '#e2e9ff',
                  lineStyle: {
                      color: 'rgba(255,255,255,0.12)'
                  }
              },
              splitLine: {
                  show:true,
                  lineStyle: {
                      color: 'rgba(255,255,255,0.12)'
                  }
              }
          }],
          series: [{
              type: 'bar',
              data: yAxisData,
              barWidth: '16px',
              itemStyle: {
                  normal: {
                      color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
                          offset: 0,
                          color: '#37BBFF' // 0% 处的颜色
                      }, {
                          offset: 1,
                          color: '#1C3454' // 100% 处的颜色
                      }], false),
                      // barBorderRadius: [30, 30, 8, 8],
                      // shadowColor: 'rgba(0,160,221,1)',
                      // shadowBlur: 4,
                  }
              },
              label: {
                  normal: {
                      show: false,
                      lineHeight: 20,
                      width: 10,
                      height: 20,
                      backgroundColor: 'rgba(0,160,221,0.1)',
                      // borderRadius: 200,
                   
                  }
              }
          }]
      }
      myChart.setOption(option);
      setTimeout(() => {
        myChart.resize();
      }, 600);

    },
433 434 435 436 437 438 439 440 441 442
  
    async recentThDaysAlarmsList() {
      try {
        const res = await recentThDaysAlarms();
        this.recentThDaysAlarmsData = res.data;
      } catch (error) {
        console.error('Error fetching real-time distribution data:', error);
      }
    },
    async alarm30(){
forevertyler's avatar
forevertyler committed
443
      let that = this;
444 445 446 447
      await this.recentThDaysAlarmsList();
      let salvProName =that.recentThDaysAlarmsData.map(item => item.name);
      let salvProValue = that.recentThDaysAlarmsData.map(item => item.num);

forevertyler's avatar
forevertyler committed
448
      let myChart = echarts.init(document.getElementById('right'));
449
    
forevertyler's avatar
forevertyler committed
450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595
      var salvProMax = []; //背景按最大值
      for (let i = 0; i < salvProValue.length; i++) {
        salvProMax.push(salvProValue[0]);
      }
      let option ={
        grid: {
          left: "4%",
          right: "0%",
          bottom: "2%",
          top: "2%",
          containLabel: true,
        },
        tooltip: {
          trigger: "axis",
          axisPointer: {
            type: "none",
          },
          formatter: function (params) {
            return params[0].name + " : " + params[0].value;
          },
        },
        xAxis: {
          // show: false,
          type: "value",
          axisLabel: {
              show:true,
              color: '#B7CCDA',
              textStyle: {
                  fontSize: 14
              },
          },
          axisLine: {
            show: false,
          },
          splitLine: {
            show: false,
          },
        },
        yAxis: [
          {
            type: "category",
            inverse: true,
            axisLabel: {
              show: true,
              textStyle: {
                color: "#fff",
                fontSize: 14
              },
            },
            splitLine: {
              show: false,
            },
            axisTick: {
              show: false,
            },
            axisLine: {
              show: false,
            },
            data: salvProName,
          },
          {
            type: "category",
            inverse: true,
            axisTick: "none",
            axisLine: "none",
            show: false,
            axisLabel: {
              textStyle: {
                color: "#ffffff",
                fontSize: "14",
              },
            },
            data: salvProValue,
          },
        ],
        series: [
          {
            name: "",
            type: "bar",
            zlevel: 1,
            itemStyle: {
              normal: {
                // barBorderRadius: 30,
                color: new echarts.graphic.LinearGradient(0, 0, 1, 0, [
                  {
                    offset: 0,
                    color: "#1C3454",
                  },
                  {
                    offset: 1,
                    color: "#37BBFF",
                  },
                ]),
              },
            },
            barWidth: 10,
            data: salvProValue,
          },
          {
            name: "背景",
            type: "bar",
            barWidth: 10,
            barGap: "-100%",
            data: salvProMax,
            itemStyle: {
              normal: {
                color: "rgba(24,31,68,1)",
                barBorderRadius: 30,
              },
            },
          },
        ],
      };
      myChart.setOption(option);
      setTimeout(() => {
        myChart.resize();
      }, 600);

    },
    //自动滚动
    autoScroll() {
      const divData = this.$refs.scroll_List3;
      // 拿到表格中承载数据的div元素
      divData.scrollTop += 1;
        if (
          Math.round(divData.clientHeight + divData.scrollTop) + 1 >=
          divData.scrollHeight
        ) {
          // 重置table距离顶部距离
          divData.scrollTop = 0;
        }
        this.scrolltimer3 = window.requestAnimationFrame(
          this.autoScroll.bind(this)
        );
    },
    //停止滚动
    cancelScroll() {
      window.cancelAnimationFrame(this.scrolltimer3)
    },
    goToSys(){
      var link = this.$router.resolve({
        path: "/",
      });
      window.open(link.href);
      return;
    },
596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613
    getStationStyle(addressId) {
      return this.stationPositions[addressId] || {};
    },
    handleStation(addressId) {
      
      perOnlineSituation({addressId}).then(res => {
        console.log(res,'res')
        
        if(res.data&&res.data.length>0){
          this.perOnlineSituationData = res.data
          this.dialogTableVisible = true;
        }
      })
    },
    closeDialog() {
      this.dialogTableVisible = false;
      this.perOnlineSituationData = []
    }
forevertyler's avatar
forevertyler committed
614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786
  },
};
</script>
<style lang="scss" scoped>
.por{position: relative;}
.sidebar-left{
  transform-origin: left center;
  transform: scaleX(1) perspective(610px) rotateY(5deg);
}
.sidebar-right{
  transform-origin:center right ;
  transform: scaleX(1) perspective(610px) rotateY(-5deg);
}
/* 主体内容 */
.main-content {
    // flex: 1;
    // display: grid;
    // grid-template-columns: 1fr 3fr 1fr; /* 三列布局 */
    // gap: 20px;
    // max-height: calc(100% - 70px);
    // overflow: hidden;
    display: flex;
    justify-content: space-between;
    padding:0 30px;
    
}

/* 左右侧边栏 */
.sidebar {
  width: 460px;
  border-radius: 8px;
  flex: 1;
  // display: flex;
  // flex-direction: column;
  display: grid;
  grid-template-rows: repeat(3,1fr);
  gap: 2px;
  margin-top: -10px;
}
.sidebar-item{
  width: 100%;
  height: 286px;
  margin-bottom: 30px;
  background: linear-gradient(180deg, rgba(1,33,58,.2) 0%, rgba(8,132,233,.2) 100%);
  position: relative;
  &::before{
    content: '';
    width: 460px;
    height: 4px;
    position: absolute;
    background: url("~@/assets/images/screen/bottom.png") no-repeat center;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 20;
  }
  .sub-title{
    width: 100%;
    height: 46px;
    background: url("~@/assets/images/screen/title1.png") no-repeat center;
    font-weight: bold;
    span{
      position: absolute;
      top:-10px;
      left:30px;
      font-size: 22px;
    }
  }
  .sub-con1{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    .sub-con-left{
      div{
        margin-top: -40px;
        width: 144px;
        height: 178px;
        background: url("~@/assets/images/screen/icon1.png") no-repeat center;
        
        p{
          font-size: 18px;
          color: #FFFFFF;
          background: linear-gradient(180deg, #FFED9B 0%, #FFFFFF 48.9990234375%, #FFE25D 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          text-align: center;
          font-weight: bold;
        }
      }
      
    }
    .sub-con-right{
      div{
        width: 243px;
        height: 32px;
        background: url("~@/assets/images/screen/underline.png") no-repeat center;
        position: relative;
        margin-bottom: 30px;
        font-size: 18px;
        

        .p-out{
          width: 100%;
          position: absolute;
          left:30px;
          top:-16px;
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: space-between;
          padding-right: 50px;
          span{
            font-size: 30px;
            color: #FFD929;
            text-indent: 15px;
            font-family: 'number';
            margin-top: -4px;
            &::before{
              content: '';
              width: 6px;
              height: 8px;
              position: absolute;
              background: url("~@/assets/images/screen/icon2.png") no-repeat center;
              left: 5px;
              top:10px;
              z-index: 20;
            }
           
          }
        }
        &:nth-child(1) p.p-out span{
          color: #29CAFF;
        }
        &:nth-child(2) p.p-out span{
          color: #00FFC0;
        }
      }
      
      
    }
  }
}
/* 中间主区域 */
.main-area {
  width: calc(100% - 920px);
  background: url("~@/assets/images/screen/bg3.png") no-repeat center;
  text-align: center;
}

/* 实时分布图区域 */
.distribution-map {
    height: 300px;
    background: rgba(8, 28, 49, 0.8);
    border-radius: 8px;
}

/* 底部信息栏 */
// .footer {
//     height: 120px;
//     margin-top: 20px;
//     background: rgba(0, 72, 143, 0.6);
//     border-radius: 8px;
//     display: flex;
//     align-items: center;
//     padding: 0 30px;
// }


.left-chart{
  width: 100%;
  height: 14em;
}
.sub-con-scroll-table{
787 788
  width: 100%;
  height: 100%;
forevertyler's avatar
forevertyler committed
789 790 791 792
  margin: 0 auto;
  overflow: hidden;
}
.custom-header{
793 794
  width: 460px;
  margin: 0 auto;
forevertyler's avatar
forevertyler committed
795 796 797 798
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  text-align: center;
  color: #2ED5FF;
799 800
  margin-bottom: 10px;
  font-weight: bold;
forevertyler's avatar
forevertyler committed
801 802 803 804 805 806 807
}
.custom-item{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  text-align: center;
}
808 809 810 811 812 813
.custom-header-item{
  display: flex;
  justify-content: center;
  align-items: center;
}

forevertyler's avatar
forevertyler committed
814 815 816
.custom-header2{
  width: 100%;
  display: grid;
817
  grid-template-columns: 1fr 1fr 3fr 2fr;
forevertyler's avatar
forevertyler committed
818 819 820 821 822 823
  text-align: center;
  color: #2ED5FF;
}
.custom-item2{
  width: 100%;
  display: grid;
824
  grid-template-columns: 1fr 1fr 3fr 2fr;
forevertyler's avatar
forevertyler committed
825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868
  text-align: center;
}
.sub-con-r{
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: calc(100% - 70px);
  .sub-con-r-left{
    width: 127px;
    height: 161px;
    background: url("~@/assets/images/screen/icon3.png") no-repeat center;
    background-size: 100%;
  }
  .sub-con-r-right{
    
    width: 250px;
    display: flex;
    flex-direction: column;
    // gap: 10px;
    p{
      display: grid;
      grid-template-columns: 4fr 4fr 1fr;
      font-size: 18px;
      line-height: 24px;
      color: #BBD7EA;
      background-color: rgba(61, 98, 147,.2);
      padding:10px 10px;
      text-align: justify;
      box-sizing: border-box;
      span:nth-child(2){
        color: rgba(187, 215, 234,.2);
      }
      span:nth-child(3){
        font-weight: bold;
        font-size: 24px;
        color: #BBD7EA;
        background: linear-gradient(0deg, #47C5FF 0%, #FDFEFF 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
    }
  }
}
869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040
.warp {
  height: calc(100% - 80px);
  width: 460px;
  margin: 0 auto;
  overflow: hidden;
  ul {
    list-style: none;
    padding: 0;
    margin: 10px auto 0;
    width: 100%;
    li.custom-item{
      
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 2fr;
      text-align: center;

      margin-bottom: 5px;
      height: 36px;
      font-size: 16px;
      color: #BBD7EA;
      position: relative;
      background-color: rgba(61, 98, 147,.2);
      span{
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
    li.custom-item2{
      display: grid;
      grid-template-columns: 1fr 1fr 3fr 2fr;
      text-align: center;
    }
  }
}
.parent-container{
  position: relative;
}
.dot{
  width: 42px;
  height: 53px;
  background: url("~@/assets/images/screen/icon4.png") no-repeat center;
  background-size: 100%;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  p{
    font-size: 20px;
    color: #BBD7EA;
    background: linear-gradient(0deg, #47C5FF 0%, #FDFEFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    text-align: center;
    margin: 0;
  }
  &:hover{
    background: url("~@/assets/images/screen/icon5.png") no-repeat center;
    background-size: 100%;
    z-index: 20;

  }
}

.dialog-main {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  width: 1262px;
  background: linear-gradient(0deg, #062451 0%, #09162D 100%);
  box-shadow: 0px 15px 11px 2px rgba(0,20,39,0.31);
  border: 2px solid #11B9FF;
}

.dia-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
 
  .dia-tit{
    width: 1140px;
    height: 46px;
    font-size: 22px;
    color: #FFFFFF;
    font-weight: bold;
    background: url("~@/assets/images/screen/underline-dia.png") no-repeat center;
    background-size: 100%;
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0;
    span{
      position: absolute;
      left: 20px;
      top: -14px;
    }
    
  }
}

.close-btn {
  cursor: pointer;
  position: relative;
  span{
    font-size: 28px;
    position: absolute;
    left: -20px;
    top: -38px;
  }
}

.dialog-content {
  text-align: center;
  .sub-info{
    width: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-indent: 1em;
    font-size: 18px;
    color: #36FFF8;
  }
}
.dia-table-header{
  width: 100%;
  height: 36px;
  background: linear-gradient(0deg, rgba(31,169,255,0.5) 0%, rgba(31,169,255,0.03) 100%);
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 2fr 2fr 2fr 2fr 4fr 2fr 4fr ;
  text-align: center;
  font-size: 16px;
  color: #2ED5FF;
  line-height: 36px;
  font-weight: bold;
}
.warp2{
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  ul{
    margin: 0;
    padding: 0;
    li{
      margin-bottom: 20px;
      line-height: 40px;
      font-size: 18px;
    
      background-color: rgba(61, 98, 147,.2);
    }
  }
}
.custom-item3{
  width: 100%;
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 2fr 2fr 2fr 2fr 4fr 2fr 4fr ;
  text-align: center;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
forevertyler's avatar
forevertyler committed
1041
</style>