From b912d487fcb309a3e8c727ad8a6778afb1436a75 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期五, 26 十二月 2025 15:32:22 +0800
Subject: [PATCH] feat: 修改大屏页面
---
src/components/page/leaderShow/leaderIndex.vue | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/src/components/page/leaderShow/leaderIndex.vue b/src/components/page/leaderShow/leaderIndex.vue
index 7e21332..fc251be 100644
--- a/src/components/page/leaderShow/leaderIndex.vue
+++ b/src/components/page/leaderShow/leaderIndex.vue
@@ -2,12 +2,6 @@
<div class="leaderIndex-wrap">
<div class="leaderIndex-title">
<h1>宄板嘲鐭垮尯缁煎悎琛屾斂鎵ф硶灞�鏅烘収娉婅溅骞冲彴</h1>
- <div class="leader-title-left">
- <h2>娆㈣繋鐧诲綍锛寋{userName}}</h2>
- </div>
- <div class="logout" @click="logout">
- 閫�鍑虹櫥褰�
- </div>
<!-- <div class="leader-title-right" @click="houtaiBtn">-->
<!-- <h2>鍚庡彴绠$悊</h2>-->
<!-- </div>-->
@@ -491,7 +485,7 @@
this.$byutil.postData4(this, this.pageConfig.getCarNumUrl, { parkId: coord.id }, res => {
this.pointNum1 = res.data.num // 杞︿綅鎬绘暟
this.pointNum2 = Math.floor(Number(res.data.num) - Number(res.data.carNum));
-
+
// 鍒涘缓淇℃伅绐楀彛鍐呭
const content = `
<div style="padding:10px">
@@ -505,7 +499,7 @@
width: 200,
title: "璇︾粏淇℃伅"
});
-
+
// 鍦ㄦ爣璁扮偣浣嶇疆鎵撳紑淇℃伅绐楀彛
marker.openInfoWindow(infoWindow, point);
})
@@ -520,7 +514,7 @@
[centerPoint, ...points].forEach(p => bounds.extend(p));
this.map.setViewport(bounds.getSouthWest(), bounds.getNorthEast());
-
+
// 鍏佽婊氳疆缂╂斁
this.map.enableScrollWheelZoom(point, 15);
// 璁剧疆鍦板浘榛樿缂╂斁姣斾緥
@@ -529,11 +523,11 @@
// style:'midnight',
styleJson:goodsData
});
-
+
this.map.addEventListener("tilesloaded", () => {
this.addHeatMap(this.map); // 纭繚鍦� tilesloaded 浜嬩欢鍚庤皟鐢�
});
-
+
// this.addHeatMap(this.map)
this.addMarker(this.map,point)
})
--
Gitblit v1.9.1