WeZRender是一个微信小程序Canvas增强组件,基于HTML5 Canvas类库ZRender。 使用 WXML: <canvas style="width: 375px; height: 600px;" canvas-id="line-canvas-1">canvas> JS: var wezrender = require('../../lib/wezrender'); zr = wezrender.zrender.init("line-canvas-1", 375, 600);