From 1c1b2b0cdd6467f5d3ac2eaf82f9f980fc5b7e20 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 18 Jan 2022 10:08:38 +0800
Subject: [PATCH] +

---
 src/components/mobileWindow/index.vue |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/components/mobileWindow/index.vue b/src/components/mobileWindow/index.vue
index 2e5a6ee..78ff41e 100644
--- a/src/components/mobileWindow/index.vue
+++ b/src/components/mobileWindow/index.vue
@@ -121,6 +121,9 @@
             this.seebut.push({
               name: "显示活动",
             });
+            this.seebut.push({
+              name: "去这",
+            });
           }
           for (let k in this.seebut) {
             if (this.seebut[k].name == "定位") {
@@ -134,9 +137,9 @@
           }
         } else {
           this.seebut = [
-            {
-              name: "实景",
-            },
+            // {
+            //   name: "实景",
+            // },
             {
               name: "图集",
             },
@@ -166,6 +169,10 @@
         //全景
         if (queryData.panoramaurl) {
           this.panoramaurl = queryData.panoramaurl;
+          this.seebut = this.seebut.filter((res) => {
+            return res.name != "实景";
+          });
+          this.seebut.splice(0, 0, { name: "实景" });
         } else {
           this.panoramaurl = "";
           this.seebut = this.seebut.filter((res) => {
@@ -265,8 +272,8 @@
         };
         that.$store.dispatch("MSET_GOTOWHERE", ints);
       } else if (val == "实景") {
-        console.log(this.panoramaurl, query);
-        // this.$store.commit("MSET_OPENMOBILEPANORAMA", this.panoramaurl);
+        // console.log(this.panoramaurl, query);
+        this.$store.commit("MSET_OPENMOBILEPANORAMA", this.panoramaurl);
         return;
         this.$store.commit(
           "MSET_OPENMOBILEPANORAMA",

--
Gitblit v1.9.3