没整之前 整完之后 第一种实现方法,jquery script type = text/javascript $( function () { $( .show-article img ).each( function ( i ) { if (! this .parentNode.href) { $( this ).wrap( a href= + this .src+ target=_blank/a ); } }); }); / script 注意: 1、前提是你当前页面有jquery库 2、你的文档内容...
兄弟们,今天又被一个项目惊艳到了。 打开一个网页,左边拖家具、改墙、量尺寸,右边直接切到 Three.js 3D 场景,鸟瞰、第一人称漫游随便切。而且整个项目就一个 index.html ,不需要构建,不需要装依赖,打开即用。 项目叫 Floorplan 3D ,作者 wy51ai,目前 GitHub 已经 2900+ Star,还挂着 Made with AI 的标签。 在线体验: https://wy51ai.github.io/floorplan-3d 源码: https://github.com/...