如何实现带canvas页面的tab swiper

发布于 7 年前作者 fangli12641 次浏览最后编辑 7 年前来自 ask
  • 当前 Bug 的表现(可附上截图)
  • 预期表现
  • 复现路径

当左右滚动时  canvas画布就像被固定了一样 不会跟整体像左滚动

  • 代码片段
1 回复
xiuyingxue
xiuyingxue1 楼5 年前

你好,是否用了swiper呢?canvas是原生组件,请查看原生组件使用限制:https://developers.weixin.qq.com/miniprogram/dev/component/native-component.html