1
suerprisePlus
2024-06-06 7acf7ad6948e3e952173a2551ea4a92a8ff56c35
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
<template>
  <div class="mapHead">
    <div>
      <con-header v-bind:dataTypes="leftOption"></con-header>
    </div>
    <div>
      <con-header v-bind:dataTypes="rightOption"></con-header>
    </div>
  </div>
</template>
 
<script>
import configData from "../../assets/js/data/configData";
import conHeader from "../compontent/conHeader.vue";
export default {
  components: {
    conHeader
  },
  data() {
    return {
      leftOption: [],
      rightOption: []
    };
  },
  methods: {
    setHeaderStart() {
      this.leftOption = configData.mapHeadMenuLeft;
      this.rightOption = configData.mapHeadMenuRight;
    }
  },
  mounted() {
    this.setHeaderStart();
  }
};
</script>
 
<style scoped>
.mapHead {
  width: calc(100% - 20px);
  height: 100%;
  background: black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
}
</style>