hookehuyr

fix

1 <!-- 1 <!--
2 * @Date: 2023-05-19 14:54:27 2 * @Date: 2023-05-19 14:54:27
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-09-12 10:30:25 4 + * @LastEditTime: 2024-09-12 10:46:54
5 * @FilePath: /map-demo/src/views/index.vue 5 * @FilePath: /map-demo/src/views/index.vue
6 * @Description: 公众地图主体页面 6 * @Description: 公众地图主体页面
7 --> 7 -->
...@@ -446,7 +446,7 @@ export default { ...@@ -446,7 +446,7 @@ export default {
446 // angle: 10, //点标记的旋转角度 446 // angle: 10, //点标记的旋转角度
447 style: { 447 style: {
448 //设置文本样式,Object 同 css 样式表 448 //设置文本样式,Object 同 css 样式表
449 - "padding": ".5rem .3rem .5rem .2rem", 449 + "padding": ".5rem .2rem .5rem .2rem",
450 // "margin-bottom": "1rem", 450 // "margin-bottom": "1rem",
451 // "border-radius": ".25rem", 451 // "border-radius": ".25rem",
452 "background-color": "#965f13", 452 "background-color": "#965f13",
...@@ -460,7 +460,7 @@ export default { ...@@ -460,7 +460,7 @@ export default {
460 "text-orientation": "mixed", 460 "text-orientation": "mixed",
461 "display": "flex", 461 "display": "flex",
462 "justify-content": "center", 462 "justify-content": "center",
463 - "align-items": "end", 463 + "align-items": "center",
464 }, 464 },
465 position: entity_info[i].position, //点标记在地图上显示的位置 465 position: entity_info[i].position, //点标记在地图上显示的位置
466 }); 466 });
......