Sin descripción

wangyong 173322ad90 修改专区 hace 5 años
components 294271dc15 定制bug hace 5 años
customized 1c14c690ea bug修改 hace 5 años
images b6ca82a69d 首页修改 hace 5 años
pages 173322ad90 修改专区 hace 5 años
style 7c64a33579 bug hace 5 años
utils 98bf33ad7d 底部添加轮子覆盖 hace 5 años
wxParse 95d2e1cd6f daliangzao hace 6 años
app - 副本.zip 6ab87d7971 样式修改 hace 5 años
app.js 906ece22dc handler hace 5 años
app.json d7984bcda4 nav 添加 hace 5 años
app.wxss 28469fac80 添加定制列表页面 hace 6 años
box_white_big_1.psd ecca072b84 白色箱子合成 hace 5 años
font.zip 7c64a33579 bug hace 5 años
pages-old.zip c9eb3576ae order detail and zip hace 5 años
project.config.json 99127aab28 专区修改 hace 5 años
readme.md 8556e6713f d hace 5 años
rexiao_1.zip b6ca82a69d 首页修改 hace 5 años
sitemap.json 294271dc15 定制bug hace 5 años
wx_daliangzao.zip 561c65a696 添加图片 hace 5 años

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,宽度,高度)

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