根据测试,发现cover-view嵌套在map里面 ,在小米5s PLUS和小米4的机型无法显示控件,希望尽快解决
<map id=“myMap” longitude="{{point.longitude}}" latitude="{{point.latitude}}" scale=“14” controls="{{controls}}" bindcontroltap=“controltap” markers="{{markers}}" bindmarkertap=“markertap” polyline="{{polyline}}" bindregionchange=“regionchange” show-location
style=“width:{{mapWidth}};height:{{mapHeight}};top:{{mapTop}}” bindtap=‘bindMap’>
<!–地图控件 刷新 登陆/验证 钱包 -->
<cover-view class=‘controls’ style=‘display:{{controlsiconShow}}’>
<cover-view bindtap=‘bindRefresh’>
<cover-image class=‘refresh-icon’ src="/resources/[email protected]"></cover-image>
</cover-view>
<cover-view >
<cover-image bindtap=‘bindScanCode’ style=‘display:{{scanbtnShow}}’ class=‘login-icon’ src="/resources/scan.png"></cover-image>
<cover-image bindtap=‘bindLogin’ style=‘display:{{loginbtnShow}}’ class=‘login-icon’ src="/resources/login.jpg"></cover-image>
</cover-view>
<cover-view bindtap=‘bindWallet’>
<cover-image class=‘wallet-icon’ src="/resources/[email protected]"></cover-image>
</cover-view>
</cover-view>
</map>