From 79f0dbe2bc5588c617ddfd82ac027977c764f5fe Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期三, 15 一月 2025 16:29:21 +0800 Subject: [PATCH] 资产管理 --- src/views/screen/components/screen-map/index.vue | 21 ++++++++++++++++----- 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/views/screen/components/screen-map/index.vue b/src/views/screen/components/screen-map/index.vue index 7793f76..ea2a99f 100644 --- a/src/views/screen/components/screen-map/index.vue +++ b/src/views/screen/components/screen-map/index.vue @@ -1,6 +1,6 @@ <template> <div class="map-container"> - <wrapper-title :title="'鍖哄煙鍦板浘'"></wrapper-title> + <!-- <wrapper-title :title="'鍖哄煙鍦板浘'"></wrapper-title> --> <div class="map-content"> <div ref="map" class="map-style"></div> </div> @@ -11,8 +11,9 @@ <script> import * as echarts from 'echarts'; import 'echarts-gl'; -import mapData from '@/assets/map/zigong.json'; +import mapData from '@/assets/map/zigong2.json'; import WrapperTitle from '../wrapper-title/index'; +import ScreenData from '../screen-data/index'; echarts.registerMap('zigong', mapData); let mapChart = null; @@ -99,7 +100,7 @@ zoomSensitivity: 1, rotateSensitivity: 0, }, - + // 鏁版嵁 data: mapData.features.map((item) => { return { @@ -161,7 +162,8 @@ } }, components: { - WrapperTitle + WrapperTitle, + ScreenData }, methods: { filterData(name) { @@ -236,6 +238,7 @@ .map-content { flex: 1; + position: relative; // background: rgba(67, 102, 155, 0.3); // border: 1px solid rgba(47, 91, 157, 0.8); } @@ -245,4 +248,12 @@ height: 100%; } } -</style> \ No newline at end of file + +.data-container { + width: 100%; + display: flex; + position: absolute; + top: 0; + left: 0; +} +</style> -- Gitblit v1.8.0