摘要: //颜色16进制转RGB方法 String.prototype.colorRgb = function(){ var sColor = this.toLowerCase(); //十六进制颜色值的正则表达式 var reg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/ 阅读全文
posted @ 2018-08-10 16:12 abcByme 阅读(4893) 评论(0) 推荐(0) 编辑
摘要: var shine=0.8; var arrays = ['[255,182,193,0.8]','[144,238,144,0.8]','[255,235,205,0.8]','[240,128,128,0.8]','[255,186,0,0.8]','[255,225,189,0.8]','[227,229,241,0.8]','[248,228,239,0.8]','[223,237,2... 阅读全文
posted @ 2018-08-10 16:11 abcByme 阅读(1056) 评论(1) 推荐(1) 编辑
摘要: obj =["34", "3", "34#add"] 数组,id 与树形的所有id 一致 阅读全文
posted @ 2018-08-10 10:18 abcByme 阅读(864) 评论(0) 推荐(0) 编辑