From b5f8881176bcb44928758e25d7d7a6fc140840c5 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 17 Dec 2021 15:06:23 +0800
Subject: [PATCH] 弹框完善

---
 src/store/modules/popupParams.js |   28 +++++++++++++++++++++++++++-
 1 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/src/store/modules/popupParams.js b/src/store/modules/popupParams.js
index 40c8846..b77ed47 100644
--- a/src/store/modules/popupParams.js
+++ b/src/store/modules/popupParams.js
@@ -5,7 +5,12 @@
         terminus: null,
         startingPoint: null,
         pointPosition: null,
-        stateName: null
+        stateName: null,
+        siteName: null,
+        introduceText: null,
+        panoramaUrl: null,
+        detailsPopup: false,
+        panoramaPopup: false
     },
     mutations: {
         SET_POPUPBGURL (state, popupBgUrl) {
@@ -25,6 +30,27 @@
         },
         SET_STATENAME (state, stateName) {
             state.stateName = stateName
+        },
+        SET_SITENAME (state, siteName) {
+            state.siteName = siteName
+        },
+        SET_INTRODUCETEXT (state, introduceText) {
+            state.introduceText = introduceText
+        },
+        SET_PANORAMAURL (state, panoramaUrl) {
+            state.panoramaUrl = panoramaUrl
+        },
+        SET_DETAILSPOPUP (state, detailsPopup) {
+            state.detailsPopup = detailsPopup
+        },
+        SET_PANORAMAPOPUP (state, panoramaPopup) {
+            state.panoramaPopup = panoramaPopup
+        },
+
+        CLEAR_ALL (state, param) {
+            state.siteName = param
+            state.introduceText = param
+            state.panoramaUrl = param
         }
     },
     actions: {

--
Gitblit v1.9.3