fix map marker width
This commit is contained in:
@ -35,7 +35,7 @@
|
||||
<t-cell class="map">
|
||||
<map
|
||||
slot="description"
|
||||
class="mini-map"
|
||||
class="instance"
|
||||
latitude="{{location.lat}}"
|
||||
longitude="{{location.lng}}"
|
||||
markers="{{mapMarkers}}"
|
||||
@ -43,10 +43,8 @@
|
||||
show-location
|
||||
>
|
||||
<cover-view slot="callout">
|
||||
<cover-view class="custom-callout" marker-id="0">
|
||||
<cover-view class="callout-content">
|
||||
<cover-view class="callout-text">{{location.title || '地点'}}</cover-view>
|
||||
</cover-view>
|
||||
<cover-view class="marker" marker-id="0" style="--title-length: {{location.title.length}}">
|
||||
{{location.title || '地点'}}
|
||||
</cover-view>
|
||||
</cover-view>
|
||||
</map>
|
||||
|
||||
Reference in New Issue
Block a user