const fs = require('fs'); const html = fs.readFileSync('/data/workspace/index.html', 'utf8'); const checks = []; // 1. 图片清单:8个产品图 + 1 banner + 1 about = 10个链接 const requiredImgs = [ 'Image2609141645365831c6','Image260914164536224cb3','Image260914164537224482', 'Image260914164536255172','Image260914164537208a99','Image260914164536615acd', 'Image260914165529351177','Image26091416453598935b', // 8 products 'Image2609161015191453dd', // banner 'Image260916102745404d3a', // about ]; requiredImgs.forEach(k => { checks.push([`图片 ${k} 被引用`, html.includes(k)]); }); // 2. 无 AI 生成/替换 checks.push(['未使用 placeholder/随机图床', !/placeholder|picsum|via\.placehold|unsplash/i.test(html)]); // 3. 无表单/输入 checks.push(['无