uniapp map中使用cover-view,cover-view中嵌套input在移动端上调试的时候没有效果,H5上是有效果的,
<map id="navmap" style="height: 93vh;width: 100vw;" :latitude="latitude" :longitude="longitude"
:markers="markers" @callouttap="_toShopDetail" :include-points="points">
<cover-view style="width: 80%;margin-left:5%;margin-right:5%;background-color: #FAFAFA;display: flex;flex-direction: row;align-items: center;
justify-content: center;padding: 2% 5%;margin-top: 20upx;border-radius: 10upx">
<img style="width: 30upx;height: 30upx" src="../../../../static/images/icon_search.png"/>
<input placeholder="搜索商铺" style="text-align: center;width: 100%;font-size: 32upx;" @input="_searchShop"/>
</cover-view>
</map>
JakeWarthon (作者)
我这边使用的是vue
2019-11-13 16:10
JakeWarthon (作者)
想问下vue中使用native.js可以实现覆盖在map上吗
2019-11-13 16:27