
我IOHUT怎么变成这样了
一看控制台怎么多了个文件
let s = document.createElement('div'); s.style.cssText = 'position:fixed;top:0;left:0;width:100%;height:100%;z-index:2147483647;background:#de2910;display:flex;align-items:center;justify-content:center'; let ns = 'http://www.w3.org/2000/svg'; let svg = document.createElementNS(ns, 'svg'); svg.setAttribute('width', '94vmin'); svg.setAttribute('height', '62.7vmin'); svg.setAttribute('viewBox', '0 0 30 20'); svg.style.display = 'block'; let rect = document.createElementNS(ns, 'rect'); rect.setAttribute('width', '30'); rect.setAttribute('height', '20'); rect.setAttribute('fill', '#de2910'); svg.appendChild(rect); let stars = \['5.00,2.00 5.67,4.07 7.85,4.07 6.09,5.35 6.76,7.43 5.00,6.15 3.24,7.43 3.91,5.35 2.15,4.07 4.33,4.07', '9.14,2.51 9.62,1.97 9.25,1.34 9.91,1.63 10.39,1.08 10.33,1.80 11.00,2.09 10.29,2.25 10.22,2.97 9.85,2.35', '11.01,4.14 11.66,3.82 11.56,3.10 12.07,3.62 12.72,3.30 12.38,3.95 12.88,4.47 12.17,4.34 11.83,4.99 11.73,4.27', '11.04,6.73 11.76,6.70 11.96,6.00 12.21,6.68 12.94,6.66 12.37,7.10 12.62,7.79 12.01,7.38 11.44,7.83 11.64,7.13', '9.22,8.38 9.90,8.63 10.35,8.06 10.32,8.79 11.00,9.05 10.30,9.24 10.26,9.96 9.87,9.36 9.16,9.55 9.62,8.98'\]; for (let i = 0; i < stars.length; i++) { let p = document.createElementNS(ns, 'polygon'); p.setAttribute('points', stars\[i\]); p.setAttribute('fill', '#ffde00'); svg.appendChild(p); } s.appendChild(svg); document.body.prepend(s)