From f5233339920a59103d53e8efadc6f3f5d0b64f31 Mon Sep 17 00:00:00 2001 From: lixuliang <lixuliang_hd@126.com> Date: 星期三, 08 五月 2024 14:45:37 +0800 Subject: [PATCH] 移动端 --- src/utils/store.js | 34 +++++++++++++++++++++++++++++++--- 1 files changed, 31 insertions(+), 3 deletions(-) diff --git a/src/utils/store.js b/src/utils/store.js index b9e7cd6..0d5e62b 100644 --- a/src/utils/store.js +++ b/src/utils/store.js @@ -1,4 +1,16 @@ const store = { + navigator: { + show: true, + }, + setNavigatorShow(val) { + this.navigator.show = val + }, + mapTools: { + show: true, + }, + setMapToolShow(val) { + this.mapTools.show = val + }, /**鍦板潃椤甸潰 */ locationCollection: { show: false @@ -38,7 +50,7 @@ MenuList: { show: false }, - setMenuListShow(val){ + setMenuListShow(val) { this.MenuList.show = val; }, /**鍥惧眰椤甸潰 */ @@ -131,7 +143,15 @@ tdglInfo: { flag: false, show: false, + sliderShow: false, + alpha: 1, info: {} + }, + setAlpha(val) { + this.tdglInfo.alpha = val; + }, + setSliderShow(val) { + this.tdglInfo.sliderShow = val; }, setTdglFlag(val) { this.tdglInfo.flag = val; @@ -151,8 +171,16 @@ setHistoryShow(val) { this.history.show = val; }, - qiyeJsonInfo:{} - + qiyeJsonInfo: {}, + /* + 鍩虹鍥惧眰閫夋嫨鎯呭喌 + */ + basicMapChecked: { + val: "", + }, + setBasicMap(val) { + this.basicMapChecked.val = val; + } }; export default store; \ No newline at end of file -- Gitblit v1.9.3