From 0b9095227438cb35f5a8759aee8f3b32a732151c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 21 Dec 2021 16:42:40 +0800
Subject: [PATCH] 校内机构等模块中弹框封装,及部分接口对接,及部分样式更改
---
src/store/modules/popupParams.js | 25 ++++++++++++++++++++++---
1 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/src/store/modules/popupParams.js b/src/store/modules/popupParams.js
index 997c1e2..b055c9d 100644
--- a/src/store/modules/popupParams.js
+++ b/src/store/modules/popupParams.js
@@ -7,16 +7,21 @@
pointPosition: null,
stateName: null,
siteName: null,
+ telephone: null,
introduceText: null,
panoramaUrl: null,
detailsPopup: false,
- panoramaPopup: false
+ panoramaPopup: 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) {
@@ -34,6 +39,9 @@
SET_SITENAME (state, siteName) {
state.siteName = siteName
},
+ SET_TELEPHONE (state, telephone) {
+ state.telephone = telephone
+ },
SET_INTRODUCETEXT (state, introduceText) {
state.introduceText = introduceText
},
@@ -46,11 +54,22 @@
SET_PANORAMAPOPUP (state, panoramaPopup) {
state.panoramaPopup = panoramaPopup
},
+ 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.panoramaUrl = param
+ state.teachList = []
+ state.liveList = []
}
},
actions: {
--
Gitblit v1.9.3