| | |
| | | /* |
| | | * @Author: Morpheus |
| | | * @Date: 2022-03-31 15:26:19 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2022-03-31 15:32:22 |
| | | * @Name: 该组件得作用是什么等 |
| | | */ |
| | | <template> |
| | | <div v-if="openmobilePanorama" class="mobilePanorama"> |
| | | <div class="mobilePanorama-close" @click="closeMobilePanorama"> |
| | | <i class="el-icon-error icon"></i> |
| | | </div> |
| | | <iframe |
| | | :src="openmobilePanorama" |
| | | width="100%" |
| | | height="100%" |
| | | frameborder="0" |
| | | ></iframe> |
| | | <iframe :src="openmobilePanorama" width="100%" height="100%" frameborder="0"></iframe> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { mapGetters } from "vuex"; |
| | | import { mapGetters } from 'vuex' |
| | | export default { |
| | | name: "mobilePanorama", |
| | | name: 'mobilePanorama', |
| | | computed: { |
| | | ...mapGetters(["openmobilePanorama"]), |
| | | ...mapGetters(['openmobilePanorama']) |
| | | }, |
| | | // watch: { |
| | | // openmobilePanorama() { |
| | |
| | | // }, |
| | | // }, |
| | | data() { |
| | | return {}; |
| | | return {} |
| | | }, |
| | | methods: { |
| | | closeMobilePanorama() { |
| | | this.$store.commit("MSET_OPENMOBILEPANORAMA", false); |
| | | }, |
| | | }, |
| | | }; |
| | | this.$store.commit('MSET_OPENMOBILEPANORAMA', false) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |