摘要: 需要node环境 npm install -g http-server // 创建文件夹 mkdir test // cd进入目录 cd test // 命令行http-server开启http本地服务,默认端口8080 http-server View Code 阅读全文
posted @ 2020-07-23 10:46 renewload 阅读(475) 评论(0) 推荐(0) 编辑
摘要: iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 阅读全文
posted @ 2020-03-25 17:01 renewload 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 设置淘宝镜像 取消淘宝镜像 阅读全文
posted @ 2019-10-09 11:22 renewload 阅读(5341) 评论(0) 推荐(0) 编辑
摘要: Array.prototype.indexOf = function(val) { for (var i = 0; i -1) { this.splice(index, 1); } }; 阅读全文
posted @ 2019-08-30 16:08 renewload 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 路由跳转 子页面路由接受参数 阅读全文
posted @ 2019-07-30 17:02 renewload 阅读(635) 评论(0) 推荐(0) 编辑
摘要: 接口地址https://www.apiopen.top/ 阅读全文
posted @ 2019-07-26 12:29 renewload 阅读(681) 评论(0) 推荐(0) 编辑
摘要: 信箱正则验证 用途:检查输入的Email信箱格式是否正确 输入:strEmail:字符串 返回:如果通过验证返回true,否则返回false function checkEmail(strEmail) { //var emailReg = /^[_a-z0-9]+@([_a-z0-9]+\.)+[a 阅读全文
posted @ 2019-07-25 18:01 renewload 阅读(448) 评论(0) 推荐(0) 编辑
摘要: $("input[type='checkbox']").bind("click", function () { var len =$("input[type='checkbox']:checked").length;//选中的checkbox的数量 }) 阅读全文
posted @ 2019-07-24 00:51 renewload 阅读(571) 评论(0) 推荐(0) 编辑
摘要: Jay Skript And The Domsters 购买数量: - + 人次 阅读全文
posted @ 2019-07-22 17:39 renewload 阅读(1091) 评论(0) 推荐(0) 编辑
摘要: 来源转载https://www.cnblogs.com/goloving/p/8260206.html 阅读全文
posted @ 2019-07-22 14:32 renewload 阅读(676) 评论(0) 推荐(0) 编辑