04 2023 档案

摘要:web 浏览器页面实现滚屏效果 window 对象提供了执行动画的方法 window.requestAnimationFrame() 场景:固定位置显示多项内容列表 需要自动滚屏展示 demo: /** * 设置文本滚屏效果 */ setTextScroll(): void { const ulBo 阅读全文
posted @ 2023-04-10 15:42 冰凝^ 阅读(27) 评论(0) 推荐(0) 编辑
摘要:// new Date(2023, 5, 0).getDate();// 31const date = new Date();const length = new Date(date.getFullYear(), date.getMonth(), 0).getDate(); 阅读全文
posted @ 2023-04-06 16:48 冰凝^ 阅读(565) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示