Browse Source

更新 优化地图显示

王智慧 3 năm trước cách đây
mục cha
commit
86d8583104
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      miniprogram/pages/voyages/detail/detail.wxml

+ 3 - 1
miniprogram/pages/voyages/detail/detail.wxml

@@ -1,5 +1,7 @@
 <view wx:if="{{canComplete&&voyageStatus!=2}}" bindtap="completeVoyage" class="voyage-btn back-blue">完成航次</view>
-<map enable-zoom="{{false}}" enable-scroll="{{false}}" markers="{{markers}}" include-points="{{points}}" latitude="{{latitude}}" longitude="{{longitude}}" style="width: 100%;height: 294rpx;" name="map" class="map"></map>
+<view style="height: 294rpx;overflow:hidden">
+  <map enable-zoom="{{false}}" enable-scroll="{{false}}" markers="{{markers}}" include-points="{{points}}" latitude="{{latitude}}" longitude="{{longitude}}" style="width: 100%;height: 334rpx;" name="map" class="map"></map>
+</view>
 <view wx:if="{{canCancel&&voyageStatus!=2}}" bindtap="cancelVoyage" class="cancel-voyage">取消航次</view>
 <view class="df aic jcsa tabs" style="padding: 0 20rpx;margin-bottom:32rpx">
   <view class="tabsview {{tab==1?'current-tab':''}}" bindtap="changeTab" data-tab="{{1}}">航次信息</view>