shuishen
2021-12-21 0b9095227438cb35f5a8759aee8f3b32a732151c
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: {