摘要: function returnDate(dateYear,dateMonth){ function is_leap(year) {//判断是否为闰年 return (year%100==0?res=(year%400==0?1:0):res=(year%4==0?1:0)); }; function 阅读全文
posted @ 2016-08-12 15:43 张云山 阅读(299) 评论(0) 推荐(0) 编辑
摘要: //新建TP.jade模板文件mixin tpee_html(data) -var data = data || {}; doctype html html meta(charset="utf-8") title #{data.title || "jade模板"} block link each v 阅读全文
posted @ 2016-08-12 15:06 张云山 阅读(165) 评论(0) 推荐(0) 编辑