Skip to content
cccskills
FreePublished on GitHub

dxm-basic-info

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

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.md3.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

店小秘基本信息模块

环境

CDP browser_cdp 直连:

  • GET /json/version → 获取 webSocketDebuggerUrl
  • Target.getTargets → 找编辑页 target
  • Runtime.evaluate + Page.navigate + Input.dispatchMouseEvent

编辑页 URL 格式:https://www.dianxiaomi.com/web/smt/edit?id={product_id}

Step 1:标题改为英文

规则

  • 纯英文,128字符以内
  • 从1688中文标题翻译,保留核心关键词
  • 示例:折叠喝水神器随行杯便携式饮水器狗狗外出饮水杯 → Collapsible Portable Dog Water Bottle Travel Pet Water Dispenser Outdoor Drinking Bowl

CDP 操作

Runtime.evaluate:
  const input = document.querySelector('input[placeholder*="标题"], textarea[placeholder*="标题"]');
  const setter = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value').set;
  setter.call(input, 'ENGLISH TITLE HERE');
  input.dispatchEvent(new Event('input', {bubbles: true}));
  input.dispatchEvent(new Event('change', {bubbles: true}));

⚠️ 注意

  • 必须用 nativeInputValueSetter,Vue 3 不响应直接 el.value = xxx
  • 填完后用 Runtime.evaluate 读回验证

Step 2:选择产品分类

页面位置

基本信息 tab → 「产品分类」字段旁边的「选择分类」按钮(注意:分类在基本信息 tab,不是属性信息 tab)

弹窗结构(2026-06-14 实战验证)

分类弹窗使用 .categories-box 结构,不是 ant-tree:

  • 4 个 .categories-box,每个代表一层树
  • 每列内 .categories-item 是可点击节点
  • 当前选中节点带 class="active"
  • 面包屑路径:家居用品(Home & Garden) > 宠物用品(Pet Products) > 养狗用品(Dog Supplies) > 狗携带用品(Dog Carriers & Bags)

CDP 操作流程(已验证有效)

选择逻辑:

  1. 找到「选择分类」按钮(基本信息 tab,坐标约 x=1017, y=405)
  2. Input.dispatchMouseEvent mousePressed + mouseReleased 打开弹窗
  3. 等 1-2 秒让弹窗渲染
  4. 按面包屑路径逐列定位:列0→一级、列1→二级、列2→三级、列3→叶子
  5. 在目标列中找 .categories-item-name textContent 匹配 → 点击
  6. 验证该 item 变为 class="active"
  7. 点弹窗 footer 的「选择」按钮确认(坐标约 x=1539, y=579)

分类命名规则

  • 优先按标题关键词找完全匹配类目
  • 无完全匹配时选最接近的
  • 宠物用品常见类目:宠物用品 > 狗 > 携带用品 > 狗携带用品

⚠️ 已知坑点

  1. 分类弹窗用 .categories-box 不是 ant-tree,不要用 hover 展开——直接点击 .categories-item-name
  2. 弹窗内列的内容可能很长需要滚动
  3. 分类选错会导致 SKU 属性全部「已废弃」——改分类后自动修复
  4. 用 CDP Input.dispatchMouseEvent,不要用 JS .click()(Vue 3 不响应)
  5. 分类在基本信息 tab,不在属性信息 tab

作者: 南方星火 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

速卖通上架——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

店小秘速卖通编辑页——其他信息模块:半托管/关税/责任人/制造商/资质 + 区域调价 + 保存并移入待发布

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