之前上周授权还可以的,今天添加地理位置授权就失效了
地理位置授权跟相册授权失效<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官网能否尽快回复一下
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 class="sku-content-block"> <cover-view class="sku-content-size-box"> <cover-view class="sku-content-size"> <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> </cover-view> </cover-view>
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同
onPageScroll做滚动吸顶反应迟钝<view class="active-header {{titel?'titel-list':''}}"> <view class="active-header-block {{ind=='0'? 'active' : ''}}" data-index="0" data-val="1" bindtap="changeBanner">上新</view> <view class="active-header-block {{ind=='1'? 'active' : ''}}" data-index="1" data-val="2" bindtap="changeBanner">热销</view> <view class='active-header-block {{daindex2 =="0"||daindex2 =="1" ?"active":""}}' data-index="2" data-index="{{daindex2}}" bindtap="choosesort2"> 价格 <image src="{{imageurl2}}" wx:if="{{noticeContent}}"></image> </view> </view> Page({ data: { titel: false, }, onPageScroll(res) { var that = this if (res.scrollTop >that.data.scrollTop) { that.setData({ titel: true }) } else { that.setData({ titel: false }) } } onPageScroll做滚动吸顶在真机上反应迟钝,一点都不流畅,体验效果不好
2019-01-07好的,谢谢
video设置initial-time="1"没有效果Android手机想要自动缓冲1秒不显示黑屏状态,video设置为initial-time=1,为什么点击播放的时候在10秒的位置在播放, <video id="video"src="{{item.videoUrl}}" class="wxParse-video-video" initial-time="1" bindplay="videoPlay" custom-cache="{{false}}"></video>
2018-12-19<video id="video"src="{{item.videoUrl}}" class="wxParse-video-video" initial-time="1" bindplay="videoPlay" custom-cache="{{false}}"></video>
video设置为initial-time=1,为什么点击播放的时候在10秒的位置Android手机想要自动缓冲1秒不显示黑屏状态,video设置为initial-time=1,为什么点击播放的时候在10秒的位置在播放, <video id="video"src="{{item.videoUrl}}" class="wxParse-video-video" initial-time="1" bindplay="videoPlay" custom-cache="{{false}}"></video>
2018-12-19是的 ,
小程序video组件视频播放在ioS苹果手机上有2秒的卡顿小程序video组件视频播放在ioS苹果手机上加载好播放的时候有2秒的卡顿,这个这么解决?也有加 custom-cache="{{false}}" 属性
2018-12-07那点击播放视频就要点击2次了啊,还有滑动的时候让视频组件 隐藏点击的时候在出现,这样上一个观看的视频又要重新加载一次了,体验效果不好吧
video组件区域为什么在Android机上不能上下滑动video组件区域为什么在Android机上不能上下滑动,有解决办法嘛?
2018-12-06