This commit is contained in:
姚宇浩 2024-07-24 15:15:11 +08:00
parent cffd7469cf
commit e6e2092913
1 changed files with 3 additions and 3 deletions

View File

@ -609,7 +609,7 @@ const createCs2 = (polygon, indexx) => {
div.setAttribute("name", this.properties.title); div.setAttribute("name", this.properties.title);
var title = document.createElement("div"); var title = document.createElement("div");
title.style.fontSize = "16px"; title.style.fontSize = "10px";
title.style.fontWeight = "600"; title.style.fontWeight = "600";
title.style.color = "#000000"; title.style.color = "#000000";
div.appendChild(title); div.appendChild(title);
@ -617,7 +617,7 @@ const createCs2 = (polygon, indexx) => {
content.appendChild(div); content.appendChild(div);
var number = document.createElement("div"); var number = document.createElement("div");
number.style.fontSize = "16px"; number.style.fontSize = "10px";
number.style.fontWeight = "600"; number.style.fontWeight = "600";
number.style.color = "rgba(0, 255, 189, 1)"; number.style.color = "rgba(0, 255, 189, 1)";
div.appendChild(number); div.appendChild(number);
@ -625,7 +625,7 @@ const createCs2 = (polygon, indexx) => {
content.appendChild(div); content.appendChild(div);
let img2 = document.createElement("img"); let img2 = document.createElement("img");
img2.style.width = "20px"; img2.style.width = "20px";
img2.style.height = "20px"; img2.style.height = "26px";
img2.src = this.properties.imgSrc2; img2.src = this.properties.imgSrc2;
content.appendChild(div); content.appendChild(div);