|
@@ -720,7 +720,7 @@
|
|
|
const div = document.createElement('div');
|
|
|
div.id = child.uuid;
|
|
|
let html = '';
|
|
|
- html += '<div style="font-size: 12px; width: 100px; text-align: center;position: relative;">';
|
|
|
+ html += '<div style="font-size: 12px; width: 110px; text-align: center;position: relative;">';
|
|
|
html += '<div class="building-text" style="background: #18A65A; margin-bottom: -2px;position: absolute;top:170px">';
|
|
|
html += '<span style="text-align: left;">地下停车场</span>';
|
|
|
html += '<span style="font-size: 10px; text-align: left;">所有车位:650个</span>';
|
|
@@ -736,7 +736,7 @@
|
|
|
const div = document.createElement('div');
|
|
|
div.id = child.uuid;
|
|
|
let html = '';
|
|
|
- html += '<div style="font-size: 12px; width: 80px; text-align: center;position: relative;">';
|
|
|
+ html += '<div style="font-size: 12px; width: 100px; text-align: center;position: relative;">';
|
|
|
html += '<div class="building-text" style="background: #18A65A; margin-bottom: -2px;position: absolute;top:170px">';
|
|
|
html += '<span style="text-align: left;">停车场</span>';
|
|
|
html += '<span style="font-size: 10px; text-align: left;">所有车位:57个</span>';
|
|
@@ -752,7 +752,7 @@
|
|
|
const div = document.createElement('div');
|
|
|
div.id = child.uuid;
|
|
|
let html = '';
|
|
|
- html += '<div style="font-size: 12px; width: 80px; text-align: center;position: relative;">';
|
|
|
+ html += '<div style="font-size: 12px; width: 100px; text-align: center;position: relative;">';
|
|
|
html += '<div class="building-text" style="background: #18A65A; margin-bottom: -2px;position: absolute;top:170px">';
|
|
|
html += '<span style="text-align: left;">停车场</span>';
|
|
|
html += '<span style="font-size: 10px; text-align: left;">所有车位:74个</span>';
|
|
@@ -816,7 +816,7 @@
|
|
|
html += '<div class="building-line" style="border-left: 1px dashed #1D96E9; height: 100px; top: 110px;"></div>';
|
|
|
div.innerHTML = html;
|
|
|
let tag = new THREE.CSS2DObject(div);
|
|
|
- child.add(tag);
|
|
|
+ child.add(tag);
|
|
|
div.style.pointerEvents = 'auto';
|
|
|
|
|
|
div.addEventListener('click', function (event) {
|