From e8e7b70168d5cc8a465c92da28bdcce52e8bf3cc Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Thu, 10 Mar 2022 14:48:21 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/school-web

---
 src/pcviews/orgnav/directly.vue            |  114 +++++++++++++++++++-------------------
 src/components/orgNavBar/index.vue         |    2 
 package-lock.json                          |   12 ++--
 public/img/icon/return.png                 |    0 
 src/router/axios.js                        |    4 
 src/components/map/components/mapPopup.vue |    2 
 src/styles/pcpage/campus-nav.scss          |    4 -
 7 files changed, 68 insertions(+), 70 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index c0ec8aa..eec6ee4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7764,12 +7764,6 @@
       "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",
@@ -11031,6 +11025,12 @@
         "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",
diff --git a/public/img/icon/return.png b/public/img/icon/return.png
new file mode 100644
index 0000000..b4c67a8
--- /dev/null
+++ b/public/img/icon/return.png
Binary files differ
diff --git a/src/components/map/components/mapPopup.vue b/src/components/map/components/mapPopup.vue
index c5ee86b..996f48f 100644
--- a/src/components/map/components/mapPopup.vue
+++ b/src/components/map/components/mapPopup.vue
@@ -66,7 +66,7 @@
                                                     <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>
diff --git a/src/components/orgNavBar/index.vue b/src/components/orgNavBar/index.vue
index 9c53404..54c5128 100644
--- a/src/components/orgNavBar/index.vue
+++ b/src/components/orgNavBar/index.vue
@@ -53,9 +53,9 @@
             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),
diff --git a/src/pcviews/orgnav/directly.vue b/src/pcviews/orgnav/directly.vue
index fb7d80c..300c09b 100644
--- a/src/pcviews/orgnav/directly.vue
+++ b/src/pcviews/orgnav/directly.vue
@@ -1,70 +1,70 @@
 /* * @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>
diff --git a/src/router/axios.js b/src/router/axios.js
index 55b8dfd..0ee6948 100644
--- a/src/router/axios.js
+++ b/src/router/axios.js
@@ -12,8 +12,8 @@
 //   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',
 
diff --git a/src/styles/pcpage/campus-nav.scss b/src/styles/pcpage/campus-nav.scss
index 1f50dd4..6be04d1 100644
--- a/src/styles/pcpage/campus-nav.scss
+++ b/src/styles/pcpage/campus-nav.scss
@@ -171,7 +171,7 @@
 
         .path-box {
             margin: 2.5px 10px 9px 10px;
-            height: auto;
+            max-height: 348px;
             box-sizing: border-box;
             overflow-y: auto;
             color: #000;
@@ -180,9 +180,7 @@
 
             li {
                 padding: 0 10px;
-                height: 36px;
                 line-height: 36px;
-
             }
 
         }

--
Gitblit v1.9.3