首先使用chrome浏览器,找到相关页面 F12打开命令窗口
输入:
var el=$(\'.post\'); $("*").not(el.find(\'*\')).hide();
el.parents().andSelf().css({width:480,padding:0,margin:0,border:\'none\',float:\'none\',position:\'static\'}).show().find(\'img\').css({maxWidth:470,height:\'auto\'});
$(\'body\').css({background:\'#fff\',zoom:2.3});
然后Ctrl+P打开打印窗口。然后选项另存为pdf。