6 files modified
1 files added
| | |
| | | "integrity": "sha1-J8dlOb4U2L0Sghmi1zGwkzeQTnk=", |
| | | "dev": true |
| | | }, |
| | | "js-base64": { |
| | | "version": "2.6.4", |
| | | "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz", |
| | | "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", |
| | | "dev": true |
| | | }, |
| | | "js-message": { |
| | | "version": "1.0.7", |
| | | "resolved": "https://registry.npm.taobao.org/js-message/download/js-message-1.0.7.tgz?cache=0&sync_timestamp=1605128905632&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fjs-message%2Fdownload%2Fjs-message-1.0.7.tgz", |
| | |
| | | "source-map": "^0.4.2" |
| | | }, |
| | | "dependencies": { |
| | | "js-base64": { |
| | | "version": "2.6.4", |
| | | "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz", |
| | | "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", |
| | | "dev": true |
| | | }, |
| | | "source-map": { |
| | | "version": "0.4.4", |
| | | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", |
| | |
| | | <i class="popup-icon start-nav deblurring"></i> |
| | | 出发 |
| | | </li> |
| | | <li v-show="false" @click="qrCodeClick"> |
| | | <li v-show="pupupQRUrl != ''" @click="qrCodeClick"> |
| | | <i class="popup-icon qr-code-nav deblurring"></i> |
| | | 二维码 |
| | | </li> |
| | |
| | | this.$store.commit('CLEAR_ALL', null) |
| | | |
| | | var imgArr = item.bgImg.split(',') |
| | | |
| | | this.$store.commit('SET_POPUPBGURL', imgArr[0]) |
| | | this.$store.commit('SET_POPUPQRURL', item.QRImg) |
| | | |
| | | this.$store.commit('SET_POINTPOSITION', [ |
| | | Number(item.longitude), |
| | | Number(item.latitude), |
| | |
| | | /* * @Author: Morpheus * @Name: 直属及附属单位 * @Date: 2021-11-15 10:02:12 * |
| | | @Last Modified by: Morpheus * @Last Modified time: 2021-12-30 14:25:45 */ |
| | | <template> |
| | | <div></div> |
| | | <div></div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getList } from "@/api/pc/orgnav/index"; |
| | | import { getList } from '@/api/pc/orgnav/index' |
| | | |
| | | import { mapGetters } from "vuex"; |
| | | import { mapGetters } from 'vuex' |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | list: [], |
| | | }; |
| | | }, |
| | | computed: { |
| | | ...mapGetters([ |
| | | // 校区内导航的显示关闭 |
| | | "orgNavBarFlag", |
| | | "arcNavBarFlag", |
| | | ]), |
| | | }, |
| | | mounted() { |
| | | if (this.arcNavBarFlag == true) { |
| | | this.$store.commit("SET_ARCNAVBARTITLE", ""); |
| | | this.$store.commit("SET_ARCNAVBARCODE", ""); |
| | | this.$store.commit("SET_ARCNAVBARFLAG", false); |
| | | data () { |
| | | return { |
| | | list: [] |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapGetters([ |
| | | // 校区内导航的显示关闭 |
| | | 'orgNavBarFlag', |
| | | 'arcNavBarFlag' |
| | | ]) |
| | | }, |
| | | mounted () { |
| | | if (this.arcNavBarFlag == true) { |
| | | this.$store.commit('SET_ARCNAVBARTITLE', '') |
| | | this.$store.commit('SET_ARCNAVBARCODE', '') |
| | | this.$store.commit('SET_ARCNAVBARFLAG', false) |
| | | } |
| | | this.$store.commit('SET_ORGNAVBARTITLE', '直属及附属单位') |
| | | this.$store.commit('SET_ORGNAVBARLIST', []) |
| | | |
| | | this.$store.commit('SET_ORGNAVBARFLAG', true) |
| | | |
| | | getList({ type: 3 }).then((res) => { |
| | | res.data.data.records.forEach((item) => { |
| | | this.list.push({ |
| | | navTitle: item.mechanismname, |
| | | icon: '/img/navicon/tag.png', |
| | | longitude: item.jd, |
| | | latitude: item.wd, |
| | | alt: item.gd, |
| | | heading: item.heading, |
| | | pitch: item.pitch, |
| | | roll: item.roll, |
| | | bgImg: item.tpurl, |
| | | QRImg: item.codeurl, |
| | | address: item.address, |
| | | telephone: item.telephone, |
| | | introduce: item.introduce, |
| | | videourl: item.videourl |
| | | }) |
| | | }) |
| | | |
| | | this.$store.commit('SET_ORGNAVBARLIST', this.list) |
| | | }) |
| | | }, |
| | | methods: {}, |
| | | beforeDestroy () { |
| | | if (this.orgNavBarFlag == true) { |
| | | this.$store.commit('SET_ORGNAVBARTITLE', '') |
| | | this.$store.commit('SET_ORGNAVBARLIST', []) |
| | | this.$store.commit('SET_ORGNAVBARFLAG', false) |
| | | } |
| | | } |
| | | this.$store.commit("SET_ORGNAVBARTITLE", "直属及附属单位"); |
| | | this.$store.commit("SET_ORGNAVBARLIST", []); |
| | | |
| | | this.$store.commit("SET_ORGNAVBARFLAG", true); |
| | | |
| | | getList({ type: 3 }).then((res) => { |
| | | res.data.data.records.forEach((item) => { |
| | | this.list.push({ |
| | | navTitle: item.mechanismname, |
| | | icon: "/img/navicon/tag.png", |
| | | longitude: item.jd, |
| | | latitude: item.wd, |
| | | alt: item.gd, |
| | | heading: item.heading, |
| | | pitch: item.pitch, |
| | | roll: item.roll, |
| | | bgImg: item.tpurl, |
| | | QRImg: item.codeurl, |
| | | address: item.address, |
| | | telephone: item.telephone, |
| | | introduce: item.introduce, |
| | | videourl: item.videourl, |
| | | }); |
| | | }); |
| | | |
| | | this.$store.commit("SET_ORGNAVBARLIST", this.list); |
| | | }); |
| | | }, |
| | | methods: {}, |
| | | beforeDestroy() { |
| | | if (this.orgNavBarFlag == true) { |
| | | this.$store.commit("SET_ORGNAVBARTITLE", ""); |
| | | this.$store.commit("SET_ORGNAVBARLIST", []); |
| | | this.$store.commit("SET_ORGNAVBARFLAG", false); |
| | | } |
| | | }, |
| | | }; |
| | | } |
| | | </script> |
| | | |
| | | <style></style> |
| | |
| | | // console.log(window.location); |
| | | // console.log(url); |
| | | // }, 3000); |
| | | window.$apiUrls = 'http://171.34.197.243:782' |
| | | // window.$apiUrls = 'http://192.168.0.110:82' |
| | | // window.$apiUrls = 'http://171.34.197.243:782' |
| | | window.$apiUrls = 'http://192.168.0.110:82' |
| | | const service = axios.create({ |
| | | // baseURL: 'http://192.168.0.107:83', |
| | | |
| | |
| | | |
| | | .path-box { |
| | | margin: 2.5px 10px 9px 10px; |
| | | height: auto; |
| | | max-height: 348px; |
| | | box-sizing: border-box; |
| | | overflow-y: auto; |
| | | color: #000; |
| | |
| | | |
| | | li { |
| | | padding: 0 10px; |
| | | height: 36px; |
| | | line-height: 36px; |
| | | |
| | | } |
| | | |
| | | } |