摘要: 条件$filter = array( 'username like' => "%mizhou%", 'remark !=' => "", 'starttime >=' => 1502413770, 'starttime <=' => 1567133479, 'status' => 1, ); //生 阅读全文
posted @ 2022-04-22 14:26 why_set 阅读(124) 评论(0) 推荐(0)
摘要: 1.查看js是否引入成功 2.引入成功js没有效果 3.查看js是否使用Windows.onload方法载入 Windows.onload方法载入需要页面所有资源载入完毕后执行,一旦有外部资源没有加载成功会导致js失效 $(function(){ }) $(document).ready(funct 阅读全文
posted @ 2022-04-22 14:14 why_set 阅读(865) 评论(0) 推荐(0)
摘要: orderBy(new Expression('rand()')) 阅读全文
posted @ 2021-07-22 16:00 why_set 阅读(248) 评论(0) 推荐(0)
摘要: 1.安装dracut-modules-growroot yum install -y dracut-modules-growroot 2.运行 growpart /dev/vda 1 3.重启服务器 4.扩展文件系统 resize2fs /dev/vda1df -h 查看 阅读全文
posted @ 2021-07-20 14:02 why_set 阅读(112) 评论(0) 推荐(0)
摘要: 路径 /etc/yum.repos.d/ CentOS-Base.repo 修改 专用vpc [base] name=CentOS-6.10 enabled=1 failovermethod=priority baseurl=http://mirrors.cloud.aliyuncs.com/cen 阅读全文
posted @ 2021-07-20 13:59 why_set 阅读(163) 评论(0) 推荐(0)
摘要: linux 挂载 lsblk 查看挂载 blkid df -h umount /mnt 卸载 /etc/fstab 自动挂载 mount --bind 绑定目录到另一个目录 阅读全文
posted @ 2021-07-16 15:33 why_set 阅读(38) 评论(0) 推荐(0)
摘要: pages 路由 tabbar 底部导航栏 list text 名称 pagePath 路由 (必须在路由中声明) iconPath 导航图标 selectedIconPath 选中样式 badge 右上角显示提示 阅读全文
posted @ 2021-07-06 14:27 why_set 阅读(59) 评论(0) 推荐(0)
摘要: 两种方式 第一种 下载安装npm (繁琐) npm init npm install --production npm i vant-weapp -S --production 构建npm 第二种 引用扩展方式 (快捷,不占用包体积) json中 "useExtendedLib": { "kbone 阅读全文
posted @ 2021-07-06 11:42 why_set 阅读(83) 评论(0) 推荐(0)
摘要: 网站 https://clipboardjs.com/ 用法 new ClipboardJS('.copy',{text:function(trigger) { return content;} }); 阅读全文
posted @ 2021-06-15 16:42 why_set 阅读(110) 评论(0) 推荐(0)
摘要: function curl_post_weixin($url,$content){ $curl = curl_init(); $headerArray =array("Content-type:application/json;charset='utf-8'","Accept:application 阅读全文
posted @ 2021-06-10 10:30 why_set 阅读(615) 评论(0) 推荐(0)