diff --git a/.superpowers/prototype/index.html b/.superpowers/prototype/index.html index ebc3b5f..8532fc1 100644 --- a/.superpowers/prototype/index.html +++ b/.superpowers/prototype/index.html @@ -377,8 +377,8 @@
授权兑换券未使用已兑换作废
账单结清 · 收付未结清已结清收款付款
进价待定 · 调货暂估待定价待定价(入库进价留空/0,确认进价后回填)
-
图标徽章 .bi · 图标替代圆点草稿待审核已审核已拒绝部分退单已退单待定价
-
纯图标徽章 .ico · 移动卡片(图标映射:草稿=文件 待审核=时钟 已审核=勾 已拒绝=叉 退单=撤回箭头 待定价=价签)
+
图标徽章 .bi · 图标替代圆点草稿待审核已审核已拒绝部分退单已退单待定价
+
纯图标徽章 .ico · 移动卡片(图标映射:草稿=文件 待审核=时钟 已审核=勾 已拒绝=叉 退单=撤回箭头 待定价=¥)

KPI 卡

.kpi
diff --git a/.superpowers/prototype/screens/icons.js b/.superpowers/prototype/screens/icons.js index 66502dc..4a5b5e8 100644 --- a/.superpowers/prototype/screens/icons.js +++ b/.superpowers/prototype/screens/icons.js @@ -1,8 +1,8 @@ // 图标 sprite —— 单一真源(Lucide 官方图标,ISC 许可) // 所有屏用 引用;改此处一个 symbol,全局生效。 -// 共 101 个:98 个源自 lucide-static,另有平台品牌图标 i-apple / i-android(simple-icons,填充式,path 自带 fill 覆盖描边样式)与 i-tablet-smartphone(lucide)。新增图标先在此登记 symbol,再用 use 引用。 +// 共 102 个:99 个源自 lucide-static,另有平台品牌图标 i-apple / i-android(simple-icons,填充式,path 自带 fill 覆盖描边样式)与 i-tablet-smartphone(lucide)。新增图标先在此登记 symbol,再用 use 引用。 (function(){ - var SPRITE=''; + var SPRITE=''; function inject(){ if(document.getElementById('ym-icon-sprite'))return; var d=document.createElement('div'); d.id='ym-icon-sprite'; d.style.cssText='position:absolute;width:0;height:0'; d.innerHTML=SPRITE; document.body.insertBefore(d,document.body.firstChild); } if(document.readyState!=='loading')inject(); else document.addEventListener('DOMContentLoaded',inject); })(); diff --git a/.superpowers/prototype/screens/m-stock-in-list.html b/.superpowers/prototype/screens/m-stock-in-list.html index c10d2a9..569d1e4 100644 --- a/.superpowers/prototype/screens/m-stock-in-list.html +++ b/.superpowers/prototype/screens/m-stock-in-list.html @@ -58,7 +58,7 @@ const REVIEWERS=['全部','张主管','王经理']; const DATES=['全部时间','近 7 天','近 30 天','本月']; const state={q:'',status:'全部'}; /* ---- 状态代表图标(徽章图标化 2026-07-04:移动纯图标 .ico / 桌面图标+文字 .bi) ---- */ -const STICON={'草稿':'i-ic06','待审核':'i-ic04','已审核':'i-check','已拒绝':'i-close','部分退单':'i-undo','已退单':'i-undo','待定价':'i-tag'}; +const STICON={'草稿':'i-ic06','待审核':'i-ic04','已审核':'i-check','已拒绝':'i-close','部分退单':'i-undo','已退单':'i-undo','待定价':'i-yen'}; function icoB(v){ return ``; } function biB(v){ return `${v}`; } /* ---- 详细搜索条件(与 Flutter _AdvSearchDialog 同一字段集,移动为竖排简化版) ---- */ diff --git a/.superpowers/prototype/screens/m-stock-out-list.html b/.superpowers/prototype/screens/m-stock-out-list.html index 0d0a535..2822a21 100644 --- a/.superpowers/prototype/screens/m-stock-out-list.html +++ b/.superpowers/prototype/screens/m-stock-out-list.html @@ -57,7 +57,7 @@ const REVIEWERS=['全部','张主管','王经理']; const DATES=['全部时间','近 7 天','近 30 天','本月']; const state={q:'',status:'全部'}; /* ---- 状态代表图标(徽章图标化 2026-07-04:移动纯图标 .ico / 桌面图标+文字 .bi) ---- */ -const STICON={'草稿':'i-ic06','待审核':'i-ic04','已审核':'i-check','已拒绝':'i-close','部分退单':'i-undo','已退单':'i-undo','待定价':'i-tag'}; +const STICON={'草稿':'i-ic06','待审核':'i-ic04','已审核':'i-check','已拒绝':'i-close','部分退单':'i-undo','已退单':'i-undo','待定价':'i-yen'}; function icoB(v){ return ``; } function biB(v){ return `${v}`; } /* ---- 详细搜索条件(与 Flutter _AdvancedSearchDialog 同一字段集,移动为竖排简化版) ---- */ diff --git a/.superpowers/prototype/screens/stock-in-list.html b/.superpowers/prototype/screens/stock-in-list.html index 6ce3e33..7818a52 100644 --- a/.superpowers/prototype/screens/stock-in-list.html +++ b/.superpowers/prototype/screens/stock-in-list.html @@ -155,7 +155,7 @@ const PARTY_LABEL='供应商'; function money(n){ return '¥'+n.toLocaleString(); } /* ---- 状态代表图标(徽章图标化 2026-07-04:圆点 → .bi 图标徽章) ---- */ -const STICON={'草稿':'i-ic06','待审核':'i-ic04','已审核':'i-check','已拒绝':'i-close','部分退单':'i-undo','已退单':'i-undo','待定价':'i-tag'}; +const STICON={'草稿':'i-ic06','待审核':'i-ic04','已审核':'i-check','已拒绝':'i-close','部分退单':'i-undo','已退单':'i-undo','待定价':'i-yen'}; function stBadge(v){ return `${v}`; } function numf(n){ return (Number(n)||0).toLocaleString(); } /* 明细行内数字:去¥,缩一号(2026-07-03) */ function filtered(){ return ORDERS.filter(o=>{ diff --git a/.superpowers/prototype/screens/stock-out-list.html b/.superpowers/prototype/screens/stock-out-list.html index 3ec3658..b45840d 100644 --- a/.superpowers/prototype/screens/stock-out-list.html +++ b/.superpowers/prototype/screens/stock-out-list.html @@ -154,7 +154,7 @@ const PARTY_LABEL='客户'; function money(n){ return '¥'+n.toLocaleString(); } /* ---- 状态代表图标(徽章图标化 2026-07-04:圆点 → .bi 图标徽章) ---- */ -const STICON={'草稿':'i-ic06','待审核':'i-ic04','已审核':'i-check','已拒绝':'i-close','部分退单':'i-undo','已退单':'i-undo','待定价':'i-tag'}; +const STICON={'草稿':'i-ic06','待审核':'i-ic04','已审核':'i-check','已拒绝':'i-close','部分退单':'i-undo','已退单':'i-undo','待定价':'i-yen'}; function stBadge(v){ return `${v}`; } function numf(n){ return (Number(n)||0).toLocaleString(); } /* 明细行内数字:去¥,缩一号(2026-07-03) */ function filtered(){ return ORDERS.filter(o=>{ diff --git a/web/_includes/icons.njk b/web/_includes/icons.njk index 9a9beb0..734279c 100644 --- a/web/_includes/icons.njk +++ b/web/_includes/icons.njk @@ -1,3 +1,3 @@ {# 图标雪碧图 — 单一真相源:自 .superpowers/prototype/screens/icons.js 提取(lucide 同源), 页面用 引用;修改图标请先改原型再同步 #} - +