摘要: 方法一 function randomColor (){ var str='#'; for(var i=0;i<6;i++){ str+=Math.floor(Math.random()*16).toString(16); } return str; } 方法二 function randomCol 阅读全文
posted @ 2018-12-19 09:14 菜鸟程序员的总结 阅读(2764) 评论(0) 推荐(0)