手机不触发map bindtouchend等事件
发布于 5 年前 作者 guiying52 14502 次浏览 来自 问答
<map class='map' id='map' bindmarkertap='bind_mkr_tap'    bindtouchstart='bind_map_move_start' bindtouchend='bind_map_move_end' longitude="{{longitude}}" latitude="{{latitude}}"   show-location>   
  </map>

以上代码在开发者工具中测试,可以全部触发,但是在手机上全部不能触发,请问这是为什么,我上几个星期还在手机上测试过可以的,今天就不行了。不知道是个别手机原因还是其他,请有时间的用代码片段测试一下

2 回复

你好,map组件不支持bindtouchend事件的,原生组件都不支持touch事件的

您现在问题解决了吗 bindtouchstart 事件可以触发嘛~ 求指教

回到顶部