摘要: font: 14px/1.5 -apple-system,"Helvetica Neue",Helvetica,Arial,"PingFang SC","Hiragino Sans GB","Microsoft Yahei",sans-serif 阅读全文
posted @ 2017-11-15 14:21 向着太阳生 阅读(194) 评论(0) 推荐(0) 编辑
摘要: //1,字符串转换为unicode码 var s = '吴'; var Ncode = s.charCodeAt(0) //21556 var Scode = Ncode.toString(16) //5434 //2,unicode码转字符串 '\u5434'.toString(16) //吴 或者 String.fromCharCode(21556) //吴或者 \u{5434} //吴 ... 阅读全文
posted @ 2017-11-15 12:58 向着太阳生 阅读(6708) 评论(0) 推荐(0) 编辑