先去下载插件github 下载 https://github.com/Kujiale-Mobile/Painter 下载好了把painter整个文件放在static里面
目录结构:
//pages.json 在需要生成海报的页面引入Painter,代码如下
{
"path": "pages/post/havemedal",
"style": {
"navigationBarTitleText": "dom转img",
"navigationStyle": &#