feat: 更新亚克力机箱-单详情页及 skills 配置优化

This commit is contained in:
12600k-rog-d4
2026-04-04 17:46:35 +08:00
parent ecdffe50fb
commit 3a689f43eb
62 changed files with 733 additions and 1535 deletions

View File

@@ -14,10 +14,11 @@ async function convertHtmlToPng() {
await page.setViewport({ width: 1000, height: 1000 });
const detailDir = path.join(__dirname, '产品', '飞牛 NAS', 'fyd-亚克力机箱 - 单', '详情');
const detailDir = 'G:\\stonelan-workspace\\membank\\产品\\飞牛 NAS\\fyd-亚克力机箱 - 单\\详情';
const htmlFiles = fs.readdirSync(detailDir)
.filter(file => file.endsWith('.html') && file.includes('亚克力机箱 - 单'));
.filter(file => file.endsWith('.html') && file.includes('亚克力机箱-单'))
.filter(file => !file.includes('配置清单.html') || file.includes('配置清单-'));
console.log(`📁 找到 ${htmlFiles.length} 个 HTML 文件需要转换\n`);