Skip to content
cccskills
FreePublished on GitHub

dxm-packaging

店小秘速卖通编辑页——包装信息模块:包装后重量 + 包装后尺寸(长/宽/高)

The English summary is being prepared. Showing the original description.

southernspark-nfxh/aliexpress-auto-listing-skill25 stars(GitHub 25 + cccskills 0)

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

店小秘包装信息模块

位置

单页面布局,包装信息 section(#packageInfo)在页尾,y≈8200-8500。

切换方式:

await page.evaluate('window.scrollTo(0, 8100)')
# 或
await page.evaluate('document.getElementById("packageInfo").scrollIntoView({block:"start"})')

字段

字段规则来源星号
包装后重量(kg)单件重量(kg)1688提取(g÷1000)⭐
包装后尺寸 长(cm)外包装长1688有则填
包装后尺寸 宽(cm)外包装宽1688有则填
包装后尺寸 高(cm)外包装高1688有则填

操作

包装后重量

# Playwright 方式(推荐)
weight_input = page.locator('.ant-form-item').filter(has_text='包装后重量').locator('input[type="text"]').first
await weight_input.fill('0.2')

# JS fallback(备选)
await page.evaluate('''() => {
    const items = document.querySelectorAll('.ant-form-item');
    for (const item of items) {
        const label = item.querySelector('label');
        if (label && label.textContent.includes('包装后重量')) {
            const inp = item.querySelector('input[type="text"]');
            if (inp) {
                const setter = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value').set;
                setter.call(inp, '0.2');
                inp.dispatchEvent(new Event('input', {bubbles: true}));
                inp.dispatchEvent(new Event('change', {bubbles: true}));
                inp.dispatchEvent(new Event('blur', {bubbles: true}));
            }
        }
    }
}''')

包装后尺寸

1688无数据 → 跳过。三格(长/宽/高),位置相邻。

⚠️ 已知坑点

  1. 包装后尺寸无1688数据 → 跳过不填
  2. 重量有"自定义计重"checkbox (type=checkbox),不要误填到它
  3. triple-click+type 对此输入框无效 → 用 page.fill() 或 nativeValueSetter

作者: 南方星火 SouthernSpark | 小红书 @南方星火 SouthernSpark | AI自动化专家工作流

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

速卖通店铺运营自动化 — 每日巡检/每周策略/商品上架/数据分析全流程。填入你的店铺名即可使用。

The English summary is being prepared. Showing the original description.

southernspark-nfxh/aliexpress-auto-listing-skill25Updated Aug 7, 2026

店小秘速卖通编辑页——属性信息模块:产品属性批量填(ant-select CDP填充)+ 自定义属性删除

The English summary is being prepared. Showing the original description.

southernspark-nfxh/aliexpress-auto-listing-skill25Updated Aug 7, 2026

店小秘速卖通编辑页——基本信息模块:标题改英文 + 产品分类选择

The English summary is being prepared. Showing the original description.

southernspark-nfxh/aliexpress-auto-listing-skill25Updated Aug 7, 2026

速卖通上架——1688采集模块:从1688搜索产品 → 采集到店小秘采集箱 → 提取产品参数(价格/库存/重量/材质等)

The English summary is being prepared. Showing the original description.

southernspark-nfxh/aliexpress-auto-listing-skill25Updated Aug 7, 2026

店小秘速卖通编辑页——店小秘信息模块:来源URL(只读,记录用)

The English summary is being prepared. Showing the original description.

southernspark-nfxh/aliexpress-auto-listing-skill25Updated Aug 7, 2026

店小秘速卖通上品完整工作流——从采集箱到发布的所有模块编排、调用顺序、区域调价、保存发布

The English summary is being prepared. Showing the original description.

southernspark-nfxh/aliexpress-auto-listing-skill25Updated Aug 7, 2026

See all skills by southernspark-nfxh

Report a problem with this skill