From a3fadb577e4d18c1d7ff60e23be4f3d27f63b9a3 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 17 Jan 2022 17:07:52 +0800
Subject: [PATCH] +

---
 src/components/mobilePopupOurOnce/index.vue |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/src/components/mobilePopupOurOnce/index.vue b/src/components/mobilePopupOurOnce/index.vue
index 39759a2..00a3331 100644
--- a/src/components/mobilePopupOurOnce/index.vue
+++ b/src/components/mobilePopupOurOnce/index.vue
@@ -60,7 +60,7 @@
       this.srcList = this.onceData.icon;
       this.icon = this.srcList[0];
     }
-    if (this.onceData.from == "校园建筑" || this.onceData.from == "文化风景") {
+    if (this.onceData.from == "社区建筑" || this.onceData.from == "文化风景") {
       this.getOnceCampus(this.onceData.id);
     } else {
       this.ourData = this.onceData;
@@ -94,8 +94,12 @@
         return;
       }
       let that = this;
-      // console.log(that.ourData.lntLat);
       if (val == "定位") {
+        //活动定位
+        if (this.ourData.name == "活动") {
+          console.log(this.ourData);
+          return;
+        }
         //随地图移动窗口
         this.$store.commit("MSET_BIGPOPUP", false); //关闭全屏弹窗
         setTimeout(() => {
@@ -121,7 +125,7 @@
         imgsDom.click();
       }
     },
-    //"校园建筑"↓
+    //"社区建筑"↓
     getOnceCampus(id) {
       getChildNavDetail({ id: id }).then((res) => {
         var result = res.data.data[0].list;
@@ -138,11 +142,12 @@
           telePhone: result.telephone,
           address: result.address,
           introduce: result.introduce,
+          video: result.videourl,
         };
         this.ourData = d;
       });
     },
-    //"校园建筑"↑
+    //"社区建筑"↑
   },
 };
 </script>
@@ -201,4 +206,4 @@
     }
   }
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3