- 将图片绘制到canvas,编辑器显示正常,预览模式和真机调试有问题?
使用自定义相机拍摄照片,将得到的照片部分绘制到canvas中,编辑器显示正常,预览模式和真机调试有问题
2020-08-05 - movable-view 放大后在苹果8P上可以正常拖动,安卓手机则不行?
<movable-area class="layer_mark"> <!-- 图片层 --> <movable-view class="bookmark_image" wx:if="{{bookitem.media==0||bookitem.media==2}}" out-of-bounds="{{true}}" bindscale="onMarkScale" bindtouchstart="onMediaTouchStart" bindtouchend="onMediaTouchEnd" scale="{{bookitem.edit_state==2?true:false}}" direction="all" disabled="{{bookitem.scale==1?true:false}}" scale-min="{{0.8}}" scale-max="{{3}}" scale-value="{{bookitem.scale}}" x="0px" y="{{100*screen.ratio}}px"> <view class="layer_image_container"> <image class="layer_image" src="{{bookitem.medias[playerParams.mediaIndex].uri}}" mode="widthFix" lazy-load="true" bindload="onImageLoad" data-index="{{playerParams.mediaIndex}}"></image> </view> <!-- 轨迹层 --> <block wx:if="{{books[bookIndex].id==bookitem.id||1==1}}"> <canvas id="draw_pad{{bookitem.id}}" class="draw_pad" type="2d" disable-scroll="{{false}}" style="top:0rpx;width:750rpx;height:{{1333}}rpx;"></canvas> </block> </movable-view>
2020-06-09 - movable-view在小米手机上无法进行放大和拖动,这是咋回事?
[图片]
2020-05-13