摘要: <input type="file"onchange="importf(this)" /> <p id="excelContent"></p> <script src="https://blog-static.cnblogs.com/files/zpblogs/xlsx.js"></script> 阅读全文
posted @ 2019-09-27 14:55 时光博客 阅读(464) 评论(0) 推荐(0) 编辑
摘要: //获取QQ号码头像 https://q1.qlogo.cn/g?b=qq&s=100&nk=QQ号码 //获取QQ群头像 http://p.qlogo.cn/gh/QQ群号码/QQ群号码/100/ //获取QQ昵称 https://users.qzone.qq.com/fcg-bin/cgi_ge 阅读全文
posted @ 2019-09-09 17:05 时光博客 阅读(148) 评论(0) 推荐(0) 编辑
摘要: <a href="javascript:;" id="export">导出</a> <script> $("#export").click(function () { var Title = [{ "value": "姓名" }, { "value": "课题组" }, { "value": "手机 阅读全文
posted @ 2019-09-05 16:19 时光博客 阅读(1336) 评论(0) 推荐(0) 编辑
摘要: <a href="javascript:;" id="export" >导出</a> <table> <thead> <tr> <th>姓名</th> <th>手机</th> </tr> </thead> <tbody id="tableExcel"> <tr> <td>扯淡1</td> <td>1 阅读全文
posted @ 2019-09-05 15:06 时光博客 阅读(2774) 评论(0) 推荐(1) 编辑
摘要: <div class="bdsharebuttonbox"> <a href="#" class="bds_more" data-cmd="more"></a> <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a> < 阅读全文
posted @ 2019-08-23 15:17 时光博客 阅读(6201) 评论(0) 推荐(1) 编辑
摘要: utils.js 在需要需要进行时间戳转换页面的js文件中引用utils.js 转载:https://www.jianshu.com/p/16e152dc2242 阅读全文
posted @ 2019-08-07 13:12 时光博客 阅读(3079) 评论(0) 推荐(0) 编辑
摘要: if (testId('320888888888888888') == false) { layer.msg("身份证号不正确!"); return false; } //身份证真实性验证 function testId(value) { var vcity = { 11: "北京", 12: "天 阅读全文
posted @ 2019-07-24 17:33 时光博客 阅读(1555) 评论(0) 推荐(0) 编辑
摘要: //JS创建多个下载任务 function Down() { //文件名 var namearr = []; //文件路径 var hrefarr = []; $(".downs .col-md-4").each(function (index, item) { namearr.push(需要下载的 阅读全文
posted @ 2019-07-24 17:29 时光博客 阅读(688) 评论(0) 推荐(0) 编辑
摘要: //传入动态水印内容 watermark({ watermark_txt: "扯淡" }); function watermark(settings) { //默认设置 var defaultSettings = { watermark_txt: "text", watermark_x: 20,// 阅读全文
posted @ 2019-07-24 15:09 时光博客 阅读(334) 评论(0) 推荐(0) 编辑
摘要: alert(getUuid()); function getUuid() { var len = 32;//32长度 var radix = 16;//16进制 var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrst 阅读全文
posted @ 2019-07-23 18:29 时光博客 阅读(154) 评论(0) 推荐(0) 编辑