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>
| <div class="m-left-mobileCortrolButtom">
| <div class="m-l-inbut"><i class="el-icon-s-help"></i></div>
| <div class="m-l-inbut"><i class="el-icon-s-flag"></i></div>
| <div class="m-l-inbut"><i class="el-icon-menu"></i></div>
| <div class="m-l-inbut"><i class="el-icon-location"></i></div>
| </div>
| </template>
|
| <script>
| export default {
| name: "mobileCortrolButtom",
| computed: {},
| data() {
| return {
| viewer: null,
| DC: null,
| };
| },
| created() {
| this.DC = global.DC;
| },
| mounted() {},
| methods: {
| initialize(viewer) {
| viewer.scene.globe.depthTestAgainstTerrain = false;
| this.viewer = viewer;
| },
| },
| };
| </script>
|
| <style scoped lang='scss'>
| .m-left-mobileCortrolButtom {
| position: fixed;
| bottom: 20px;
| left: 20px;
| z-index: 200;
| .m-l-inbut {
| float: left;
| width: 39px;
| height: 39px;
| background-color: #c9302c;
| display: flex;
| align-items: center;
| justify-content: center;
| color: white;
| font-size: 22px;
| margin-left: 12px;
| border-radius: 5px;
| }
| }
| </style>
|
|