From 0fa88f9c2e3c8ce335e7cd6dfc6c8e5641950735 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 09 Feb 2022 15:53:24 +0800
Subject: [PATCH] +弹窗图片可点击,列表展示文字区域点击是定位,图片可点击,+活动打开后隐藏右侧控制栏,+操作方式更改
---
src/store/modules/popupParams.js | 78 +++++++++++++++++++++++++++++++++++++-
1 files changed, 75 insertions(+), 3 deletions(-)
diff --git a/src/store/modules/popupParams.js b/src/store/modules/popupParams.js
index 7b1ccc1..224dee6 100644
--- a/src/store/modules/popupParams.js
+++ b/src/store/modules/popupParams.js
@@ -1,14 +1,86 @@
const popupParams = {
state: {
popupBgUrl: null,
- pupupQRUrl: null
+ pupupQRUrl: null,
+ terminus: null,
+ startingPoint: null,
+ pointPosition: null,
+ stateName: null,
+ siteName: null,
+ telephone: null,
+ introduceText: null,
+ detailsPopup: false,
+ panoramaUrl: null,
+ panoramaPopup: false,
+ monitorUrl: null,
+ monitorPopup: false,
+ // 图集
+ popupImgAtlas: [],
+ teachList: [],
+ liveList: []
},
mutations: {
- SET_POPUPBGURL(state, popupBgUrl) {
+ SET_POPUPBGURL (state, popupBgUrl) {
state.popupBgUrl = popupBgUrl
},
- SET_POPUPQRURL(state, pupupQRUrl) {
+ SET_POPUPQRURL (state, pupupQRUrl) {
state.pupupQRUrl = pupupQRUrl
+ },
+ SET_TERMINUS (state, terminus) {
+ state.terminus = terminus
+ },
+ SET_STARTINGPOINT (state, startingPoint) {
+ state.startingPoint = startingPoint
+ },
+ SET_POINTPOSITION (state, pointPosition) {
+ state.pointPosition = pointPosition
+ },
+ SET_STATENAME (state, stateName) {
+ state.stateName = stateName
+ },
+ SET_SITENAME (state, siteName) {
+ state.siteName = siteName
+ },
+ SET_TELEPHONE (state, telephone) {
+ state.telephone = telephone
+ },
+ SET_INTRODUCETEXT (state, introduceText) {
+ state.introduceText = introduceText
+ },
+ SET_PANORAMAURL (state, panoramaUrl) {
+ state.panoramaUrl = panoramaUrl
+ },
+ SET_PANORAMAPOPUP (state, panoramaPopup) {
+ state.panoramaPopup = panoramaPopup
+ },
+ SET_MONITORURL (state, monitorUrl) {
+ state.monitorUrl = monitorUrl
+ },
+ SET_MONITORPOPUP (state, monitorPopup) {
+ state.monitorPopup = monitorPopup
+ },
+ SET_DETAILSPOPUP (state, detailsPopup) {
+ state.detailsPopup = detailsPopup
+ },
+ SET_POPUPIMGATLAS (state, popupImgAtlas) {
+ state.popupImgAtlas = popupImgAtlas
+ },
+ SET_TEACHLIST (state, teachList) {
+ state.teachList = teachList
+ },
+ SET_LIVELIST (state, liveList) {
+ state.liveList = liveList
+ },
+
+ CLEAR_ALL (state, param) {
+ state.siteName = param
+ state.introduceText = param
+ state.telephone = param
+ state.panoramaUrl = param
+ state.monitorUrl = param
+ state.popupBgUrl = param
+ state.teachList = []
+ state.liveList = []
}
},
actions: {
--
Gitblit v1.9.3