| | |
| | | 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) { |
| | |
| | | }, |
| | | 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: { |