Nav apraksta

sharp-agezi f685b89abf d 6 gadi atpakaļ
components ce4624dc50 设计修改 6 gadi atpakaļ
customized 53c8ea256b d 6 gadi atpakaļ
images f685b89abf d 6 gadi atpakaļ
pages f685b89abf d 6 gadi atpakaļ
style 53e79895af 渠道下单和分享修改 6 gadi atpakaļ
utils c9eb3576ae order detail and zip 6 gadi atpakaļ
wxParse 95d2e1cd6f daliangzao 6 gadi atpakaļ
app - 副本.zip 6ab87d7971 样式修改 6 gadi atpakaļ
app.js 2a8d2fec9c url 6 gadi atpakaļ
app.json 6c3d8c1b5e d 6 gadi atpakaļ
app.wxss 28469fac80 添加定制列表页面 6 gadi atpakaļ
pages-old.zip c9eb3576ae order detail and zip 6 gadi atpakaļ
project.config.json 36f8df7e62 渠道添加and 我的信息 6 gadi atpakaļ
readme.md 8556e6713f d 6 gadi atpakaļ

readme.md

项目需求原型 z3qowq.axshare.com

功能列表 https://mubu.com/doc/yc_fdq72c0

canvas 需要实现截图

生成图片后在合成

把旋转起点转为图片中心为原点的公式

注意:用roate实现旋转,重点在于改变坐标中心点 : ctx.translate(100,45)

  坐标中心点计算公式:
  x = 左上角x + 宽度/2
  y = 左上角y + 高度/2
  然后translate到(x,y)即可,之后调用rotate进行旋转。
  旋转之后填充时注意:
  ctx.fillRect(-50,-25,100,50);
  x = - 宽度/2
  y = -高度/2
  fillRect(x,y,宽度,高度)

缺少详情页,字体加粗、字体定制