|
@@ -1,9 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div>
|
|
<div>
|
|
|
- <!-- <div class="toolmap" :style="{
|
|
|
|
|
- right: `${windowRight}px`
|
|
|
|
|
- }"> -->
|
|
|
|
|
- <div class="toolmap">
|
|
|
|
|
|
|
+ <div class="toolmap" :style="mapStore.sideMenu? `right:${windowRight}px`:`right:20px`">
|
|
|
<div @click="setClass(0)" @mouseover="getTip('面雨量分布图')" @mouseout="closetip"
|
|
<div @click="setClass(0)" @mouseover="getTip('面雨量分布图')" @mouseout="closetip"
|
|
|
:class="bkclick[0] ? 'divclick' : ''">
|
|
:class="bkclick[0] ? 'divclick' : ''">
|
|
|
<img src="../../assets/images/changeMap/mianyuliang.png" />
|
|
<img src="../../assets/images/changeMap/mianyuliang.png" />
|
|
@@ -95,17 +92,17 @@
|
|
|
<img src="../../assets/images/changeMap/checktime.png" style="display: inline-block" @click="search" />
|
|
<img src="../../assets/images/changeMap/checktime.png" style="display: inline-block" @click="search" />
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="class-legend" v-show="mapLgendShow3">
|
|
|
|
|
|
|
+ <div class="class-legend" v-show="mapLgendShow3" :style="mapStore.sideMenu? `left:${windowRight+30}px`:`left:20px`">
|
|
|
<div style="border-radius: 25px 25px 0 0; background-color: #3f3dbd; color: #fff">mm</div>
|
|
<div style="border-radius: 25px 25px 0 0; background-color: #3f3dbd; color: #fff">mm</div>
|
|
|
<div v-for="item in rainLegendNow2" :style="item.style">{{ item.value }}</div>
|
|
<div v-for="item in rainLegendNow2" :style="item.style">{{ item.value }}</div>
|
|
|
<div style="border-radius: 0 0 25px 25px; background-color: #fff; color: #000; font-size: 12px">0</div>
|
|
<div style="border-radius: 0 0 25px 25px; background-color: #fff; color: #000; font-size: 12px">0</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="class-legend" v-show="mapLgendShow">
|
|
|
|
|
|
|
+ <div class="class-legend" v-show="mapLgendShow" :style="mapStore.sideMenu? `left:${windowRight+30}px`:`left:20px`">
|
|
|
<div style="border-radius: 25px 25px 0 0; background-color: #3f3dbd; color: #fff">mm</div>
|
|
<div style="border-radius: 25px 25px 0 0; background-color: #3f3dbd; color: #fff">mm</div>
|
|
|
<div v-for="item in rainLegendNow" :style="item.style">{{ item.value }}</div>
|
|
<div v-for="item in rainLegendNow" :style="item.style">{{ item.value }}</div>
|
|
|
<div style="border-radius: 0 0 25px 25px; background-color: #eaeaea; color: #000; font-size: 12px">无数据</div>
|
|
<div style="border-radius: 0 0 25px 25px; background-color: #eaeaea; color: #000; font-size: 12px">无数据</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="class-legendtwo" v-show="mapLgendShow2">
|
|
|
|
|
|
|
+ <div class="class-legendtwo" v-show="mapLgendShow2" :style="mapStore.sideMenu? `left:${windowRight+30}px`:`left:20px`">
|
|
|
<div style="border-radius: 25px 25px 0 0; background-color: #3f3dbd; color: #fff">℃</div>
|
|
<div style="border-radius: 25px 25px 0 0; background-color: #3f3dbd; color: #fff">℃</div>
|
|
|
<div v-for="item in wdLegendNow" :style="item.style">{{ item.value }}</div>
|
|
<div v-for="item in wdLegendNow" :style="item.style">{{ item.value }}</div>
|
|
|
<!-- <div style="border-radius: 0 0 25px 25px ;background-color: #3f3dbd;color: #fff;">0</div> -->
|
|
<!-- <div style="border-radius: 0 0 25px 25px ;background-color: #3f3dbd;color: #fff;">0</div> -->
|
|
@@ -518,27 +515,27 @@ const getTip = (i) => {
|
|
|
infoShow.value = true;
|
|
infoShow.value = true;
|
|
|
if (mapStore.sideMenu) {
|
|
if (mapStore.sideMenu) {
|
|
|
if (i == '面雨量分布图') {
|
|
if (i == '面雨量分布图') {
|
|
|
- px.value = ' right: 500px;top: 370px;';
|
|
|
|
|
|
|
+ px.value = ` right: ${windowRight.value+50}px;top: 370px;`;
|
|
|
} else if (i == '站点雨量图') {
|
|
} else if (i == '站点雨量图') {
|
|
|
- px.value = ' right: 500px;top: 400px;';
|
|
|
|
|
|
|
+ px.value = ` right: ${windowRight.value+50}px;top: 400px;`;
|
|
|
} else if (i == '分区雨量图') {
|
|
} else if (i == '分区雨量图') {
|
|
|
- px.value = ' right: 500px;top: 420px;';
|
|
|
|
|
|
|
+ px.value = ` right: ${windowRight.value+50}px;top: 420px;`;
|
|
|
} else if (i == '站点温度图') {
|
|
} else if (i == '站点温度图') {
|
|
|
- px.value = ' right: 500px;top: 450px;';
|
|
|
|
|
|
|
+ px.value = ` right: ${windowRight.value+50}px;top: 450px;`;
|
|
|
} else if (i == '站点风速风向图') {
|
|
} else if (i == '站点风速风向图') {
|
|
|
- px.value = ' right: 500px;top: 480px;';
|
|
|
|
|
|
|
+ px.value = ` right: ${windowRight.value+50}px;top: 480px;`;
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
if (i == '面雨量分布图') {
|
|
if (i == '面雨量分布图') {
|
|
|
- px.value = ' right: 70px;top: 370px;';
|
|
|
|
|
|
|
+ px.value = ` right: 70px;top: 370px;`;
|
|
|
} else if (i == '站点雨量图') {
|
|
} else if (i == '站点雨量图') {
|
|
|
- px.value = ' right: 70px;top: 400px;';
|
|
|
|
|
|
|
+ px.value = ` right: 70px;top: 400px;`;
|
|
|
} else if (i == '分区雨量图') {
|
|
} else if (i == '分区雨量图') {
|
|
|
- px.value = ' right: 70px;top: 420px;';
|
|
|
|
|
|
|
+ px.value = ` right: 70px;top: 420px;`;
|
|
|
} else if (i == '站点温度图') {
|
|
} else if (i == '站点温度图') {
|
|
|
- px.value = ' right: 70px;top: 450px;';
|
|
|
|
|
|
|
+ px.value = ` right: 70px;top: 450px;`;
|
|
|
} else if (i == '站点风速风向图') {
|
|
} else if (i == '站点风速风向图') {
|
|
|
- px.value = ' right: 70px;top: 480px;';
|
|
|
|
|
|
|
+ px.value = ` right: 70px;top: 480px;`;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|