From fa3202ad7237b0107950b0ad488498649d35aabf Mon Sep 17 00:00:00 2001 From: yaoyuhao Date: Thu, 1 Aug 2024 15:56:29 +0800 Subject: [PATCH] fontsize --- src/view/sy_mapcopy.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/view/sy_mapcopy.vue b/src/view/sy_mapcopy.vue index ce0eb5a..2facf0e 100644 --- a/src/view/sy_mapcopy.vue +++ b/src/view/sy_mapcopy.vue @@ -1599,7 +1599,6 @@ const to_jd = (item_name) => { // } else { // console.log(111, choose.value.person); cfJd.value = item_name; - //存放街道中心点 let jdCenter = []; BMAP(); loadCs(item_name); @@ -2016,7 +2015,7 @@ const createCustomOverlayJd = (polygon, indexx) => { div.setAttribute("name", this.properties.title); var title = document.createElement("div"); - title.style.fontSize = "10px"; + title.style.fontSize = "12px"; title.style.fontWeight = "600"; title.style.color = "#000000"; div.appendChild(title); @@ -2057,14 +2056,14 @@ const createCustomOverlayJd2 = (polygon, indexx) => { div.setAttribute("name", this.properties.title); var title = document.createElement("div"); - title.style.fontSize = "10px"; + title.style.fontSize = "12px"; title.style.fontWeight = "600"; title.style.color = "#000000"; div.appendChild(title); title.appendChild(document.createTextNode(this.properties.title)); content.appendChild(div); var number = document.createElement("div"); - number.style.fontSize = "12px"; + number.style.fontSize = "13px"; number.style.fontWeight = "600"; number.style.color = "#FEFF6C"; number.style.textShadow = "0px 2px 4px rgba(0,0,0,0.5)";