摘要:
/** * 格式化时间 */tool.formatTime = function (value) { if (value && value > 0) { return new Date(parseInt(value)).format('yyyy-MM-dd hh:mm:ss'); } else { 阅读全文
posted @ 2019-11-30 13:46
本木木
阅读(480)
评论(0)
推荐(0)
摘要:
http://www.jq22.com/demo/uploadimg201812172358/ 图片上传截取: 需要引用这3个文件。主要依赖jq。 //html部分 <!DOCTYPE html> <html> <head> <metacharset="UTF-8"> <metahttp-equiv 阅读全文
posted @ 2019-11-30 13:35
本木木
阅读(716)
评论(0)
推荐(0)
摘要:
function dataURLtoFile(dataurl, filename) { //将base64转换为文件 var arr = dataurl.split(','), mime = arr[0].match(/:(.*?);/)[1], bstr = atob(arr[1]), n = b 阅读全文
posted @ 2019-11-30 13:24
本木木
阅读(14850)
评论(0)
推荐(2)

浙公网安备 33010602011771号