09 2017 档案
摘要:一、dot.js介绍 最近用到的数据模板引擎有很多,今天讲的doT.js也是其中一种。 doT.js的特点是体积小,速度快,并且不依赖其他插件。 官网下载:http://olado.github.io/doT/index.html 二、使用方法 //1、dot模板封装function dotTemp
阅读全文
摘要:Date.prototype.Format = function (fmt) { //author: meizz var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": ...
阅读全文
摘要:一、String常用操作 1.截取 2.拆分 3.大小写转换 二、Array数组常用操作 1.基础操作 2.常用代码
阅读全文

浙公网安备 33010602011771号