小程序
小游戏
企业微信
微信支付
扫描小程序码分享
canvas在movable-view中不能移动了,之前一直是可以的,不知道什么时候不行了?
看到文档说:基础库 2.4.4 以下版本,原生组件不支持在 scroll-view、swiper、movable-view 中使用。
想了解下以后cavas支持在movable-view中吗?大概计划什么版本呢?如果近期可以的话,就先不做修改了。
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
你好,麻烦具体描述问题表现,提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
<movable-view hidden='{{item.content.length == 0 ? true:false}}' style='width:{{item.textWidth}}px;height:{{item.textHeight}}px;' direction="all" x="{{item.originTextOffsetX}}px" y="{{item.originTextOffsetY}}px" data-itemIndex='{{item_index}}' bindchange='onTextMove'>
<canvas canvas-id="text{{item_index}}" style='width:{{item.textWidth-2}}px;height:{{item.textHeight-2}}px;border: 1px dashed #dedede;border-radius:3px;'></canvas>
<image style='width:8px;height:8px;background:#03a9f4;position:absolute;right:0;bottom:0' src='../../images/ic_move.png'></image>
</movable-view>
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
你好,麻烦具体描述问题表现,提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
想了解下以后cavas支持在movable-view中吗?大概计划什么版本呢?如果近期可以的话,就先不做修改了。
<movable-view hidden='{{item.content.length == 0 ? true:false}}' style='width:{{item.textWidth}}px;height:{{item.textHeight}}px;' direction="all" x="{{item.originTextOffsetX}}px" y="{{item.originTextOffsetY}}px" data-itemIndex='{{item_index}}' bindchange='onTextMove'>
<canvas canvas-id="text{{item_index}}" style='width:{{item.textWidth-2}}px;height:{{item.textHeight-2}}px;border: 1px dashed #dedede;border-radius:3px;'></canvas>
<image style='width:8px;height:8px;background:#03a9f4;position:absolute;right:0;bottom:0' src='../../images/ic_move.png'></image>
</movable-view>