html2canvas
var dwsnapshot = function(){
var ele = document.querySelector('.content-wrap');
html2canvas(ele,{
// width: 800,
scale: 2,
}).then(function(c) {
var aNode = document.createElement('a');
aNode.href = c.toDataURL("png", 1);
//别忘了设置download属性,否则会...