From 310156b7244cd7b0c1b958f4267b5cf4e12bd90a Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期五, 08 三月 2024 17:15:45 +0800
Subject: [PATCH] fix:修改获取实例
---
src/views/daoAnOffice/index.vue | 32 +++++++++++++++++++-------------
1 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/src/views/daoAnOffice/index.vue b/src/views/daoAnOffice/index.vue
index 7e22a4d..bbb73a7 100644
--- a/src/views/daoAnOffice/index.vue
+++ b/src/views/daoAnOffice/index.vue
@@ -22,7 +22,7 @@
import CenterMap from "./center-map.vue";
// 鎺у埗鍦板浘鏄剧ず
-import {mapState} from '@/stores/map.js';
+import { mapState } from '@/stores/map.js';
import { ref } from "vue";
@@ -113,17 +113,10 @@
</div>
</div>
- <div class="contetn_center">
-
+ <div class="contetn_center" v-if="mapState">
<!-- echart鍦板浘 -->
- <CenterMap class="contetn_center_top" v-show="mapState" />
+ <CenterMap class="contetn_center_top" />
- <div class="map-change-button" @click="mapChange">
- <div class="button-title">鍦板浘鍒囨崲</div>
- <div class="button-img">
- <img src="@/assets/img/dtqh.png" alt="">
- </div>
- </div>
</div>
<!-- 鍙宠竟鍖哄煙 -->
@@ -138,6 +131,14 @@
<div class="right_wrapper_content">
<Publicize />
</div>
+ </div>
+ </div>
+
+ <!-- 鍒囨崲鍦板浘鎸夐挳 -->
+ <div class="map-change-button" @click="mapChange">
+ <div class="button-title">鍦板浘鍒囨崲</div>
+ <div class="button-img">
+ <img src="@/assets/img/dtqh.png" alt="">
</div>
</div>
@@ -269,13 +270,14 @@
.map-change-button {
width: 94px;
position: absolute;
- bottom: 120px;
- right: 0;
+ bottom: 50px;
+ left: 2416px;
font-size: 16px;
color: #FFFFFF;
z-index: 99;
text-align: center;
cursor: pointer;
+ font-family: 'PingFang SC';
}
.gddt {
@@ -290,6 +292,8 @@
display: flex;
min-height: calc(100% - 64px);
justify-content: space-between;
+ margin-top: -40px;
+ padding: 0 22px;
}
//宸﹁竟 鍙宠竟 缁撴瀯涓�鏍�
@@ -327,6 +331,7 @@
.contetn_lr-item_left {
width: 50%;
+ margin-right: 26px;
}
.contetn_lr-item_contetn {
@@ -414,4 +419,5 @@
.right_wrapper_content {
width: 617px;
-}</style>
+}
+</style>
--
Gitblit v1.8.0