This commit is contained in:
王丹 2024-12-13 12:44:15 +08:00
parent 481f12042f
commit ec54f154e7

View File

@ -11,8 +11,13 @@
</head>
<body style="margin: 0;">
<div class="main">
<div id="distanceOutput"></div>
<div id="map">
<!-- 头部 -->
<div class="nav-bar">
<div style="font-size: 0.84375rem;">地块</div>
<div style="font-size: 1.125rem;">测试地块</div>
<div></div>
</div>
<!-- 搜索 -->
<div class="search-box" onclick="event.stopPropagation();PageHandle.openMapSearch(true)">
<div class="search">
@ -1053,11 +1058,24 @@
height: 100%;
}
.nav-bar {
color: #fff;
padding: 0 10px;
position: absolute;
z-index: 1100;
width: 100%;
background: rgba(0, 0, 0, 0.5);
height: 44px;
display: flex;
align-items: center;
justify-content: space-between;
}
.search-box {
position: absolute;
z-index: 1100;
padding: 0 10px;
bottom: 10%;
bottom: 0%;
left: 50%;
transform: translateX(-50%);
width: 100%;
@ -1174,11 +1192,11 @@
}
.LAYER.show {
bottom: 10%;
bottom: 0%;
}
.LAYER.hide {
bottom: -20%;
bottom: -50%;
}
.LAYER .title {
@ -1239,11 +1257,11 @@
background: linear-gradient(to top, #eff0f5 96%, transparent);
width: 100%;
transition: bottom 0.5s ease-out;
height: 88vh;
height: 92vh;
}
.pop-up.show {
bottom: 10%;
bottom: 0%;
}
.pop-up.hide {