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
| <template>
| <div v-show="openmobilePanorama" class="mobilePanorama">
| <div class="mobilePanorama-close" @click="closeMobilePanorama">
| <i class="el-icon-error icon"></i>
| </div>
| </div>
| </template>
|
| <script>
| import { mapGetters } from "vuex";
| export default {
| name: "mobilePanorama",
| computed: {
| ...mapGetters(["openmobilePanorama"]),
| },
| data() {
| return {};
| },
| methods: {
| closeMobilePanorama() {
| this.$store.commit("MSET_OPENMOBILEPANORAMA", false);
| },
| },
| };
| </script>
|
| <style lang="scss" scoped>
| .mobilePanorama {
| position: fixed;
| top: 0;
| left: 0;
| width: 100%;
| height: 100%;
| z-index: 1000;
| background-color: #fff;
| .mobilePanorama-close {
| position: absolute;
| right: 5px;
| top: 5px;
| .icon {
| font-size: 35px;
| }
| }
| }
| </style>
|
|