翊枫
撸码才能成长,学会深究,懂得填坑
摘要: 获取当前时间 let nowTime ="00:00:00" let getNowTime = ()=> { const now = new Date(); const hour = now.getHours() < 10 ? '0' + now.getHours() : now.getHours( 阅读全文
posted @ 2017-08-15 10:22 翊枫 阅读(315) 评论(0) 推荐(0) 编辑
摘要: //单行省略样式 p.p1 { width: 210px; line-height: 24px; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } //多行省略样式 p.p2 { wi 阅读全文
posted @ 2017-08-15 09:59 翊枫 阅读(247) 评论(0) 推荐(0) 编辑

Stick to the code and become the code God.