- video
[图片] [图片] iphone 系统升级到12.2之后 同样2部iphone7 一部系统最新是12.2 video保存原生组件 另外一部系统不是最新系统 就不会发生上面图片的情况
2019-04-08 - video层级失效
[图片] [图片] <video id="myVideo" class='video' src="{{product.videoUrl}}" autoplay="{{false}}" custom-cache="{{false}}" show-fullscreen-btn='{{false}}'> </video> 层级失效了嘛 之前是好的 最近发现层级失效 官方这是什么情况?
2019-04-08 - 授权获取用户头像跟昵称
<button class='btn' style="color:#fff;" open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="bindGetUserInfo">更新资料</button> 第一次点击按钮弹框弹出之后,点击拒绝授权,第二次在点击按钮弹出授权弹框,这种情况下点击不管点击拒绝还是允许授权,都是重复2次授权弹框,以此类推,第几次点击就出出现几次,点击允许授权也要点击几次 安卓手机发现这种问题,小米MI8 SE型号手机,严重影响客户的体验效果
2019-03-06 - 授权相册失效
<view class='authorize' wx:if="{{isShowToast}}" catchtap='hiddenAuthorization'> <view class='authorize-frame'> <view class="cell-title">温馨提示</view> <view class="cell-content">下载图片保存到相册,需要允许访问相册,请去授权完成访问</view> <button open-type="openSetting" type='warn' bindopensetting="handleSetting" class='btn'>去授权</button> </view> </view> //下载套图按钮 she_download(e) { console.log(e) var that = this that.__wxSetting() }, //判断是否授权,已授权执行下载事件,未授权弹出授权弹框 __wxSetting() { let that = this // 检测设置中是否允许保存到相册中去 wx.getSetting({ success(res) { console.log(res) // 第一,直接调取保存,系统会自动调取授权 if (!res.authSetting['scope.writePhotosAlbum']) { // 不授权 that.setData({ isShowToast: true }) } else { // 授权 that.__saveImage() } } }) }, //授权按钮 handleSetting(event) { let that = this // 对用户的设置进行判断,如果没有授权,显示的也是“去授权”按钮; that.setData({ isShowToast: false }) if (!event.detail.authSetting['scope.writePhotosAlbum']) { wx.showModal({ title: '温馨提示', content: '若不打开授权,则无法将图片保存在相册中', showCancel: false }) } else { wx.showToast({ icon: 'success', title: '授权成功', success(res) { that.__saveImage() } }) } }, //下载图片跟保存到相册 __saveImage() { wx.showLoading({ title: '下载中...', }); } [图片] 考虑到wx.authorize点击拒绝的时候授权不在提示弹框,自写一个弹框,点击授权button 没有相册授权信息?这是什么原因造成的?
2019-03-06 - 地理位置授权跟相册授权失效
<view class='authorization'> <view class='authorization-box'> <view class='title'>访问权限</view> <view class='main'>您访问的服务,需要授权获取微信信息</view> <view class='btn'> <button class='yan_btn' bindtap="she_disappear" style="background-color:#ccc;color:#000;">取消</button> <button class='yan_btn' style="background-color:red;color:#fff;" open-type='openSetting' bindopensetting="handleSetting"> 立即授权 </button> </view> </view> </view> //授权 handleSetting(e) { console.log(e) }, [图片] [图片]
2019-03-05 - button按钮获取手机号点击允许没有任何反应
[图片] [图片] <button open-type="getPhoneNumber" style="background-color: #00CD00" bindgetphonenumber="bindgetphonenumber" class='center yan_btn'>微信添加</button> //授权绑定微信号的手机号码 bindgetphonenumber(even) { console.log(even) }, 点击允许打印不出任何数据,这是什么情况?
2019-02-26 - video在点击全屏的情况下有个抖动效果
<video class="wxParse-video-video " id="myVideo" src="{{item.videoUrl}}" initial-time="{{item.currentTime}}" controls="{{!false}}" autoplay="{{true}}" custom-cache="{{false}}" loop="{{true}}" bindtimeupdate="eventPlayupdate" bindfullscreenchange="eventFullScreen" data-index="{{index}}" wx:if="{{item.isPlay}}"> <cover-view class='cover-qp' bindtap='showCover' wx:if="{{showCover}}"></cover-view> <cover-view class='cover-qp' bindtap='hiddenCover' wx:if="{{hiddenCover}}"></cover-view> </video> //视频 onReady(res) { this.videoContext = wx.createVideoContext('myVideo', this) }, //视频全屏 showCover(e) { this.videoContext.requestFullScreen() this.setData({ showCover: false, hiddenCover: true }) }, //退出全屏 hiddenCover(e) { this.videoContext.exitFullScreen() this.setData({ showCover: true, hiddenCover: false }) }, video进入全屏跟退出全屏都存在闪烁跟抖动,或者就点击video组件的右下角的全屏按钮也同样存在这种情况?有什么办法解决嘛?没有腾讯视频点击全屏的那种效果
2019-02-25 - video进入全屏有抖动
<video class="wxParse-video-video " id="myVideo" src="{{item.videoUrl}}" initial-time="{{item.currentTime}}" controls="{{!false}}" autoplay="{{true}}" custom-cache="{{false}}" loop="{{true}}" bindtimeupdate="eventPlayupdate" bindfullscreenchange="eventFullScreen" data-index="{{index}}" wx:if="{{item.isPlay}}"> <cover-view class='cover-qp' bindtap='showCover' wx:if="{{showCover}}"></cover-view> <cover-view class='cover-qp' bindtap='hiddenCover' wx:if="{{hiddenCover}}"></cover-view> </video> //视频 onReady(res) { this.videoContext = wx.createVideoContext('myVideo', this) }, //视频全屏 showCover(e) { this.videoContext.requestFullScreen() this.setData({ showCover: false, hiddenCover: true }) }, //退出全屏 hiddenCover(e) { this.videoContext.exitFullScreen() this.setData({ showCover: true, hiddenCover: false }) }, video进入全屏跟退出全屏都存在闪烁跟抖动,或者就点击video组件的右下角的全屏按钮也同样存在这种情况?有什么办法解决嘛?
2019-02-25 - cover-view抖动
<block wx:for="{{mapSkuList}}" wx:key="index"> <cover-view class='sku-content-list active' wx:if="{{activeBanner == index}}"> <cover-view class='img'> <cover-image class="image" src='{{item.img}}' mode="aspectFill"></cover-image> </cover-view> <cover-view class='color active'>{{item.skuColor}}</cover-view> <cover-view class='mashu active'>({{item.skuSize}})</cover-view> <cover-view class="sku-content-size-right"> <cover-view class="minusIcon active" data-index="{{index}}" wx:key="index" bindtap="minusSkuNumber">-</cover-view> <cover-view class="skuNumber active">{{item.selectNumber}}</cover-view> <cover-view class="plusIcon active" wx:key="index" data-index="{{index}}" bindtap="plusSkuNumber">+</cover-view> </cover-view> </cover-view> <cover-view class='sku-content-list' catchtap="changeBanner" wx:else data-index="{{index}}" data-pic="{{item.price}}" data-suggestedPrice="{{item.suggestedPrice}}" data-num="{{item.stockNumber}}" data-img="{{item.img}}"> <cover-view class='img'> <cover-image class="image" src='{{item.img}}' mode="aspectFill"></cover-image> </cover-view> <cover-view class='color'>{{item.skuColor}}</cover-view> <cover-view class='mashu'>({{item.skuSize}})</cover-view> <cover-view class="sku-content-size-right"> <cover-view class="minusIcon" bindtap="minusSkuNumber" wx:key="index" data-index="{{index}}">-</cover-view> <cover-view class="skuNumber">{{item.selectNumber}}</cover-view> <cover-view class="plusIcon" bindtap="plusSkuNumber" wx:key="index" data-index="{{index}}">+</cover-view> </cover-view> </cover-view> </block> 列表中有视频,考虑到层级问题,就用cover-view标签,sku上绑定的事件catchtap="changeBanner" 改变sku的背景颜色,bindtap="plusSkuNumber",bindtap="minusSkuNumber"数量的加减,真机上点击的时候sku都有很多的抖动,体验感不好,用view标签就不会有这样的情况,这是什么原因?能解决嘛?
2019-02-15 - cover-view抖动
<block wx:for="{{mapSkuList}}" wx:key="index"> <cover-view class='sku-content-list active' wx:if="{{activeBanner == index}}"> <cover-view class='img'> <cover-image class="image" src='{{item.img}}' mode="aspectFill"></cover-image> </cover-view> <cover-view class='color active'>{{item.skuColor}}</cover-view> <cover-view class='mashu active'>({{item.skuSize}})</cover-view> <cover-view class="sku-content-size-right"> <cover-view class="minusIcon active" data-index="{{index}}" wx:key="index" bindtap="minusSkuNumber">-</cover-view> <cover-view class="skuNumber active">{{item.selectNumber}}</cover-view> <cover-view class="plusIcon active" wx:key="index" data-index="{{index}}" bindtap="plusSkuNumber">+</cover-view> </cover-view> </cover-view> <cover-view class='sku-content-list' catchtap="changeBanner" wx:else data-index="{{index}}" data-pic="{{item.price}}" data-suggestedPrice="{{item.suggestedPrice}}" data-num="{{item.stockNumber}}" data-img="{{item.img}}"> <cover-view class='img'> <cover-image class="image" src='{{item.img}}' mode="aspectFill"></cover-image> </cover-view> <cover-view class='color'>{{item.skuColor}}</cover-view> <cover-view class='mashu'>({{item.skuSize}})</cover-view> <cover-view class="sku-content-size-right"> <cover-view class="minusIcon" bindtap="minusSkuNumber" wx:key="index" data-index="{{index}}">-</cover-view> <cover-view class="skuNumber">{{item.selectNumber}}</cover-view> <cover-view class="plusIcon" bindtap="plusSkuNumber" wx:key="index" data-index="{{index}}">+</cover-view> </cover-view> </cover-view> </block> 列表中有视频,考虑到层级问题,就用cover-view标签,sku上绑定的事件catchtap="changeBanner" 改变sku的背景颜色,bindtap="plusSkuNumber",bindtap="minusSkuNumber"数量的加减,点击的时候sku都有很多的抖动,体验感不好,用view标签就不会有这样的情况,这是什么原因?能解决嘛?
2019-02-15