Files
37duAutomation/desktop/controlplane-next/frontend/src/config/modules/festival.ts
T
puddy f27639777f build(desktop): 升级 electron-shell 版本至 1.6.3 并调整插件执行超时配置
- 插件执行超时默认延长至 6 小时,支持插件单独配置超时时间
- 新增插件根目录迁移逻辑,解决旧版权限问题
- 新增多个服务端实体、DTO、配置模块等基础代码
- 新增插件 UI 模板及相关静态资源
2026-10-15 11:38:45 +08:00

52 lines
1.7 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 节日庆祝配置
*
* 配置系统的节日烟花效果和祝福文本。
* 支持单日节日和跨日期节日,可自定义烟花播放次数。
*
* ## 配置说明
*
* - name: 节日名称
* - date: 节日开始日期(格式:YYYY-MM-DD)
* - endDate: 节日结束日期(可选,用于跨日期节日)
* - image: 烟花图片(需要预先导入)
* - scrollText: 滚动显示的祝福文本
* - count: 烟花播放次数(可选,默认为 3 次)
*
* ## 注意事项
*
* - 图片需要预先导入并在配置中引用
* - 跨日期节日会在整个日期范围内生效
* - 每个用户每天只会播放一次烟花效果
*
* @module config/modules/festival
* @author Art Design Pro Team
*/
import { FestivalConfig } from '@/types/config'
// 导入烟花图片(根据需要取消注释)
// import sd from '@imgs/ceremony/sd.png'
// import yd from '@imgs/ceremony/yd.png'
export const festivalConfigList: FestivalConfig[] = [
// 跨日期示例
// {
// name: 'v3.0 Sass 升级至 TailwindCSS',
// date: '2025-11-03',
// endDate: '2025-11-09',
// image: '',
// count: 3,
// scrollText:
// '🚀 系统 v3.0 测试阶段正式开启!测试周期为 11 月 3 日 - 11 月 16 日,通过 TailwindCSS 重构样式体系、统一 Iconify 图标方案,带来更高效现代的开发体验,正式发布敬请期待~'
// }
// 单日示例:圣诞节
// {
// name: '圣诞节',
// date: '2024-12-25',
// image: sd,
// count: 3 // 可选,不设置则使用默认值 3 次
// scrollText: 'Merry Christmas!Art Design Pro 祝您圣诞快乐,愿节日的欢乐与祝福如雪花般纷至沓来!',
// }
]