上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 33 下一页
摘要: $list = generate_id(10,"410403",25,59); var_dump($list); //count生成数量;prefix前六位;age_start开始年龄,age_end结束年龄,gender性别0不限1男2女 function generate_id($count = 阅读全文
posted @ 2020-08-14 10:23 西瓜霜 阅读(1) 评论(0) 推荐(0) 编辑
摘要: function plusOneMonth($time){ //$time = time(); $date = date("Y-m-d",$time); $day = date("d",$time); if($day=="29" || $day=="30" || $day=="31"){ //获取下 阅读全文
posted @ 2020-08-05 16:08 西瓜霜 阅读(390) 评论(0) 推荐(0) 编辑
摘要: function http_post($url, $data_string) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_set 阅读全文
posted @ 2020-08-05 00:35 西瓜霜 阅读(513) 评论(0) 推荐(0) 编辑
摘要: function createStyle(){ return"*{padding:0;margin:0;border:0}.loading{width:640px;height:1024px;margin:0 auto}.loadImg{width:640px;height:1024px;anima 阅读全文
posted @ 2020-07-29 11:22 西瓜霜 阅读(7559) 评论(0) 推荐(0) 编辑
摘要: 感谢 https://blog.csdn.net/xiaobaixiaye/article/details/81875582 clipboard.js 是一个不需要flash,将文本复制到剪贴板的插件。简单介绍下基本运用。 首先引入插件 1 <script src="js/clipboard.min 阅读全文
posted @ 2020-07-25 17:25 西瓜霜 阅读(484) 评论(0) 推荐(0) 编辑
摘要: download(base64) { let imgData = base64;//这里放需要下载的base64 this.downloadFile('海报.png', imgData); }, downloadFile(fileName, content) { let aLink = docume 阅读全文
posted @ 2020-07-23 17:59 西瓜霜 阅读(1351) 评论(0) 推荐(0) 编辑
摘要: 在DataGrid 里面添加列按钮,效果如下图所示:DataGrid代码如下(注意单击事件带参数的写法): { field: 'opt', title: '操作', width: 200, align: 'center', formatter: function (val, row, index) 阅读全文
posted @ 2020-06-28 15:49 西瓜霜 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 感谢 https://blog.csdn.net/Wenco1/article/details/88664246 https://blog.csdn.net/DaSunWarman/article/details/79384307 要忽略的文件需要先 git add 和git commit一下然后执 阅读全文
posted @ 2020-06-28 11:39 西瓜霜 阅读(1464) 评论(0) 推荐(0) 编辑
摘要: php从以前到现在一直都是单继承的语言,无法同时从两个基类中继承属性和方法,为了解决这个问题,php出了Trait这个特性 感谢https://www.jianshu.com/p/fc053b2d7fd1 用法:通过在类中使用use 关键字,声明要组合的Trait名称,具体的Trait的声明使用Tr 阅读全文
posted @ 2020-06-24 09:30 西瓜霜 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 感谢https://www.cnblogs.com/Angxf/p/10956416.html https://www.jianshu.com/p/1edb2770e0b1?utm_campaign=hugo这个也比较好 版本控制系统: 1、CVS和SVN是集中式的版本控制系统。 2、Git是分布式 阅读全文
posted @ 2020-06-24 09:07 西瓜霜 阅读(168) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 33 下一页