chore(backlog): 记录 g236 完成

This commit is contained in:
HIsheR
2026-10-26 21:29:12 +08:00
parent d50455318d
commit 55980c5ec1
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -2510,6 +2510,15 @@
"status": "done",
"domain": "new",
"notes": "组件 71→72;复用 .ua-btn 类零新增 CSS;label 用 signal + h() 函数型子节点实现文案切换(ButtonProps.label 收窄为 string,不走组合改走直接构造避免动既有类型口径);execCommand 降级用隐藏 textarea 临时选区;check 全绿"
},
{
"id": "g236",
"title": "新增 countdown 倒计时组件(组件 72→73)",
"motivation": "验证码重发 / 秒杀 / 会话过期这类倒计时高频出现,此前只能业务自写 setInterval;与 pinInput 组合即成完整的验证码收发场景。",
"acceptance": "秒级递减到 0 自动停表并触发 onFinish;缺省 mm:ss 两位补零,format 可自定义;返回句柄 start/stop/reset(已归零 start 重开一轮,reset 复位停表);running 缺省 true;样式只消费 --ua-* 令牌;十处落点齐全,npm run check 全绿。",
"status": "done",
"domain": "new",
"notes": "组件 72→73;remain 信号 + h() 函数型子节点响应式刷新文本(role=timer);句柄 stop 幂等(timer 句柄 0 判停);CSS 只加 .ua-countdown 数字等宽一行;demo 与 pinInput 同页组成验证码场景;check 全绿"
}
]
}