suerprisePlus
2024-12-17 5dfcbd19cd041e1f8a5fb7ed9ab694bf4de00352
1
2
3
4
5
6
7
8
9
10
11
12
13
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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
<template>
  <div class="mapChart">
    <div class="leftChart">
      <div class="chartContent">
        <div class="chartHeader">
          <chartHeader></chartHeader>
        </div>
        <div class="chartBox">
          <div :class="$store.state.setScreenFlag ? 'leftContentActive' : 'leftContent'
            ">
            <map-chart></map-chart>
          </div>
        </div>
      </div>
      <!--  -->
      <!-- -->
 
      <!-- </div> -->
    </div>
    <div :class="$store.state.setScreenFlag ? 'rightMapActive' : 'rightMap'">
      <map-view v-show="!$store.state.showImageUrl"></map-view>
      <img  v-show="$store.state.showImageUrl" :src="$store.state.ImageUrl" style="width: 100%;height:100%">
    </div>
  </div>
</template>
 
<script>
import mapChart from "./../mapChart/index.vue";
import mapView from "./../mapView/index.vue";
import chartHeader from "./../mapChart/chartHeader.vue";
export default {
  components: {
    mapChart,
    mapView,
    chartHeader
  },
  mounted() { }
};
</script>
 
<style scoped>
.mapChart {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  background: #333333;
}
 
.leftChart {
  flex: 1;
}
 
.chartContent {
  width: 100%;
  height: 100%;
  /* background: skyblue; */
  display: flex;
  flex-direction: column;
}
 
.chartHeader {
  width: 100%;
  height: 38px;
}
 
.chartContent .chartBox {
  flex: 1;
  display: flex;
 
  /* justify-content: center; */
 
  /* 
  height: (100% - 38px);
*/
}
 
.leftContent {
  width: 100%;
  height: 100%;
  transition: 1s ease-out;
  display: flex;
  justify-content: center;
  background: skyblue;
}
 
.leftContentActive {
  width: 100%;
  height: 100%;
  transition: 1s ease-out;
  background: skyblue;
}
 
.rightMapActive {
  width: 50%;
  height: 100%;
  transition: 1s ease-out;
}
 
.rightMap {
  width: 0%;
  height: 100%;
  transition: 1s;
}
 
.chartHeader {
  width: 100%;
  height: 38px;
}
</style>