店小秘模板信息模块

SkillDev tools

DianXiaoMi AliExpress edit page, Template info module: shipping templates + service templates + customs regulatory attributes

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the 店小秘模板信息模块 skill

What this skill tells your AI

The instructions your AI receives, as published by southernspark-nfxh/aliexpress-auto-listing-skill in dxm-templates/SKILL.md and read by ahel’s review.

位置

单页面布局,#templateInfo section 在 y≈8466。

await page.evaluate('window.scrollTo(0, 8100)')

字段

字段类型操作星号
运费模板ant-select选预设模板
服务模板ant-select选预设模板
海关监管属性已填(默认)通常预设值=3

操作

ant-select 选择(Playwright mouse.click 方式)

# 获取selector坐标
sel = await page.evaluate('''() => {
    const section = document.getElementById('templateInfo');
    const items = section.querySelectorAll('.ant-form-item');
    for (const item of items) {
        const label = item.querySelector('label');
        if (label && label.textContent.includes('运费模板')) {
            const s = item.querySelector('.ant-select-selector');
            const r = s.getBoundingClientRect();
            return {x: r.x+r.width/2, y: r.y+r.height/2};
        }
    }
    return null;
}''')

# 点开下拉
await page.mouse.click(sel['x'], sel['y'])
await asyncio.sleep(1)

# 找可见选项
opts = await page.evaluate('''() => {
    return [...document.querySelectorAll('.ant-select-item-option')]
        .filter(i => i.getBoundingClientRect().height > 0)
        .map(i => ({text: i.textContent.trim(), x: ..., y: ...}));
}''')

# 点第一个(默认)选项
await page.mouse.click(opts[0]['x'], opts[0]['y'])

选值规则

字段推荐选择
运费模板根据零售价选:<$5→"2-5美金 2kg以下",$5-8→对应档位
服务模板"Service Template for New Sellers"(通常唯一选项)
海关监管属性默认值=3,无需修改

⚠️ 已知坑点

  1. 海关监管属性是 <input type="text"> 不是 select,值=3 已预设
  2. 服务模板通常只有1个选项
  3. ant-select 用 page.mouse.click() 打开,.ant-select-item-option 可见后点击
  4. 每选完一个后要等下拉关闭再操作下一个

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

Signals

GitHub stars
21
Forks
3
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
dxm-templates
Source
github.com/southernspark-nfxh/aliexpress-auto-listing-skill