新增点击地点标点,弹出地点信息弹窗功能
This commit is contained in:
16
src/stores/LandMarkShow.js
Normal file
16
src/stores/LandMarkShow.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
|
||||
export const LandMarkShowStore = defineStore({
|
||||
id: 'LandMarkShow',
|
||||
state: () => ({
|
||||
information: {
|
||||
landTitle: NaN,
|
||||
landDescribes: NaN,
|
||||
landImgUrl: NaN,
|
||||
landPosition: NaN,
|
||||
landImgCount: NaN
|
||||
},
|
||||
boxShow: false,
|
||||
})
|
||||
})
|
||||
23
src/stores/LandMarkWindow.js
Normal file
23
src/stores/LandMarkWindow.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
|
||||
export const LandMarkWindowStore = defineStore({
|
||||
id: 'LandMarkWindow',
|
||||
state: () => ({
|
||||
information: {
|
||||
landTitle: NaN,
|
||||
landDescribes: NaN,
|
||||
landImgUrl: NaN,
|
||||
landPosition: NaN,
|
||||
landImgCount: NaN
|
||||
},
|
||||
windowPosition: {
|
||||
bottom: NaN,
|
||||
left: NaN
|
||||
},
|
||||
buttonText: false,
|
||||
windowShow: false,
|
||||
hiddenWindow: false,
|
||||
flyToLand: false,
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user