摘要: 文件 加入 如: 阅读全文
posted @ 2020-04-22 19:46 pine007 阅读(1245) 评论(0) 推荐(0) 编辑
摘要: php <?php $text = '文本'; $articles = [ [ 'title' => '标题1', 'content' => '内容1' ], [ 'title' => '标题2', 'content' => '内容2' ] ]; ?> <script> //字符串 var text 阅读全文
posted @ 2020-04-22 19:14 pine007 阅读(3445) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.cnblogs.com/tonnytong/p/11650158.html /** * @desc: JS数字位数不够,前面位数补零 * @param num: 需要补零的数值 * @param len: 补零后的总位数 */ function formatZero(n 阅读全文
posted @ 2020-04-22 19:13 pine007 阅读(1290) 评论(0) 推荐(0) 编辑