JonZheng
JonZheng
  • 发布:2022-01-21 19:11
  • 更新:2022-01-21 19:11
  • 阅读:440

lime-painter ios 兼容问题

分类:uni-app

lime-painter: https://gitee.com/liangei/lime-painter
lime-painter 版本1.6.2 海报画版ios不完整问题,ios不完整,安卓显示正常,l-painter只需要加上宽高,保证宽高与海报宽高一致即可。
如:海报为width: '750rpx';height: '1114rpx';
<l-painter custom-style="position: fixed;z-index: -1;top: -200vh;left: -200vw;" :board="posterData" isRenderImage @success="posterSuccess" />
改为:
<l-painter custom-style="position: fixed;z-index: -1;top: -200vh;left: -200vw;width: 750rpx;height: 1114rpx;" :board="posterData" isRenderImage @success="posterSuccess" />

0 关注 分享

要回复文章请先登录注册