From 18fa42c42477c337fc5c1331d616e659975d8e7f Mon Sep 17 00:00:00 2001 From: openclaw Date: Sat, 1 Aug 2026 21:14:55 +0800 Subject: [PATCH] feat: add food shopping category --- apps/web/src/data/categories.ts | 1 + docs/分类体系.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/web/src/data/categories.ts b/apps/web/src/data/categories.ts index 35af8d3..091ff0f 100644 --- a/apps/web/src/data/categories.ts +++ b/apps/web/src/data/categories.ts @@ -123,6 +123,7 @@ export const categories: Record = { icon: ShoppingBag, children: [ { id: "clothing", label: "服饰", color: "#b14e79", tint: "#faeef4", icon: Shirt }, + { id: "shopping-food", label: "食品", color: "#df6345", tint: "#fff0eb", icon: Apple }, { id: "groceries", label: "杂货", color: "#1a9b62", tint: "#eaf9f1", icon: ShoppingBasket }, { id: "digital", label: "数码", color: "#52606f", tint: "#eff2f5", icon: Smartphone }, { id: "home", label: "家居", color: "#2b8a74", tint: "#e8f7f2", icon: House }, diff --git a/docs/分类体系.md b/docs/分类体系.md index 23b68a5..4cc48f1 100644 --- a/docs/分类体系.md +++ b/docs/分类体系.md @@ -53,7 +53,7 @@ | --- | --- | | 餐饮 | 外卖 `takeout`、堂食 `restaurant`、咖啡 `coffee`、零食 `snacks`、饮品 `drinks`、水果 `fruit` | | 交通 | 打车 `taxi`、公交 `public-transit`、地铁 `subway`、火车 `train`、骑行 `cycling`、加油 `fuel`、充电 `charging`、停车 `parking`、高速 `highway` | -| 购物 | 服饰 `clothing`、杂货 `groceries`、数码 `digital`、家居 `home`、玩具 `toys` | +| 购物 | 服饰 `clothing`、食品 `shopping-food`、杂货 `groceries`、数码 `digital`、家居 `home`、玩具 `toys` | | 娱乐 | 游戏 `games`、电影 `movies`、按摩 `massage`、运动 `sports`、门票 `tickets`、酒店 `hotel` | | 社交 | 红包 `red-packet`、礼物 `gift`、请客 `treating`、聚会 `gathering`、捐赠 `donation`、人情 `social-obligation` | | 医疗 | 药店 `pharmacy`、门诊 `outpatient`、急诊 `emergency`、疫苗 `vaccine`、住院 `hospitalization` |