摘要:
1、安装工具包 “ npm install -g iconfont-tools ” 2、在下载好的iconfont文件夹下执行命令 “ iconfont-tools ” ,一直回车 3、会生成一个 “ iconfont-weapp ” 的文件夹 4、复制 iconfont-weapp-icon.cs 阅读全文
摘要:
#先监听 jerrychee.cn域名,然后转发到www下面 server { listen 80; server_name jerrychee.cn; rewrite ^(.*) $scheme://www.$server_name$1 permanent; } #www.jerrychee.cn 阅读全文
摘要:
1.在项目根目录新建 .prettierrc 文件 2.里面写下面这个 { "printWidth":800, "singleQuote": true, "semi": false } 阅读全文
摘要:
使用weapp-qrcode.js 链接:https://pan.baidu.com/s/1j0qjoYvl6pCK8EzSsfks9g 提取码:8wxe <canvas class="canvas-code" canvas-id="myQrcode" :style="{ width: qrcode 阅读全文
摘要:
var str = '<p><code>uni-app</code> 完整支持 <code>Vue</code> 实例的生命周期,同时还新增页面生命周期</a>。</p>'; console.log(str.replace(/<[^<>]+>/g,'').replace(/ /ig,'') 阅读全文
摘要:
阅读全文
摘要:
var s= document.getElementById("test");del_ff(s); //清理空格var chils= s.childNodes; //得到s的全部子节点var par=s.parentNode; //得到s的父节点var ns=s.nextSbiling; //获得s 阅读全文
摘要:
osql -S jack_c -d yourdb -U sa -P 123 -i E:\user.sql 注意: sql脚本里面一定要先创建数据库或者use到某个数据库,然后再cmd执行脚本 阅读全文
摘要:
1 <!DOCTYPE html> 2 <html lang="en"> 3 4 <head> 5 <meta charset="UTF-8"> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 7 <m 阅读全文
摘要:
var cookie = { set: function(key, val, time) { //设置cookie方法 var date = new Date(); //获取当前时间 var expiresDays = time; //将date设置为n天以后的时间 date.setTime(dat 阅读全文