2023西安数博会CIM演示-【前端】-Web
AdaKing88
2023-08-21 bc03b832caa49bbcd2674fe4cae3701b5059bf95
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
<template>
  <el-container class="box">
    <top-main></top-main>
 
    <globe class="staticPage" style="width: 100%;height:100%;z-index: 5;"></globe>
 
    <UEView class="staticPage" style="width: 100%;height:100%;" :style="{'z-index': (this.$route.path.indexOf('/UEView') > -1) ? 6 :4}" ></UEView>
 
    <div v-show="this.$route.path != '/xianCim' && this.$route.path != '/xianCim/cityCenter' && this.$route.path.indexOf('/UEView') == -1" class="staticPage" style="background-color: rgb(30, 44, 69);z-index: 7;">
      <keep-alive include="UEView">
        <router-view></router-view>
      </keep-alive>
    </div>
 
    <bottom-main></bottom-main>
  </el-container>
</template>
<script>
import bottomMain from "./bottomMain.vue"
import topMain from "./topMain.vue"
import globe from "./globe.vue"
import UEView from "@/views/xianCim/UEView";
 
export default {
  name: "xianCim",
  components: {
    bottomMain,
    topMain,
    globe,
    UEView
  }
};
</script>
<style lang="less" scoped>
.box {
  height: 100%;
  background-color: rgb(0, 19, 32);
 
  .el-container {
    height: 100%;
    padding: 5px;
    padding-bottom: 0px;
    padding-top: 15px;
  }
}
 
.staticPage {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
}
</style>