{ "slug": "cardlist", "mode": "single", "curated": true, "examples": [ { "id": "cardlist-ex-1", "title": "基础用法", "titleSrc": "", "desc": "", "html": "
\n", "preview": { "show": [ [ 0 ], [ 1 ] ], "hide": [], "mode": "single" }, "previewSafe": true, "previewUnsafeReasons": [], "source": "curated", "code": { "html": "\n\n", "jsx": "import { KoleCardList } from 'kole-ui/react';\n\nconst items = [\n { title: '用户管理', desc: '集中维护组织架构、账号与权限分配。', emoji: '👥', tags: ['账号', '权限'], actions: ['配置', '查看'] },\n { title: '订单中心', desc: '实时追踪订单状态,支持退款与导出。', emoji: '📦', tags: ['交易'], actions: ['详情', '导出'] },\n { title: '数据分析', desc: '多维报表与漏斗分析,驱动业务决策。', emoji: '📊', tags: ['报表', 'BI'], actions: ['打开'] },\n { title: '消息推送', desc: '全渠道触达,支持模板与定时发送。', emoji: '🔔', tags: ['营销'], actions: ['新建', '记录'] },\n { title: '内容库', desc: '统一管理图文、音视频素材资源。', emoji: '🗂️', tags: ['素材'], actions: ['上传'] },\n { title: '系统设置', desc: '基础参数、日志与安全策略配置。', emoji: '⚙️', tags: ['配置'], actions: ['设置'] }\n];\n\nfunction handleAction(payload) {\n console.log(payload.item.title, payload.action);\n}\n\n