From 6581a501f5bd1dc65b648b5c5722cc372d048435 Mon Sep 17 00:00:00 2001 From: James NaL Date: Mon, 28 Sep 2026 15:06:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(icons):=20=E8=A1=A5=E5=85=85=E6=97=A0?= =?UTF-8?q?=E9=9A=9C=E7=A2=8D=E7=B3=BB=E5=88=97=E5=9B=BE=E6=A0=87=EF=BC=88?= =?UTF-8?q?a11yclimber=E3=80=81a11yplatform=E3=80=81a11ytoilet=EF=BC=89?= =?UTF-8?q?=E5=B9=B6=E6=9B=B4=E6=96=B0=E5=88=86=E7=B1=BB=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs.js | 2 +- src/icons/icons.js | 11 +++++++++++ templates/PROMPT.md | 6 +++--- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/docs/docs.js b/docs/docs.js index 084d92e..ddda028 100644 --- a/docs/docs.js +++ b/docs/docs.js @@ -1468,7 +1468,7 @@ const ICON_CATEGORIES = [ name: '车站导向与爱心关怀', en: 'Station Facilities & Passenger Care', icons: [ - 'aed', 'elevator', 'escalator', 'stairs', 'counter', 'toilet', 'luggage', 'security', 'noentry', 'police', + 'aed', 'elevator', 'escalator', 'stairs', 'a11yclimber', 'a11yplatform', 'counter', 'toilet', 'a11ytoilet', 'luggage', 'security', 'noentry', 'police', 'baby', 'stroller', 'elder', 'pregnant', 'walk', 'tourist', 'payment', 'vi-stn' ], diff --git a/src/icons/icons.js b/src/icons/icons.js index c94ee12..8ab1c02 100644 --- a/src/icons/icons.js +++ b/src/icons/icons.js @@ -434,6 +434,15 @@ export const ICONS = { /* ────────────────────────────────────── 城市地铁与交通导向 (Transit & Facilities) ────────────────────────────────────── */ + "a11yclimber": { + d: '', + }, + "a11yplatform": { + d: '', + }, + "a11ytoilet": { + d: '', + }, "aed": { d: "", }, @@ -665,6 +674,8 @@ ICONS['xi-an'] = ICONS.xian; const _BRAND_GRAD = ''; const _BRAND_IDX = { + a11yclimber: [0, 1, 2], + a11ytoilet: [5, 6, 7], addone: [0], baby: [2], "bar-chart": [0], diff --git a/templates/PROMPT.md b/templates/PROMPT.md index 2ca2327..beba99f 100644 --- a/templates/PROMPT.md +++ b/templates/PROMPT.md @@ -518,7 +518,7 @@ cgo-dropdown::part(menu) { 2. **禁止虚构**:绝对不能使用 `trash-bin`、`user-avatar`、`chart-line`、`tool`、`phone`、`wechat` 等未在白名单中的名字。 3. **Emoji 降级机制**:若白名单中无法精确定位语义相近图标,**必须直接降级使用标准 Emoji 字符**(如 `🚀`、`💡`、`🔧`、`📌`、`✨`),严禁传入不存在的 `name`。 -### 📜 CGO UI 官方图标合法名称白名单(共 131 项,与 `src/icons/icons.js` 逐项核对) +### 📜 CGO UI 官方图标合法名称白名单(共 134 项,与 `src/icons/icons.js` 逐项核对) - **导航**:`back`, `forward`, `home`, `home-dots`, `external`, `menu` - **主题**:`sun`, `moon` @@ -534,12 +534,12 @@ cgo-dropdown::part(menu) { - **数据与分析**:`bar-chart`, `pie-chart`, `table`, `compare` - **媒体与扩展**:`image`, `camera`, `play`, `pause`, `plugin`, `bookmark`, `share`, `preset`, `puzzle` - **其他通用**:`star`, `star-outline`, `link`, `code`, `layer`, `sparkle`, `tag`, `palette`, `design`, `eye`, `loading`, `tabs`, `touch`, `window`, `pin-angle`, `unpin-angle` -- **业务补充**:`calendar`, `payment`, `subrail`, `ticket`, `time` +- **业务补充**:`calendar`, `payment`, `subrail`, `ticket`, `time`, `a11yclimber`, `a11yplatform`, `a11ytoilet` - **设计工作室 (Vitool)**:`vi-clss`, `vi-line`, `vi-nbr`, `vi-oth`, `vi-stn`, `vi-sub`, `vi-text`, `vi-way` - **品牌标识**:`bjsubway` - **合法别名**:`open-link`(= `external`), `plus`(= `add`), `bell`(= `notification`) -> **轨交类站点改造速查**:票务 → `ticket`、时刻/首末车 → `time`、日历/运营日 → `calendar`、支付/一卡通 → `payment`、市郊铁路 → `subrail`、闸机 → `gate`、换乘 → `transfer`、线路图 → `map`/`route`、列车 → `train`、无障碍/触摸 → `touch`。 +> **轨交类站点改造速查**:票务 → `ticket`、时刻/首末车 → `time`、日历/运营日 → `calendar`、支付/一卡通 → `payment`、市郊铁路 → `subrail`、闸机 → `gate`、换乘 → `transfer`、线路图 → `map`/`route`、列车 → `train`、无障碍/爬楼/升降/卫生间 → `a11yclimber` / `a11yplatform` / `a11ytoilet` / `touch`。 ---