@@ -226,11 +226,13 @@ onMounted(() => {
background: rgb(35, 35, 35, 0.86);
color: #fff;
font-size: 16px;
+ border-radius: 4px;
.warning-info-title {
display: flex;
padding: 6px 10px;
background: rgba(255, 255, 255, 0.05);
font-size: 18px;
+ border-radius: 4px 4px 0 0;
.icon {
padding-right: 6px;
}
@@ -34,8 +34,8 @@ class HomeMap {
// 创建弹窗图层
this.popup = new Overlay({
element: document.getElementById('popup'),
- positioning: 'bottom-center',
- offset: [0, -10],
+ positioning: 'right-center',
+ offset: [10, 10],
});
this.kmap.map.addOverlay(this.popup);
setTimeout(() => {