摘要: var now = new Date(); var hour = now.getHours(); var txt = '你好'; if(hour < 6){ txt = "凌晨好"} else if (hour < 9){txt = "早上好"} else if (hour < 12){txt = 阅读全文
posted @ 2020-12-23 17:10 骅骝漫轻舞01 阅读(529) 评论(0) 推荐(0) 编辑