feat: 优化亚克力机箱-单详情页模板及 skills 更新
This commit is contained in:
@@ -12,7 +12,7 @@ async function convertHtmlToPng() {
|
||||
|
||||
const page = await browser.newPage();
|
||||
|
||||
await page.setViewport({ width: 1000, height: 1000 });
|
||||
await page.setViewport({ width: 750, height: 1000 });
|
||||
|
||||
const detailDir = 'G:\\stonelan-workspace\\membank\\产品\\飞牛 NAS\\fyd-亚克力机箱 - 单\\详情';
|
||||
|
||||
@@ -38,7 +38,7 @@ async function convertHtmlToPng() {
|
||||
|
||||
await page.screenshot({
|
||||
path: pngPath,
|
||||
fullPage: false,
|
||||
fullPage: true,
|
||||
type: 'png'
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user