소스 검색

更新 优化地图显示

王智慧 3 년 전
부모
커밋
86d8583104
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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>