feat: 更新亚克力机箱-单详情页及 skills 配置优化
This commit is contained in:
@@ -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`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user