摘要:
Laya.init(640, Laya.Browser.width / 640 * 1028, WebGL); Laya.stage.scaleMode = "fixedwidth"; //设置水平对齐 Laya.stage.alignH = "center"; //设置垂直对齐 Laya.stag 阅读全文
摘要:
原作者StevenSLXie; 原链接(https://github.com/StevenSLXie/Tutorials-for-Web-Developers/blob/master/MongoDB%20%E6%9E%81%E7%AE%80%E5%AE%9E%E8%B7%B5%E5%85%A5%E9 阅读全文
摘要:
$checkContent = '要检测的内容'; $url = 'https://api.weixin.qq.com/wxa/msg_sec_check?access_token='. $res["access_token"]; $data = json_encode(array('content 阅读全文
摘要:
word-break:break-all; 阅读全文
摘要:
/*使用 button::after{ border: none; } 来去除边框*/.free-btn-bordernone{ background: none !important; color: #000 !important;}.free-btn-bordernone::after{ bor 阅读全文
摘要:
axios 设置 withCredentials :true axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded' 如果 Content-Type是 application/x-www-fo 阅读全文
摘要:
解决方法来源~~~https://blog.csdn.net/arrowzz/article/details/80656510 二维码生成时,如果长度太长会有异常: Uncaught Error: code length overflow. (1604>1056) 创建的时候,添加 correctL 阅读全文
摘要:
// //定义视频对象 var temp_u="https://v.qq.com/iframe/player.htmlplayer.html?vid=b0708tfkkku&auto=0"; var reg = new RegExp("(^|&|\\?)vid=([^&]*)(&|$|#)"); var r = temp_u.match(reg); var vid= encodeURICompo... 阅读全文
摘要:
go get github.com/axgle/mahonia dec := mahonia.NewDecoder("GBK")ret:=dec.ConvertString(resp)fmt.Println("GBK to UTF-8: ", String) 阅读全文