feat(companion): 全面扩展同城生活陪伴体系(陪吃·陪喝·陪玩),完成TDD测试与安全核销闭环

这个提交包含在:
wikiboss
2026-09-16 20:12:54 +08:00
父节点 a90cd3c0d9
当前提交 341023c77b
共有 15 个文件被更改,包括 972 次插入 和 23 次删除

查看文件

@@ -223,5 +223,46 @@ export const ICONS = {
<line x1="19" y1="5" x2="13.6" y2="10.4"></line>
<polyline points="15 5 19 5 19 9"></polyline>
</svg>
`),
// 陪吃·美食探店
utensils: svgToUri(`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#F59E0B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M18 2v6a3 3 0 0 1-3 3 3 3 0 0 1-3-3V2"></path>
<path d="M15 2v18"></path>
<path d="M5 2v7a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2V2"></path>
<path d="M8 11v9"></path>
</svg>
`),
// 陪喝·咖啡下午茶/茶室清吧
coffee: svgToUri(`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#10B981" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M18 8h1a4 4 0 0 1 0 8h-1"></path>
<path d="M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z"></path>
<line x1="6" y1="1" x2="6" y2="4"></line>
<line x1="10" y1="1" x2="10" y2="4"></line>
<line x1="14" y1="1" x2="14" y2="4"></line>
</svg>
`),
// 线下陪玩·同城桌游/剧本杀
dice: svgToUri(`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#EC4899" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<rect x="2" y="2" width="20" height="20" rx="4"></rect>
<circle cx="7.5" cy="7.5" r="1.5" fill="#EC4899"></circle>
<circle cx="16.5" cy="16.5" r="1.5" fill="#EC4899"></circle>
<circle cx="12" cy="12" r="1.5" fill="#EC4899"></circle>
<circle cx="16.5" cy="7.5" r="1.5" fill="#EC4899"></circle>
<circle cx="7.5" cy="16.5" r="1.5" fill="#EC4899"></circle>
</svg>
`),
// 同城位置·商圈
mapPin: svgToUri(`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#38BDF8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path>
<circle cx="12" cy="10" r="3"></circle>
</svg>
`)
};