腾讯地图功能锁定

This commit is contained in:
超级老白兔
2025-11-21 18:30:12 +08:00
parent 7dcbcfacc1
commit 6c9551be05
3 changed files with 487 additions and 863 deletions

View File

@@ -0,0 +1,111 @@
.selectMapContainer {
display: flex;
flex-direction: column;
height: 600px;
gap: 16px;
}
.searchArea {
flex-shrink: 0;
position: relative;
}
.searchInput {
width: 100%;
}
.searchResults {
position: absolute;
top: 100%;
left: 0;
right: 0;
z-index: 1000;
background: #fff;
border: 1px solid #e8e8e8;
border-radius: 4px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
margin-top: 4px;
max-height: 300px;
overflow-y: auto;
:global(.ant-list-item) {
cursor: pointer;
padding: 12px 16px;
transition: background-color 0.2s;
&:hover {
background-color: #f5f5f5;
}
}
}
.mapArea {
flex: 1;
position: relative;
border: 1px solid #e8e8e8;
border-radius: 4px;
overflow: hidden;
}
.mapContainer {
width: 100%;
height: 100%;
min-height: 400px;
}
.loadingOverlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.8);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
}
.locationInfo {
flex-shrink: 0;
padding: 12px 16px;
background: #f5f5f5;
border-radius: 4px;
border: 1px solid #e8e8e8;
}
.locationLabel {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
font-weight: 500;
color: #1890ff;
margin-bottom: 8px;
}
.locationText {
font-size: 14px;
color: #333;
margin-bottom: 4px;
word-break: break-all;
}
.locationCoords {
font-size: 12px;
color: #999;
font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
}
.resultItem {
:global(.ant-list-item-meta-title) {
font-size: 14px;
color: #333;
margin-bottom: 4px;
}
:global(.ant-list-item-meta-description) {
font-size: 12px;
color: #999;
}
}