screenWidth: wx.getSystemInfoSync().windowWidth,
screenHeight: wx.getSystemInfoSync().windowHeight,
……继续阅读 »
admin
6年前 (2018-12-07) 1102浏览
0个赞
<audio id=”music” >
<source src=”https://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=3&text=您有新的订单,请尽快处理” type=”audio/mpeg”……继续阅读 »
admin
6年前 (2018-11-16) 1987浏览
0个赞
查看磁盘空间:df -lh
查看文件夹下 各个文件容量: 首先cd进入到文件夹 ,然后使用 : du -ah –max-depth=1 查看
删除文件夹 要慎重
rm -rf 目录名字
-r 向下递归,不管有多少级目录,一并删除
-f 直接强行删除,不作任何提示的意思
……继续阅读 »
admin
6年前 (2018-11-07) 1227浏览
0个赞
在弹出框 加上一个 rel=”newdialog” 就可以以防止重合了
包括新卡选项卡 也是通过这个参数 防止选项卡内容重合 相当于a标签的__blank
……继续阅读 »
admin
6年前 (2018-10-31) 1108浏览
0个赞
header("Content-Type:text/html;charset=utf-8");//不加header头中文会乱码
$fileContent = file_get_contents("http://tencent_serverlist.xml");
//转换为simplexml对象
$xmlResult = simple……继续阅读 »
admin
6年前 (2018-10-29) 1171浏览
0个赞
editoptions: { dataInit: function(element) { $(element).datepicker({ dateFormat: ‘yy-mm-dd’, changeMonth: true, changeYear: true }) } }
……继续阅读 »
admin
6年前 (2018-10-19) 3079浏览
2个赞
$(“#operator input”, window.parent.document).val(inpid+’-‘+departname+’-‘+name)
……继续阅读 »
admin
6年前 (2018-10-19) 1126浏览
0个赞
加一个快捷链接 我的系统是linux centos7
之前使用usr/bin, 不生效 后来改成 链接指向是/usr/sbin,
具体如下 ln -s /phpstudy/mysql/bin/mysql /usr/sbin
mysql命令就可以使用了
……继续阅读 »
admin
6年前 (2018-10-11) 1876浏览
3个赞
https://api.map.baidu.com/api?v=3.0&ak=RGEAyqwsT1mSFY0Ghm75VTYeq5TUh65R
链接地址加上s就可以了
……继续阅读 »
admin
6年前 (2018-10-10) 1197浏览
1个赞
原因 连接数据库使用了localhost 并且host 文件没有设置127.0.0.1 localhost 导致解析超过1秒
所有 把localhost换成127.0.0.1即可 或者host文件加指向
……继续阅读 »
admin
6年前 (2018-10-09) 1339浏览
1个赞