· 开发版本:0.19.191100
· 基础库版本:1.4.0
· 微信版本:6.5.10
手机操作系统:华为 P9 android
问题:
cover-view覆盖在地图上时,模拟器下可以,真机下不行,没任何显示
代码:
<view class=“map_container”>
<map class=“map” id=“map” longitude="{{longitude}}" latitude="{{latitude}}" scale=“14” show-location=“true” markers="{{markers}}" bindmarkertap=“makertap” polyline="{{polyline}}" bindtap=“maptap”>
<cover-view class=“car_info” hidden="{{carInfohidden}}">
<view class=“basicInfo”>
<image style=“width: 750rpx; height: 165rpx;margin-left=20rpx;margin-top:5rpx;” mode="{{item.mode}}" src="…/…/img/new_card_bg1.png">
<text class=“driverNameCss”>{{placeData.driverName}}</text>
<text class=“carNumberCss”>{{placeData.carNumber}}</text>
<text class=“brandNameCss”>{{placeData.brandName}}</text>
<image class=“closeImageCss” src="…/…/img/new_close_gray.png" bindtap=“closeCarInfo”> </image>
<image class=“carImgCss” src="…/…/img/vehicle_detail.png"> </image>
</image>
</view>
<view class=“stateInfo”>
<image style=“width: 750rpx; height: 300rpx;margin-left=20rpx;margin-top:5rpx;” mode="{{item.mode}}" src="…/…/img/new_card_bg2.png">
<view class=“waringInfo”>
<view class=“carState” style=“flex-direction:row;”> <text class=“carTextFlagCss”>当前状态: </text><text class=“carTextCss”>{{placeData.state}}</text> </view>
<view class=“carStateTime” style=“flex-direction:row;”><text class=“carTextFlagCss”>上报时间: </text><text class=“carTextCss”>{{placeData.sTime}}</text> </view>
</view>
<image class=“lineImage” src="…/…/img/vertical_line.png"> </image>
<image class=“lineImage2” src="…/…/img/vertical_line.png"> </image>
<view class=“GPSInfo”>
<view class = “subGPSInfo”>
<view class = “itemCss”>
<view class=“carTextFlagCss”>纬度</view>
<view class=“carTextCss”>{{placeData.latitude}}</view>
</view>
<view class = “itemCss”>
<view class=“carTextFlagCss”>经度</view>
<view class=“carTextCss”>{{placeData.longitude}}</view>
</view>
<view class = “itemCss”>
<view class=“carTextFlagCss”>速度</view>
<view class=“carTextCss”>{{placeData.speed}}
</view>
</view>
</view>
<view class = “subGPSInfo”>
<view class = “itemCss”>
<view class=“carTextFlagCss”>方向</view>
<view class=“carTextCss”>{{placeData.heading}}</view>
</view>
<view class = “itemCss”>
<view class=“carTextFlagCss”>海拔</view>
<view class=“carTextCss”>{{placeData.altitude}}</view>
</view>
<view class = “itemCss”>
<view class=“carTextFlagCss”>GPS时间</view>
<view class=“carTextCss”>{{placeData.pTime}}</view>
</view>
</view>
</view>
</image>
</view>
<view class=“otherInfo”>
<image style=“width: 750rpx; height: 250rpx;margin-left=10rpx;margin-top:1rpx;” mode="{{item.mode}}" src="…/…/img/new_card_bg3.png">
<view class=“basicOtherInfo”>
<view style=“display: flex;”><Text class=“carTextFlagCss”>领航员 </Text><Text class=“carTextCss”>{{placeData.pilotName}}</Text> </view>
<view style=“display: flex;”><Text class=“carTextFlagCss”>俱乐部 </Text><Text class=“carTextCss”>{{placeData.clubName}}</Text> </view>
<view style=“display: flex;”><Text class=“carTextFlagCss”>组别 </Text><Text class=“carTextCss”>{{placeData.groupName}}</Text> </view>
</view>
<view class=“historyTraceCss”>
<button type=“primary” size="{{primarySize}}" loading="{{loading}}" plain="{{plain}}"
disabled="{{disabled}}" bindtap=“showHistoryTrace”> 历史轨迹 </button>
</view>
</image>
</view>
</cover-view>
<!–
<cover-view class=“controls” >
<view >
<image class=“img” src="…/…/img/vehicle_detail.png" />
<view> 12345</view>
</view>
<cover-view class=“pause” bindtap=“pause”>
<cover-image class=“img” src="…/…/img/marker_red.png" />
</cover-view>
<cover-view class=“time”>00:00</cover-view>
</cover-view>–>
</map>
</view>