摘要: let n_date = new Date(); let l_str: string[] = '2020/1/1'.split("/"); //过去的时间 let n_str: string[] = n_date.toLocaleDateString().split("/"); //当前的时间-- 阅读全文
posted @ 2020-10-09 16:39 程序🐱 阅读(1381) 评论(0) 推荐(0) 编辑
摘要: 1、修改eui.button图片 public static SetButtonImage(pBtn: eui.Button, str: string) { var image: eui.Image = <eui.Image>pBtn.getChildAt(0); if (image != unde 阅读全文
posted @ 2020-10-09 16:17 程序&#128049; 阅读(254) 评论(0) 推荐(0) 编辑