BUTTON[start,complete, cancel, delay, pause]
label: 开始
icon: play
style: primary
class: btn-warning
id: "start"
hidden: true
actions:
- type: updateMetadata
bindTarget: 状态
evaluate: false
value: "进行中"label: 完成
icon: check
style: primary
class: btn-success
id: "complete"
hidden: true
actions:
- type: updateMetadata
bindTarget: 完成时间
evaluate: true
value: "new Date(new Date().getTime() + 8 * 3600 * 1000).toISOString().replace('T', ' ').substring(0, 16);"
- type: updateMetadata
bindTarget: 状态
evaluate: false
value: "已完成"label: 取消
icon: x
style: primary
class: btn-danger
id: "cancel"
hidden: true
actions:
- type: updateMetadata
bindTarget: 状态
evaluate: false
value: "已取消"label: 推迟
icon: chevrons-right
style: primary
class: btn-emphasis
id: "delay"
hidden: true
actions:
- type: updateMetadata
bindTarget: 预计交付时间
evaluate: true
value: "new Date(new Date(getMetadata('预计交付时间')).getTime() + 32 * 3600 * 1000).toISOString().replace('T', ' ').substring(0, 16)"label: 搁置
icon: pause
style: "default"
class: btn-secondary
id: "pause"
hidden: true
actions:
- type: updateMetadata
bindTarget: 状态
evaluate: false
value: "已搁置"任务内容
项目/个人知识库/Tasks
- 主页projects优化、顶部使用指南(每日任务) ✅ 2025-09-09
- 换一下主页task的icon ✅ 2025-09-09
- 优化主页应用至移动端 ✅ 2025-09-09
- 补充个人服务器的内容(把家庭NAS加进去),建一个服务器模板,存各种参数和配置(以后做自动抓取,见^0dc26c)(把这个task加家庭NAS v2.0里去)
- 手表调整
- 主页当前身份动态显示