Fork me on GitHub
摘要: 环形图 1 (function(){ 2 var myChart = echarts.init(document.getElementById("index-pie-1")); 3 option = { 4 tooltip: { 5 trigger: 'item', 6 formatter: '{a 阅读全文
posted @ 2020-03-28 11:49 君乐豹 阅读(886) 评论(0) 推荐(0) 编辑
摘要: 最常见的做法是采用正则表达式替换的方法,将特殊字符如 < > & 等进行替换,htmlencode的时候这样替换还比较容易,但发过来htmldecode的时候就不一定好用了,因为需要反转的情况很多,出了常见的&lt;&gt;&amp;以外,还有&nbsp;&copy;&quot;&reg;等数十个字 阅读全文
posted @ 2020-03-28 11:36 君乐豹 阅读(447) 评论(0) 推荐(0) 编辑
摘要: //获取今天的时间戳 $today = time(); $month_first = strtotime(date("Y-m-01")); $month_end = strtotime(date("Y-m-d",$month_first)."+1 month -1 day"); 本周、下月,上月同理 阅读全文
posted @ 2020-03-28 10:03 君乐豹 阅读(665) 评论(0) 推荐(0) 编辑
Live2D