手机不触发map bindtouchend等事件

发布于 6 年前作者 guiying5214674 次浏览最后编辑 6 年前来自 ask
<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 回复
yan97
yan971 楼6 年前

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

fang71
fang712 楼4 年前

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