摘要: 页面公共部分以javascript document.write()方式加载 生成的js放到需要的位置 footer.js 放到body底部引入 ... <script src="js/footer.js"></script> </body> php.exe所在文件夹添加到path环境变量, 在命令 阅读全文
posted @ 2018-06-11 18:01 zhanghui_ming 阅读(715) 评论(0) 推荐(0) 编辑
摘要: test: Thinkphp Model 阅读全文
posted @ 2018-06-11 17:57 zhanghui_ming 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 字符串反转 * 如果第二个参数 bUnicode255For1 true,则所有字符长度为 1否则如果字符 Unicode 编码 > 255 则长度为 2 input: 'hello world, 牛客', false output: 17 阅读全文
posted @ 2018-06-11 17:52 zhanghui_ming 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 1. getUrlParam.js 2. require.js 配置 3. 使用 * 获取 url 中的参数1. 指定参数名称,返回该参数的值 或者 空字符串2. 不指定参数名称,返回全部的参数对象 或者 {}3. 如果存在多个同名参数,则返回数组 input: http://www.nowcode 阅读全文
posted @ 2018-06-11 17:49 zhanghui_ming 阅读(876) 评论(2) 推荐(0) 编辑