摘要:
打开谷歌浏览器按下F12(以下呈现效果) 在按下Ctrl+shift+p(以下呈现效果) 最后输入 Capture full size screenshot 执行下载 阅读全文
posted @ 2020-01-13 12:06
chenpk
阅读(292)
评论(0)
推荐(0)
摘要:
function timeConvert(timestamp,num){//num:0 YYYY-MM-DD num:1 YYYY-MM-DD hh:mm:ss // timestamp:时间戳 timestamp = timestamp+''; timestamp = timestamp.leng 阅读全文
posted @ 2020-01-13 11:42
chenpk
阅读(13137)
评论(0)
推荐(1)
摘要:
<input name="file" type="file" id="changheadimg"> var File = document.getElementById("changheadimg"); File.addEventListener('change', function() { var 阅读全文
posted @ 2020-01-06 09:28
chenpk
阅读(1285)
评论(0)
推荐(0)
摘要:
//精度浮点加法 function accAdd(arg1, arg2) { var r1, r2, m, c; try { r1 = arg1.toString().split(".")[1].length; } catch (e) { r1 = 0; } try { r2 = arg2.toSt 阅读全文
posted @ 2020-01-06 09:26
chenpk
阅读(1626)
评论(0)
推荐(1)
摘要:
var websocket; // 首先判断是否 支持 WebSocket if('WebSocket' in window) { if(stra==0){//我这边是两个端都要推送,判断下 websocket = new WebSocket("ws://120.76.209.107:8030/fx 阅读全文
posted @ 2020-01-06 09:25
chenpk
阅读(1976)
评论(1)
推荐(0)
摘要:
<input id="file" type="file" capture="microphone" accept="image/*"> 1 $("#file").change(function(){ 2 var m_this = this; 3 cutImageBase64(m_this,null, 阅读全文
posted @ 2020-01-04 15:45
chenpk
阅读(18703)
评论(0)
推荐(0)
摘要:
var The_last=""; var time = timestampToTime(n.createTime); var timeText = getTimeText(time); //判断日期 if(The_last!=""){ time = time.replace("年","-"); ti 阅读全文
posted @ 2020-01-04 15:43
chenpk
阅读(691)
评论(0)
推荐(0)
浙公网安备 33010602011771号