|
@@ -0,0 +1,233 @@
|
|
|
+<template>
|
|
|
+ <div class="app-container">
|
|
|
+ <div class="aeu1-container">
|
|
|
+ <el-tooltip class="item" effect="dark" content="C-101抽提塔" placement="top">
|
|
|
+ <div class="aeu-c101"
|
|
|
+ id="aeu-c101"
|
|
|
+ @mouseover="handleAeuMouseover1"
|
|
|
+ @mouseleave="handleAeuMouseleave1"
|
|
|
+ @click="handleDevClick('C-101抽提塔')">
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
+
|
|
|
+ <el-tooltip class="item" effect="dark" content="C-103汽提塔" placement="top">
|
|
|
+ <div class="aeu-c103"
|
|
|
+ id="aeu-c103"
|
|
|
+ @mouseover="handleAeuMouseover2"
|
|
|
+ @mouseleave="handleAeuMouseleave2"
|
|
|
+ @click="handleDevClick('C-103汽提塔')">
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
+
|
|
|
+ <el-tooltip class="item" effect="dark" content="C-104溶剂回收塔" placement="top">
|
|
|
+ <div class="aeu-c104"
|
|
|
+ id="aeu-c104"
|
|
|
+ @mouseover="handleAeuMouseover3"
|
|
|
+ @mouseleave="handleAeuMouseleave3"
|
|
|
+ @click="handleDevClick('C-104溶剂回收塔')">
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
+
|
|
|
+ <el-tooltip class="item" effect="dark" content="C-102水洗抽余油塔" placement="top">
|
|
|
+ <div class="aeu-c102"
|
|
|
+ id="aeu-c102"
|
|
|
+ @mouseover="handleAeuMouseover4"
|
|
|
+ @mouseleave="handleAeuMouseleave4"
|
|
|
+ @click="handleDevClick('C-102水洗抽余油塔')">
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
+
|
|
|
+ <el-tooltip class="item" effect="dark" content="C-106溶剂再生塔" placement="top">
|
|
|
+ <div class="aeu-c106"
|
|
|
+ id="aeu-c106"
|
|
|
+ @mouseover="handleAeuMouseover5"
|
|
|
+ @mouseleave="handleAeuMouseleave5"
|
|
|
+ @click="handleDevClick('C-106溶剂再生塔')">
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
+
|
|
|
+ <el-tooltip class="item" effect="dark" content="C-201苯罐" placement="top">
|
|
|
+ <div class="aeu-c201"
|
|
|
+ id="aeu-c201"
|
|
|
+ @mouseover="handleAeuMouseover6"
|
|
|
+ @mouseleave="handleAeuMouseleave6"
|
|
|
+ @click="handleDevClick('C-201苯罐')">
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
+
|
|
|
+ <el-tooltip class="item" effect="dark" content="C-202甲苯塔" placement="top">
|
|
|
+ <div class="aeu-c202"
|
|
|
+ id="aeu-c202"
|
|
|
+ @mouseover="handleAeuMouseover7"
|
|
|
+ @mouseleave="handleAeuMouseleave7"
|
|
|
+ @click="handleDevClick('C-202甲苯塔')">
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ export default {
|
|
|
+ props: {
|
|
|
+ area: {
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
+ },
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ handleDevClick(devName) {
|
|
|
+ this.$emit('handleDevClick', devName);
|
|
|
+ },
|
|
|
+ /* AEU区域mouseover事件 */
|
|
|
+ handleAeuMouseover1() {
|
|
|
+ let box = document.getElementById("aeu-c101");
|
|
|
+ box.style.backgroundColor = "rgba(64,158,255,0.3)";
|
|
|
+ box.style.cursor = "pointer";
|
|
|
+ },
|
|
|
+ handleAeuMouseover2() {
|
|
|
+ let box = document.getElementById("aeu-c103");
|
|
|
+ box.style.backgroundColor = "rgba(64,158,255,0.3)";
|
|
|
+ box.style.cursor = "pointer";
|
|
|
+ },
|
|
|
+ handleAeuMouseover3() {
|
|
|
+ let box = document.getElementById("aeu-c104");
|
|
|
+ box.style.backgroundColor = "rgba(64,158,255,0.3)";
|
|
|
+ box.style.cursor = "pointer";
|
|
|
+ },
|
|
|
+ handleAeuMouseover4() {
|
|
|
+ let box = document.getElementById("aeu-c102");
|
|
|
+ box.style.backgroundColor = "rgba(64,158,255,0.3)";
|
|
|
+ box.style.cursor = "pointer";
|
|
|
+ },
|
|
|
+ handleAeuMouseover5() {
|
|
|
+ let box = document.getElementById("aeu-c106");
|
|
|
+ box.style.backgroundColor = "rgba(64,158,255,0.3)";
|
|
|
+ box.style.cursor = "pointer";
|
|
|
+ },
|
|
|
+ handleAeuMouseover6() {
|
|
|
+ let box = document.getElementById("aeu-c201");
|
|
|
+ box.style.backgroundColor = "rgba(64,158,255,0.3)";
|
|
|
+ box.style.cursor = "pointer";
|
|
|
+ },
|
|
|
+ handleAeuMouseover7() {
|
|
|
+ let box = document.getElementById("aeu-c202");
|
|
|
+ box.style.backgroundColor = "rgba(64,158,255,0.3)";
|
|
|
+ box.style.cursor = "pointer";
|
|
|
+ },
|
|
|
+ /* AEU区域mouseleave事件 */
|
|
|
+ handleAeuMouseleave1() {
|
|
|
+ let box = document.getElementById("aeu-c101");
|
|
|
+ box.style.backgroundColor = "transparent";
|
|
|
+ },
|
|
|
+ handleAeuMouseleave2() {
|
|
|
+ let box = document.getElementById("aeu-c103");
|
|
|
+ box.style.backgroundColor = "transparent";
|
|
|
+ },
|
|
|
+ handleAeuMouseleave3() {
|
|
|
+ let box = document.getElementById("aeu-c104");
|
|
|
+ box.style.backgroundColor = "transparent";
|
|
|
+ },
|
|
|
+ handleAeuMouseleave4() {
|
|
|
+ let box = document.getElementById("aeu-c102");
|
|
|
+ box.style.backgroundColor = "transparent";
|
|
|
+ },
|
|
|
+ handleAeuMouseleave5() {
|
|
|
+ let box = document.getElementById("aeu-c106");
|
|
|
+ box.style.backgroundColor = "transparent";
|
|
|
+ },
|
|
|
+ handleAeuMouseleave6() {
|
|
|
+ let box = document.getElementById("aeu-c201");
|
|
|
+ box.style.backgroundColor = "transparent";
|
|
|
+ },
|
|
|
+ handleAeuMouseleave7() {
|
|
|
+ let box = document.getElementById("aeu-c202");
|
|
|
+ box.style.backgroundColor = "transparent";
|
|
|
+ },
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+<style>
|
|
|
+ .aeu1-container {
|
|
|
+ position: relative;
|
|
|
+ width: 1200px;
|
|
|
+ height: 500px;
|
|
|
+ padding: 0px;
|
|
|
+ margin: 0px auto;
|
|
|
+ overflow: hidden;
|
|
|
+ background: url('../../../assets/images/aerial/aeu1.png') center/cover; /* 替换为实际背景图路径 */
|
|
|
+ background-size: contain;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ }
|
|
|
+
|
|
|
+ .aeu-c101 {
|
|
|
+ position:absolute;
|
|
|
+ top: 80px;
|
|
|
+ left: 460px;
|
|
|
+ padding: 0px;
|
|
|
+ margin: 0px;
|
|
|
+ width: 80px;
|
|
|
+ height: 90px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .aeu-c103 {
|
|
|
+ position:absolute;
|
|
|
+ top: 80px;
|
|
|
+ left: 380px;
|
|
|
+ padding: 0px;
|
|
|
+ margin: 0px;
|
|
|
+ width: 80px;
|
|
|
+ height: 90px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .aeu-c104 {
|
|
|
+ position:absolute;
|
|
|
+ top: 70px;
|
|
|
+ left: 780px;
|
|
|
+ padding: 0px;
|
|
|
+ margin: 0px;
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .aeu-c102 {
|
|
|
+ position:absolute;
|
|
|
+ top: 40px;
|
|
|
+ left: 480px;
|
|
|
+ padding: 0px;
|
|
|
+ margin: 0px;
|
|
|
+ width: 60px;
|
|
|
+ height: 40px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .aeu-c106 {
|
|
|
+ position:absolute;
|
|
|
+ top: 60px;
|
|
|
+ left: 830px;
|
|
|
+ padding: 0px;
|
|
|
+ margin: 0px;
|
|
|
+ width: 120px;
|
|
|
+ height: 120px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .aeu-c201 {
|
|
|
+ position:absolute;
|
|
|
+ top: 400px;
|
|
|
+ left: 740px;
|
|
|
+ padding: 0px;
|
|
|
+ margin: 0px;
|
|
|
+ width: 80px;
|
|
|
+ height: 80px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .aeu-c202 {
|
|
|
+ position:absolute;
|
|
|
+ top: 380px;
|
|
|
+ left: 820px;
|
|
|
+ padding: 0px;
|
|
|
+ margin: 0px;
|
|
|
+ width: 60px;
|
|
|
+ height: 60px;
|
|
|
+ }
|
|
|
+</style>
|