diff --git a/.superpowers/prototype/screens/icons.js b/.superpowers/prototype/screens/icons.js index cbd037a..2a3a4e3 100644 --- a/.superpowers/prototype/screens/icons.js +++ b/.superpowers/prototype/screens/icons.js @@ -1,8 +1,8 @@ // 图标 sprite —— 单一真源(Lucide 官方图标,ISC 许可) // 所有屏用 引用;改此处一个 symbol,全局生效。 -// 共 105 个:99 个源自 lucide-static,i-info/i-alert 为点改实心圆的清晰变体,,另有平台品牌图标 i-apple / i-android(simple-icons,填充式,path 自带 fill 覆盖描边样式)与 i-tablet-smartphone(lucide)。新增图标先在此登记 symbol,再用 use 引用。 +// 共 107 个:99 个源自 lucide-static,i-info/i-alert 为点改实心圆的清晰变体,,另有平台品牌图标 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); // ---- 徽章图标化(2026-07-04 拍板:全系统圆点→代表图标)---- @@ -14,7 +14,7 @@ '部分退单':'i-undo','已退单':'i-undo','待定价':'i-yen', '启用':'i-check','停用':'i-close','供应商':'i-box','客户':'i-ic37','两者':'i-refresh', '管理员':'i-shield-2','普通':'i-ic37','只读':'i-eye', - '在线':'i-check','离线':'i-close', + '在线':'i-wifi','离线':'i-wifi-off', '进行中':'i-ic04','已完成':'i-check', '未使用':'i-tag','已兑换':'i-check','作废':'i-close', '未结清':'i-ic04','已结清':'i-check','收款':'i-download','付款':'i-upload' diff --git a/web/_includes/icons.njk b/web/_includes/icons.njk index cd98774..5c3e06e 100644 --- a/web/_includes/icons.njk +++ b/web/_includes/icons.njk @@ -1,3 +1,3 @@ {# 图标雪碧图 — 单一真相源:自 .superpowers/prototype/screens/icons.js 提取(lucide 同源), 页面用 引用;修改图标请先改原型再同步 #} - +