add store closed day in event record calendar

This commit is contained in:
Timi
2026-08-13 14:50:35 +08:00
parent fa1f5f1f2d
commit e43ba9db8d
5 changed files with 82 additions and 7 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
* @param backgroundColor 头像背景色
*/
export function buildFallbackAvatar(name?: string, backgroundColor = "#2563eb"): string {
const text = encodeURIComponent((name?.trim() || "用户").slice(0, 2));
const text = encodeURIComponent((name?.trim() || "用户").slice(0, 1));
const fill = encodeURIComponent(backgroundColor);
return [
"data:image/svg+xml;charset=UTF-8,",