- 小程序支持Promise的finally吗?
如果是需求: * 你希望有什么能力? Promise的finally * 你需要这个能力的场景是 ? 当请求完成时,不管成功与否都执行关闭加载框的操作。现在需要写两遍。
2018-03-12 - iOS12.2 Video遮挡 cover-view的问题
- 当前 Bug 的表现(可附上截图) 在video标签上面的cover-view组件,iphone手机升级到12.2版本后,不可见 1.升级前 [图片] 2.升级后 [图片] - 预期表现 - 复现路径 - 提供一个最简复现 Demo wxml代码 <video id="myVideo" class="video_bar" direction="0" wx:if="{{videoData.video}}" src="{{playvideo}}" poster="{{coverImg}}" binderror="{{playerror}}" autoplay="{{autoplay}}"> <cover-view class="video_control"> <cover-view class="m_btn_g" bindtap="shareVideo"> <cover-view class="m_btn_iw"> <cover-image class="img" src="../images/share.png"/> </cover-view> <cover-view class="m_btn_t">分享</cover-view> </cover-view> <cover-view class="m_btn_g" bindtap="saveVideo" wx:if="{{authVideo}}"> <cover-view class="m_btn_iw"> <cover-image class="img" src="../images/save.png"/> </cover-view> <cover-view class="m_btn_t">保存</cover-view> </cover-view> <button class="m_btn_oset" open-type="openSetting" wx:if="{{!authVideo}}"> <cover-view class="m_btn_g"> <cover-view class="m_btn_iw"> <cover-image class="img" src="../images/save.png"/> </cover-view> <cover-view class="m_btn_t">保存</cover-view> </cover-view></button> <cover-view class="m_btn_g" bindtap="saveTxt" wx:if="{{videoData.text}}"> <cover-view class="m_btn_iw"> <cover-image class="img" src="../images/copy.png"/> </cover-view> <cover-view class="m_btn_t">文字</cover-view> </cover-view> <cover-view class="m_btn_g" bindtap="backHome"> <cover-view class="m_btn_iw"> <cover-image class="img" src="../images/home.png"/> </cover-view> <cover-view class="m_btn_t">首页</cover-view> </cover-view> </cover-view> <cover-view class="subtxt_warp" wx:if="{{videoData.text}}"> <cover-view class="subtxt">{{videoData.text}}</cover-view> </cover-view> </video>
2019-03-26 - video标签使用bindtap绑定事件,安卓正常,IOS无效
video组件使用bindtap绑定事件,PC和安卓上执行均正常,安卓无效,是明确不支持video组件直接绑定事件,还是IOS上存在BUG?
2018-03-09