rightBar.vue 25.6 KB
Newer Older
纪泽龙's avatar
纪泽龙 committed
1
<template>
2
  <div style="height: 100%">
yaqizhang's avatar
yaqizhang committed
3
    <!-- 预警信息 -->
4 5 6 7 8
    <div>
      <div class="item1">
        <span class="dot">
          <span class="dot-inner"></span>
        </span>
9 10 11 12 13
        <span
          style="letter-spacing: 3px; color: #cddbe4; cursor: pointer"
          @click="$router.push('/operationMonitor/operationMonitor')"
          >预警信息</span
        >
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
        <div
          class="fong-div"
          style="
            width: 8px;
            height: 12px;
            background-color: #2c888899;
            float: right;
            margin-top: 10px;
            transform: skewX(-25deg);
          "
        ></div>
        <div
          class="fong-div"
          style="
            width: 8px;
            height: 12px;
            background-color: #24b1b1b3;
            float: right;
            margin-top: 10px;
            margin-right: 10px;
            transform: skewX(-25deg);
          "
        ></div>
        <div
          class="fong-div"
          style="
            width: 8px;
            height: 12px;
            background-color: #11e9e9b3;
            float: right;
            margin-top: 10px;
            margin-right: 10px;
            transform: skewX(-25deg);
          "
        ></div>
      </div>
    </div>
51
    <div class="" style="padding: 0px 10px">
yaqizhang's avatar
yaqizhang committed
52 53
      <div class="yujingleft yujing">
        <div class="yujingtop">
54 55 56 57 58 59
          <img
            src="@/assets/mapinages/group786.png"
            alt=""
            style="width: 50px; height: 50px"
          />
        </div>
yaqizhang's avatar
yaqizhang committed
60 61
        <div class="yujingbottom">
          <div>设备预警</div>
62 63
          <span>2</span>
        </div>
64
      </div>
yaqizhang's avatar
yaqizhang committed
65 66
      <div class="yujingcenter yujing" >
        <div class="yujingtop" >
67 68 69 70 71
          <img
            src="@/assets/mapinages/group787.png"
            alt=""
            style="width: 50px; height: 50px"
          />
72
        </div>
yaqizhang's avatar
yaqizhang committed
73 74
        <div class="yujingbottom">
          <div>事件情况</div>
75 76 77
          <span>2</span>
        </div>
      </div>
yaqizhang's avatar
yaqizhang committed
78 79
      <div  class="yujingright yujing" >
        <div class="yujingtop">
80 81 82 83 84
          <img
            src="@/assets/mapinages/group788.png"
            alt=""
            style="width: 50px; height: 50px"
          />
85
        </div>
yaqizhang's avatar
yaqizhang committed
86 87
        <div class="yujingbottom">
          <div>隐患数量</div>
88 89 90 91 92
          <span>2</span>
        </div>
      </div>
    </div>

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 120 121 122 123 124 125 126 127 128 129 130 131 132
    <div class="left">
      <div
        class="bottom right-bottom-data-left"
        @mouseover="mouseover"
        @mouseout="mouseout"
      >
        <el-table
          size="mini"
          :data="tableData"
          :height="tableHeight"
          class="el-bottom"
          ref="table"
        >
          <el-table-column prop="unitName" label="所在单位" width="80">
            <template slot-scope="scope">
              <div class="zzz" :title="scope.row.unitName">
                {{ scope.row.unitName }}
              </div>
            </template>
          </el-table-column>
          <el-table-column prop="detectorType" label="设备类型" width="80">
            <template slot-scope="scope">
              <div class="zzz" :title="scope.row.detectorType">
                {{ scope.row.detectorType }}
              </div>
            </template>
          </el-table-column>
          <el-table-column prop="statusName" label="预警信息" width="80">
            <template slot-scope="scope">
              <div class="zzz" :title="scope.row.statusName">
                {{ scope.row.statusName }}
              </div>
            </template>
          </el-table-column>
          <el-table-column prop="alarmTime" label="预警时间" width="140">
          </el-table-column>
          <el-table-column prop="handledStatus" label="状态">
            <template slot-scope="scope">
              <div class="zzz" :title="scope.row.handledStatus">
                {{ scope.row.handledStatus }}
yaqizhang's avatar
yaqizhang committed
133
              </div>
134 135 136 137 138
            </template>
          </el-table-column>
        </el-table>
      </div>
    </div>
yaqizhang's avatar
yaqizhang committed
139

140
    <!-- 用户安全监控设备 -->
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
    <div>
      <div class="item1">
        <span class="dot">
          <span class="dot-inner"></span>
        </span>
        <span style="letter-spacing: 3px; color: #cddbe4"
          >用户安全监控设备</span
        >
        <div
          class="fong-div"
          style="
            width: 8px;
            height: 12px;
            background-color: #2c888899;
            float: right;
            margin-top: 10px;
            transform: skewX(-25deg);
          "
        ></div>
        <div
          class="fong-div"
          style="
            width: 8px;
            height: 12px;
            background-color: #24b1b1b3;
            float: right;
            margin-top: 10px;
            margin-right: 10px;
            transform: skewX(-25deg);
          "
        ></div>
        <div
          class="fong-div"
          style="
            width: 8px;
            height: 12px;
            background-color: #11e9e9b3;
            float: right;
            margin-top: 10px;
            margin-right: 10px;
            transform: skewX(-25deg);
          "
        ></div>
      </div>
纪泽龙's avatar
纪泽龙 committed
185
    </div>
yaqizhang's avatar
yaqizhang committed
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201
    <div class="inuser">
      <div class="outuserleft">
        <div class="outuserone">
          <p>燃气用户数量</p>
          <!-- <span class="outuserspan">{{ diviceNum.userNum }}</span> -->
        </div>
        <div id="huanleft" style="width: 235px; height: 170px"></div>
        <div class="inyuan">
          <div style="letter-spacing: 2px">用户总数</div>
          <span
            style="
              font-family: 'arialbd';
              letter-spacing: 2px;
              color: #00ffff;
              font-size: 20px;
            "
202 203 204
            >{{
              diviceNum.juminNum + diviceNum.shangNum + diviceNum.gongNum
            }}</span
yaqizhang's avatar
yaqizhang committed
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
          >
        </div>
        <div class="usernum">
          <div class="usernumin in4">
            <span></span>
            <span style="color: #cddbe4">居民用户 </span>
            <span style="font-family: 'arialbd'; letter-spacing: 2px">
              : {{ diviceNum.juminNum }}</span
            >
          </div>
          <div class="usernumin in5">
            <span></span>
            <span style="color: #cddbe4">商业用户 </span>
            <span style="font-family: 'arialbd'; letter-spacing: 2px">
              : {{ diviceNum.shangNum }}</span
            >
          </div>
          <div class="usernumin in6">
            <span></span>
            <span style="color: #cddbe4">工业用户 </span>
            <span style="font-family: 'arialbd'; letter-spacing: 2px">
              : {{ diviceNum.gongNum }}</span
            >
          </div>
        </div>
230
      </div>
231

yaqizhang's avatar
yaqizhang committed
232 233 234 235 236 237 238
      <div class="outuserright">
        <div class="outusertwo">
          <p>安全设备数量</p>
          <!-- <span class="outuserspan">{{
            diviceNum.baoNum + diviceNum.changNum + diviceNum.liNum
          }}</span> -->
        </div>
239
        <div id="huanright" style="width: 235px; height: 170px"></div>
yaqizhang's avatar
yaqizhang committed
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274
        <div class="inyuan">
          <div style="letter-spacing: 2px">设备总数</div>
          <span
            style="
              font-family: 'arialbd';
              letter-spacing: 2px;
              color: #00ffff;
              font-size: 20px;
            "
            >{{ diviceNum.baoNum + diviceNum.changNum + diviceNum.liNum }}</span
          >
        </div>
        <div class="usernum">
          <div class="usernumin in1">
            <span></span>
            <span style="color: #cddbe4">在线 </span>
            <span style="font-family: 'arialbd'; letter-spacing: 2px">
              : {{ diviceNum.changNum }}</span
            >
          </div>
          <div class="usernumin in2">
            <span></span>
            <span style="color: #cddbe4">离线 </span>
            <span style="font-family: 'arialbd'; letter-spacing: 2px">
              : {{ diviceNum.liNum }}</span
            >
          </div>
          <div class="usernumin in3">
            <span></span>
            <span style="color: #cddbe4">报警 </span>
            <span style="font-family: 'arialbd'; letter-spacing: 2px">
              : {{ diviceNum.baoNum }}</span
            >
          </div>
        </div>
275 276
      </div>
    </div>
277 278 279

    <!-- 资源统计 -->
    <div>
yaqizhang's avatar
yaqizhang committed
280
      <div class="item1" style="margin-top: 15px">
281 282 283
        <span class="dot">
          <span class="dot-inner"></span>
        </span>
284 285 286 287 288
        <span
          style="letter-spacing: 3px; color: #cddbe4; cursor: pointer"
          @click="$router.push('/regulation/station')"
          >资源统计</span
        >
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 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331
        <div
          class="fong-div"
          style="
            width: 8px;
            height: 12px;
            background-color: #2c888899;
            float: right;
            margin-top: 10px;
            transform: skewX(-25deg);
          "
        ></div>
        <div
          class="fong-div"
          style="
            width: 8px;
            height: 12px;
            background-color: #24b1b1b3;
            float: right;
            margin-top: 10px;
            margin-right: 10px;
            transform: skewX(-25deg);
          "
        ></div>
        <div
          class="fong-div"
          style="
            width: 8px;
            height: 12px;
            background-color: #11e9e9b3;
            float: right;
            margin-top: 10px;
            margin-right: 10px;
            transform: skewX(-25deg);
          "
        ></div>
      </div>
    </div>
    <div
      class="echarts-one"
      style="margin-top: 10px; width: 430px; margin-left: 10px"
    >
      <div id="myChartone" :style="{ width: '420px', height: '240px' }"></div>
    </div>
332
  </div>
纪泽龙's avatar
纪泽龙 committed
333 334 335
</template>

<script>
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 365 366 367
// 引入基本模板
import * as echarts from "echarts";
import { alarmData, selectDeviceNum } from "@/api/detector/detectorInfo";
// 当不轮播时候的刷新时间
import { alarmtime } from "@/utils/mapClass/config";
export default {
  // components: {
  //     RightPic,
  // },
  data() {
    return {
      allNum: {},
      diviceNum: {
        baoNum: 0,
        changNum: 0,
        liNum: 0,
        userNum: 0,
      },
      zeroNum: {
        fajing: 0,
        stationNum: 0,
        tiaoya: 0,
        videoNum: 0,
      },
      enterpriseIds: {
        enterpriseId: "",
      },
      timer: null,
      // 与bigwindow的报警同步的定时器
      alarmTimer: null,
      // 滚动功能的容器大还是列表大
      changeTimer: false,
368

369
      repeatFinshed: false,
370
      tableHeight: 135,
371 372 373 374 375 376 377 378 379
      tableData: [],
      scrollHeight: 0,
    };
  },
  mounted() {
    // this.$nextTick(()=>{
    //     this.getScrollHeight();
    // })
    this.getAlarm();
380

381 382 383 384 385
    selectDeviceNum(this.enterpriseIds).then((response) => {
      this.diviceNum = response.data;
      this.drawLine3();
    });
  },
386 387 388 389
  beforeDestroy() {
    console.log("清空定时器");
    clearInterval(this.alarmTimer);
  },
390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406
  methods: {
    getAlarm() {
      return alarmData().then((response) => {
        this.tableData = response.data.pageData;
        // console.log(response.data)
        // this.user = response.data;
        this.$nextTick(() => {
          this.getScrollHeight();
        });
      });
    },
    getScrollHeight() {
      const selectWrap = this.$refs.table.$el.querySelector(
        ".el-table__body-wrapper"
      );
      // 列表
      const select = this.$refs.table.$el
407
        ?.querySelector(".el-table__body-wrapper")
408
        .querySelector(".el-table__body");
yaqizhang's avatar
yaqizhang committed
409

410 411 412 413 414 415 416 417 418 419 420 421 422
      setTimeout(() => {
        // 列表容器高度
        const { height: heightWrapper } = selectWrap.getBoundingClientRect();
        // 列表高度
        const { height: heightSelect } = select.getBoundingClientRect();
        // 滚动条的高度 = 列表高度-列表容器高度
        this.scrollHeight = heightSelect - heightWrapper;
        // 如果列表高度大于列表容器高度,就让轮播到底重新调接口,否则就跟bigwindow同步调取接口
        if (heightSelect > heightWrapper) {
          this.timerAni();
          console.log("滚动");
        } else {
          this.alarmTimerAni();
423
          console.log("不滚动-----------------------------");
424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 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
        }
        // 列表大的时候鼠标移入移出就会触发暂停,否则就return
        this.changeTimer = heightSelect > heightWrapper;
      }, 1);
    },
    timerAni() {
      const selectWrap = this.$refs.table.$el.querySelector(
        ".el-table__body-wrapper"
      );
      clearInterval(this.timer);
      this.timer = setInterval(async () => {
        if (selectWrap.scrollTop == this.scrollHeight) {
          clearInterval(this.timer);
          await this.getAlarm();
          selectWrap.scrollTop = 0;
        } else {
          selectWrap.scrollTop += 1;
        }
      }, 100);
    },
    // 与外界报警同步
    alarmTimerAni() {
      this.alarmTimer = setTimeout(() => {
        this.getAlarm();
      }, alarmtime);
    },
    tableEnter() {
      clearInterval(this.timer);
    },
    // 列表大的时候鼠标移入移出就会触发暂停,否则就啥也不干
    mouseover() {
      this.changeTimer && this.tableEnter();
    },
    mouseout() {
      this.changeTimer && this.timerAni();
    },
    choice(val) {
      this.getNum(val);
    },
    getNum(val) {
      if (val != null && val != "") {
        this.enterpriseIds.enterpriseId = val.toString();
        selectDeviceNum(this.enterpriseIds).then((response) => {
          console.log(response);
          this.allNum = response.data;
          this.drawLine();
        });
      } else {
        this.allNum = this.zeroNum;
        this.drawLine();
      }
    },
    drawLine() {
      // 基于准备好的dom,初始化echarts实例
      let myChart1 = this.$echarts.init(document.getElementById("myChartone"));
      // 绘制图表
      myChart1.setOption({
        tooltip: {
          trigger: "item",
纪泽龙's avatar
纪泽龙 committed
483
        },
484 485 486
        grid: {
          top: "8%",
          left: "8%",
yaqizhang's avatar
yaqizhang committed
487
          right: "4%",
yaqizhang's avatar
yaqizhang committed
488
          bottom: "10%",
489 490 491 492 493 494 495 496 497 498 499
          containLabel: true,
        },
        xAxis: {
          data: ["阀井", "调压箱", "场站", "监控"],
          type: "category",
          // data: category,
          splitLine: { show: false },
          axisLine: {
            show: false,
            lineStyle: {
              color: "#bbb6b6",
yaqizhang's avatar
yaqizhang committed
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
          },
          axisTick: {
            show: false,
          },
          offset: 10,
          nameTextStyle: {
            fontSize: 15,
          },
        },
        yAxis: {
          type: "value",
          axisLine: {
            show: false,
            lineStyle: {
              color: "#688AB6",
            },
          },
          axisTick: {
            show: false,
          },
          splitLine: {
            show: true,
            lineStyle: {
              type: "dashed",
              color: "#464646",
yaqizhang's avatar
yaqizhang committed
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
          },
        },
        series: [
          {
            name: "资源数量统计",
            type: "bar",
            showSymbol: false,
            hoverAnimation: false,
            data: [
              this.allNum.fajing,
              this.allNum.tiaoya,
              this.allNum.stationNum,
              this.allNum.videoNum,
            ],
            barWidth: 18, //柱图宽度
            // barCategoryGap:'60%',
            itemStyle: {
              normal: {
                label: {
                  show: true, //开启显示
                  position: "top", //在上方显示
                  textStyle: {
                    //数值样式
                    color: "#688AB6",
                    fontSize: 12,
                  },
                },
                barBorderRadius: [5, 5, 0, 0], //每个柱子的颜色即为colorList数组里的每一项,如果柱子数目多于colorList的长度,则柱子颜色循环使用该数组
                color: function (params) {
                  //我这边就两个柱子,大体就两个柱子颜色渐变,所以数组只有两个值,多个颜色就多个值
                  var colorList = [
                    ["#00ffff", "#00fbfb80", "#112238"],
                    ["#198EF0", "#198ef099", "#112238"],
                  ];
                  var index = params.dataIndex;
                  if (params.dataIndex >= colorList.length) {
                    index = params.dataIndex - colorList.length;
                  }
纪泽龙's avatar
纪泽龙 committed
565

566 567 568 569 570 571 572
                  return new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                    { offset: 0, color: colorList[index][0] },
                    { offset: 0.5, color: colorList[index][1] },
                    { offset: 1, color: colorList[index][2] },
                  ]);
                },
              },
yaqizhang's avatar
yaqizhang committed
573
            },
574 575 576 577 578
          },
          {
            name: "资源数量统计",
            tooltip: {
              show: true,
yaqizhang's avatar
yaqizhang committed
579
            },
580 581 582 583 584 585 586 587 588 589 590 591 592
            type: "bar",
            barWidth: 10,
          },
          {
            name: "b",
            tooltip: {
              show: false,
            },
          },
          {
            name: "d",
            tooltip: {
              show: false,
纪泽龙's avatar
纪泽龙 committed
593
            },
594
          },
595 596 597 598 599 600
        ],
      });
    },

    drawLine3() {
      // 基于准备好的dom,初始化echarts实例
yaqizhang's avatar
yaqizhang committed
601
      let myChart31 = echarts.init(document.getElementById("huanleft"));
602
      let myChart32 = echarts.init(document.getElementById("huanright"));
603 604
      // 绘制图表
      myChart31.setOption({
605
        color: ["#91cc75", "#5470c6", "#fa8167"],
yaqizhang's avatar
yaqizhang committed
606 607 608 609 610 611 612 613 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
        grid: {
          left: 0,
          // right: 0,
          bottom: 0,
          top: 0,
          containLabel: true,
        },
        // grid: {
        //     bottom: 150,
        //     left: 100,
        //     right: '10%'
        // },

        series: [
          // 主要展示层的
          {
            radius: ["75%", "65%"],
            center: ["50%", "50%"],
            type: "pie",
            itemStyle: {
              borderRadius: 20,
            },
            label: {
              normal: {
                show: false,
                textStyle: {
                  fontSize: 13,
                },
                position: "outside",
              },
              emphasis: {
                show: false,
              },
            },
            labelLine: {
              normal: {
                show: false,
                length: 20,
                length2: 35,
              },
              emphasis: {
                show: true,
              },
            },
            name: "民警训练总量",
            data: [
              { name: "居民用户", value: this.diviceNum.juminNum },
              { name: "商业用户", value: this.diviceNum.shangNum },
              { name: "工业用户", value: this.diviceNum.gongNum },
            ],
          },
          // 边框的设置
          {
            name: "外边框",
            type: "pie",
            clockWise: false, //顺时加载
            hoverAnimation: false, //鼠标移入变大
            center: ["50%", "50%"],
            radius: ["80%", "80%"],
            label: {
              normal: {
                show: false,
              },
            },
            data: [
              {
                value: 9,
                name: "",
                itemStyle: {
                  normal: {
                    borderWidth: 2,
                    borderColor: "#61bad3",
                  },
                },
              },
            ],
          },
        ],
      });
      myChart32.setOption({
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
        color: ["#FF4040", "#F0C41B", "#188DF0"],
        grid: {
          left: 0,
          // right: 0,
          bottom: 0,
          top: 0,
          containLabel: true,
        },
        // grid: {
        //     bottom: 150,
        //     left: 100,
        //     right: '10%'
        // },

        series: [
          // 主要展示层的
          {
            radius: ["75%", "65%"],
            center: ["50%", "50%"],
            type: "pie",
            itemStyle: {
              borderRadius: 20,
            },
            label: {
              normal: {
                show: false,
                textStyle: {
                  fontSize: 13,
                },
                position: "outside",
yaqizhang's avatar
yaqizhang committed
716
              },
717 718
              emphasis: {
                show: false,
纪泽龙's avatar
纪泽龙 committed
719
              },
720 721 722 723 724 725
            },
            labelLine: {
              normal: {
                show: false,
                length: 20,
                length2: 35,
纪泽龙's avatar
纪泽龙 committed
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
              emphasis: {
                show: true,
              },
            },
            name: "民警训练总量",
            data: [
              { name: "报警数量", value: this.diviceNum.baoNum },
              { name: "离线数量", value: this.diviceNum.liNum },
              { name: "在线数量", value: this.diviceNum.changNum },
            ],
          },
          // 边框的设置
          {
            name: "外边框",
            type: "pie",
            clockWise: false, //顺时加载
            hoverAnimation: false, //鼠标移入变大
            center: ["50%", "50%"],
            radius: ["80%", "80%"],
            label: {
              normal: {
                show: false,
              },
            },
            data: [
              {
                value: 9,
                name: "",
                itemStyle: {
                  normal: {
                    borderWidth: 2,
                    borderColor: "#61bad3",
yaqizhang's avatar
yaqizhang committed
759
                  },
760
                },
纪泽龙's avatar
纪泽龙 committed
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 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805
            ],
          },
        ],
      });
      // myChart32.setOption({
      //     title: {
      //         text: '设备数量:'+data.deviceNum,
      //         left: 'center',
      //         textStyle: {
      //             color: "#0ff"
      //         }
      //     },
      //     tooltip: {
      //         trigger: 'item'
      //     },
      //     series: [
      //         {
      //             name: '设备概况',
      //             type: 'pie',
      //             radius: ['50%', '70%'],
      //             center: ['50%', '60%'],
      //             avoidLabelOverlap: false,
      //             label: {
      //                 show: false,
      //                 position: 'center'
      //             },
      //             emphasis: {
      //                 label: {
      //                     show: true,
      //                     fontSize: '40',
      //                     fontWeight: 'bold'
      //                 }
      //             },
      //             labelLine: {
      //                 show: false
      //             },
      //             data:data.divice,
      //             color:["#188df0","#ffff00","#FF4040"]
      //         }
      //     ]
      // });
    },
  },
};
纪泽龙's avatar
纪泽龙 committed
806 807
</script>

yaqizhang's avatar
yaqizhang committed
808
<style scoped>
809 810 811 812 813 814 815
.titleTex {
  height: 30px;
  width: 100%;
  color: aqua;
  text-align: center;
  line-height: 30px;
  margin-top: 10px;
纪泽龙's avatar
纪泽龙 committed
816
}
817 818 819
.divall {
  height: 100%;
  width: 100%;
纪泽龙's avatar
纪泽龙 committed
820
}
821 822 823 824
.divfen {
  display: flex;
  justify-content: center;
  align-items: center;
纪泽龙's avatar
纪泽龙 committed
825
}
826 827 828 829 830
.numdiv {
  background: #47aed5;
  color: white;
  width: 27px;
  font-size: 30px;
纪泽龙's avatar
纪泽龙 committed
831
}
832 833 834 835 836 837 838 839 840 841 842 843 844 845 846
.item1 {
  width: 93%;
  height: 30px;
  font-size: 18px;
  line-height: 30px;
  padding-left: 10px;
  font-weight: 700;
  font-style: italic;
  margin-left: 10px;
  background-image: linear-gradient(
    to left,
    #112238,
    rgb(49 151 195 / 70%) 50%,
    #112238
  );
纪泽龙's avatar
纪泽龙 committed
847 848
}
.dot {
849 850 851 852 853 854 855 856 857 858
  display: inline-block;
  position: relative;
  width: 10px;
  height: 10px;
  background: rgb(30, 185, 190);
  border-radius: 50%;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 2px;
}
纪泽龙's avatar
纪泽龙 committed
859

860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877
.dot-inner {
  background: #44d7dc;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-animation: vabDot 1.2s ease-in-out infinite;
  animation: vabDot 1.2s ease-in-out infinite;
}
@-webkit-keyframes vabDot {
  0% {
    opacity: 0.6;
    transform: scale(0.8);
  }
纪泽龙's avatar
纪泽龙 committed
878

879 880 881 882 883
  to {
    opacity: 0;
    transform: scale(2.4);
  }
}
纪泽龙's avatar
纪泽龙 committed
884

885 886 887 888 889
@keyframes vabDot {
  0% {
    opacity: 0.6;
    transform: scale(0.8);
  }
纪泽龙's avatar
纪泽龙 committed
890

891 892 893
  to {
    opacity: 0;
    transform: scale(2.4);
yaqizhang's avatar
yaqizhang committed
894
  }
895
}
896
.inuser {
yaqizhang's avatar
yaqizhang committed
897 898
  width: 100%;
  height: 265px;
899
}
yaqizhang's avatar
yaqizhang committed
900
.outuserleft {
901 902 903 904
  width: 50%;
  height: 100%;
  float: left;
}
yaqizhang's avatar
yaqizhang committed
905
.outuserright {
906 907 908
  width: 50%;
  height: 100%;
  float: right;
yaqizhang's avatar
yaqizhang committed
909 910 911 912 913 914 915 916 917 918 919
}
.outuserone {
  width: 100%;
  height: 20px;
  text-align: center;
  color: #cddbe4;
}
.outusertwo {
  width: 100%;
  height: 20px;
  text-align: center;
yaqizhang's avatar
yaqizhang committed
920
  color: #cddbe4;
921 922 923 924 925 926 927 928 929
}
.outuserspan {
  font-family: "arialbd";
  font-size: 28px;
  color: #00ffff;
  letter-spacing: 8px;
}
.usernum {
  width: 100%;
yaqizhang's avatar
yaqizhang committed
930
  text-align: center;
931 932 933 934 935 936 937 938 939 940 941 942 943
}
.usernumin {
  font-size: 15px;
}
.in1 {
  color: #188df0;
}
.in2 {
  color: #f0c41b;
}
.in3 {
  color: #ff4040;
}
yaqizhang's avatar
yaqizhang committed
944 945 946 947 948 949 950 951 952
.in4 {
  color: #91cc75;
}
.in5 {
  color: #5470c6;
}
.in6 {
  color: #fa8167;
}
953 954 955 956 957 958 959 960
.inyuan {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  border: 2px solid #125c9b;
  position: fixed;
  margin-bottom: 10px;
  margin-top: -138px;
yaqizhang's avatar
yaqizhang committed
961
  margin-left: 64px;
962
  font-size: 15px;
yaqizhang's avatar
yaqizhang committed
963
  color: #cddbe4;
964 965 966 967 968 969 970 971 972 973 974 975 976 977
  text-align: center;
  line-height: 25px;
  padding: 28px 0px 0px 0px;
  background-image: linear-gradient(to left, #112238, #003e8d, #112238);
}
.b_list {
  height: 100%;
  overflow: hidden;
}
.left {
  margin-top: 10px;
  width: 440px;
  margin-left: 20px;
}
yaqizhang's avatar
yaqizhang committed
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
.yj{
  padding: 0px 10px;
}
.yujing{
  width: 33%;
  height: 90px;
  float: left;
}
.yujingtop{
  width: 70px;
  height: 90px;
  float: left;
  margin-top: 15px;
  text-align: right;
}
.yujingbottom{
  float: left;
  color: #cddbe4;
  margin-left: 10px;
  line-height: 35px;
  padding: 10px 0 0 0;
}
.yujingbottom span{
  font-family: 'arialbd';
  font-size: 25px;
  background-image:-webkit-linear-gradient(bottom,#f0c41b,#e4dbb7);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
纪泽龙's avatar
纪泽龙 committed
1007
</style>