bind事件都失效,不确定是微信版本的问题,苹果iOS12.2 [代码]<[代码][代码]video[代码] [代码]class[代码][代码]=[代码][代码]'detailVideo'[代码] [代码]wx:for[代码][代码]=[代码][代码]"{{ detail.videos }}"[代码] [代码]wx:for-index[代码][代码]=[代码][代码]"idx"[代码] [代码]wx:for-item[代码][代码]=[代码][代码]"item"[代码] [代码]wx:key[代码][代码]=[代码][代码]"{{item}}"[代码] [代码]src[代码][代码]=[代码][代码]'{{item}}'[代码] [代码]bindtap[代码][代码]=[代码][代码]'previewVideo'[代码] [代码]bindlongpress[代码][代码]=[代码][代码]'rmVideo'[代码] [代码]bindfullscreenchange[代码][代码]=[代码][代码]"changeVideoScreen"[代码] [代码]data-idx[代码][代码]=[代码][代码]"{{item}}"[代码] [代码]id[代码][代码]=[代码][代码]"video{{item}}"[代码] [代码]autoplay></[代码][代码]video[代码][代码]>[代码][代码]rmVideo: [代码][代码]function[代码][代码](e) {[代码][代码] [代码][代码]var[代码] [代码]that = [代码][代码]this[代码][代码];[代码][代码] [代码][代码]wx.showActionSheet({[代码][代码] [代码][代码]itemList: [[代码][代码]'删除'[代码][代码]],[代码][代码] [代码][代码]success(res) {[代码][代码] [代码][代码]console.log(res);[代码][代码] [代码][代码]that.setData({[代码][代码] [代码][代码][[代码][代码]"detail.videos"[代码][代码]]: Util.RmArrayByItem(that.data.detail.videos, e.currentTarget.dataset.idx)[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码][代码] [代码][代码]fail(res) {[代码][代码] [代码][代码]console.log(res.errMsg)[代码][代码] [代码][代码]}[代码][代码] [代码][代码]})[代码][代码] [代码][代码]},[代码] 问题:我想要做的 bindlongpress 长按事件,触发删除弹窗,然后就发现所有的bind事件都没有进来
小程序video标签 ios bind事件失效- 当前 Bug 的表现(可附上截图) - 预期表现 - 复现路径 - 提供一个最简复现 Demo 小程序video标签 ios bind事件失效,点击video标签事件不生效
2019-05-20