|
@@ -43,9 +43,13 @@ window.grendCAD = (function grendCAD() {
|
|
|
right: 20px;
|
|
|
top: 16px;
|
|
|
width: 200px;
|
|
|
- height: 200px;
|
|
|
+ height: 150px;
|
|
|
background: rgba(0, 0, 0, .3);
|
|
|
- border-radius: 5px;
|
|
|
+ border-radius: 5px;
|
|
|
+ visibility: visible;
|
|
|
+ g.sign>path {
|
|
|
+ opacity: 1;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.cad > div {
|
|
@@ -73,6 +77,9 @@ window.grendCAD = (function grendCAD() {
|
|
|
height: 100px;
|
|
|
background: rgba(0, 0, 0, .3);
|
|
|
border-radius: 5px;
|
|
|
+ g.sign>path {
|
|
|
+ opacity: 1;
|
|
|
+ }
|
|
|
}
|
|
|
.img {
|
|
|
width: 90%;
|
|
@@ -117,10 +124,8 @@ window.grendCAD = (function grendCAD() {
|
|
|
initFloor = floor
|
|
|
|
|
|
loadScript(function () {
|
|
|
- let [$layer, $img] = loadDOM($parent)
|
|
|
+ let [$layer] = loadDOM($parent)
|
|
|
|
|
|
-
|
|
|
- $layer.style.visibility = 'hidden'
|
|
|
window.cad = structureCAD({
|
|
|
data: {
|
|
|
block: [],
|
|
@@ -144,7 +149,6 @@ window.grendCAD = (function grendCAD() {
|
|
|
if (point && dire) {
|
|
|
window.cad.setSign(point, dire)
|
|
|
}
|
|
|
- $layer.style.visibility = 'hidden'
|
|
|
})
|
|
|
}
|
|
|
})()
|