feat(common-tools): 工具台新增常用工具分类,三个桌面工具网页化

- tool-catalog 最前插入「常用工具」组(brand_common_tools,23 工具·4 大分类),
  三工具各自权限键:pricing-calc / five-asin / keyword-share
- /pricing-calc:站点(英 GBP÷9、德法 EUR÷8)+ 买货价/运费 → 营业额/利润/
  利润率/换算汇率,公式与精度照抄桌面版,纯函数 node --test 钉住
- /five-asin:五国常量 + ASIN 10 位校验 → 亚马逊商品链接,window.open 与
  :href 出口全部过 safeHttpUrl(url-outlet 棘轮),邮编一键复制
- /keyword-share:筛选/四级类目级联/统计卡/表格分页 200/标记与取消使用/
  添加/删除/随机抽词/共享记录,对接 keywordshare 后端九端点
- 顶栏与 BrandTopBar 导航同步;router 注册三路由;补 test:mount 脚本
  (vitest mount 套件入口,与后管同口径)
This commit is contained in:
2026-10-23 21:56:56 +08:00
parent 2c85f47c3b
commit 208583e14c
18 changed files with 2424 additions and 17 deletions
+2 -1
View File
@@ -7,7 +7,8 @@
"dev": "vite --host --port 5173",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"test": "node --test --test-force-exit --test-timeout=180000 tests/*.test.ts"
"test": "node --test --test-force-exit --test-timeout=180000 tests/*.test.ts",
"test:mount": "vitest run"
},
"dependencies": {
"axios": "^1.13.6",