2018年5月9日

摘要: window.requestAnimFrame=function(){ return window.requestAnimationFrame ||window.webkitRequestAnimationFrame ||window.mozRequestAnimationFrame ||windo 阅读全文

posted @ 2018-05-09 15:55 凌晨四点的北京 阅读(137) 评论(0) 推荐(0)

摘要: layui 坑 layui 针对各种表单元素做了较为全面的UI支持,你无需去书写那些 UI 结构,你只需要写 HTML 原始的 input、select、textarea 这些基本的标签即可。我们在 UI 上的渲染只要求一点,你必须给表单体系所在的父元素加上class="layui-form",一切 阅读全文

posted @ 2018-05-09 14:07 凌晨四点的北京 阅读(716) 评论(0) 推荐(0)

摘要: node-disconf-client 需要cppm install node-disconf-client var disconf = require (' node-disconf-client ') ; disconf.init({ path: './config',//本地文件目录 file 阅读全文

posted @ 2018-05-09 13:53 凌晨四点的北京 阅读(291) 评论(0) 推荐(0)

摘要: 1js中引用类型typeOf返回值为object; var b=[] function getObjType(obj){ return typeof(obj)!=="function"? undefined: obj.name||/function (.+?)\(/.exec(obj+"")[1] 阅读全文

posted @ 2018-05-09 13:44 凌晨四点的北京 阅读(108) 评论(0) 推荐(0)

摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <style> #aaa{ width: 100px; height: 100px; background: red; position: absolute; } #dddd{ width: 阅读全文

posted @ 2018-05-09 13:39 凌晨四点的北京 阅读(212) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3