diff --git a/pages/map/map.vue b/pages/map/map.vue
index 70cb198..9e5d8e8 100644
--- a/pages/map/map.vue
+++ b/pages/map/map.vue
@@ -21,7 +21,7 @@
- {{ item.name }}
+ {{ item.name }}
@@ -263,7 +263,8 @@ export default {
position: absolute;
&__text {
- width: 200rpx;
+ min-width: 160rpx;
+ max-width: 220rpx;
word-break: break-all;
background: #F5D8AD;
border-radius: 6rpx;
@@ -272,7 +273,7 @@ export default {
font-size: 20rpx;
zoom: .85;
text-align: center;
- transform: translate(-50rpx,-100%);
+ transform: translate(calc(-50% + 58rpx),-100%);
padding: 10rpx 8rpx;
position: absolute;