摘要: <!--引入微信js--> <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> $(document).ready(function () { var imgs = 阅读全文
posted @ 2023-03-10 15:09 Strive-count 阅读(44) 评论(0) 推荐(0) 编辑
摘要: rotateBase64Img(dataStr, -90);//-90向左旋转90度,90向右旋转90度。 function rotateBase64Img(src, edg) { var canvas = document.createElement("canvas"); var ctx = ca 阅读全文
posted @ 2023-03-09 14:33 Strive-count 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 鼠标移入移出冒泡事件解决 Jquery mouseenter和mouseleave 最近做了1个功能,鼠标移出div时该div隐藏,但是鼠标移入该div子元素时,该div也隐藏了。 开始是使用的jquery的mouseover和mouseout事件,但是问题来了,我要的是鼠标移出ul的时候才触发mo 阅读全文
posted @ 2022-01-27 09:31 Strive-count 阅读(489) 评论(0) 推荐(0) 编辑
摘要: //网签生成图片 if (empty($data['signature'])) { return $result = ['code' => 0, 'msg' => '请签名后再提交!']; } //将图片流写入图片文件 $file_path = ROOT_PATH.'public_html/uplo 阅读全文
posted @ 2021-09-15 08:24 Strive-count 阅读(667) 评论(0) 推荐(0) 编辑
摘要: $list = [ [ 'id' => 1, 'name' => '刘德华', 'old' => 57, 'sex' => '男' ], [ 'id' => 2, 'name' => '梁朝伟', 'old' => 55, 'sex' => '男' ], [ 'id' => 3, 'name' => 阅读全文
posted @ 2021-05-12 09:22 Strive-count 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/web_csdn_share/article/details/79243308 下面是我整理的常用 Git 命令清单。几个专用名词的译名如下。 Workspace:工作区 Index / Stage:暂存区 Repository:仓库区(或本地仓库) 阅读全文
posted @ 2021-01-14 09:14 Strive-count 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 1 //使用前确保已经引入exif.js。下载地址:http://code.ciaoca.com/javascript/exif-js/ 2 var file=document.getElementById('imagefile').files[0];//获取文件流 3 correcctImageOrientation(file);//调用方法,将图片修正。 4 // 纠正图片旋转方向 5 fun 阅读全文
posted @ 2019-09-27 16:24 Strive-count 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 随笔 - 52 文章 - 0 评论 - 36 随笔 - 52 文章 - 0 评论 - 36 随笔 - 52 文章 - 0 评论 - 36 随笔 - 52 文章 - 0 评论 - 36 MySQL中char、varchar和text的设计 char、varchar、text常识: 1、char(n)和 阅读全文
posted @ 2019-06-15 11:11 Strive-count 阅读(207) 评论(0) 推荐(0) 编辑
摘要: $sql = "SHOW TABLES LIKE '%字符串%'"; 阅读全文
posted @ 2019-05-16 14:14 Strive-count 阅读(2863) 评论(0) 推荐(0) 编辑
摘要: //1.取被复制的文件夹的名字;//2.写出新的文件夹的名字;//3.调用此函数,将旧、新文件夹名字作为参数传递;//4.如需复制文件夹内的文件,第三个参数传1,否则传0; public function xCopy($source, $destination, $child = 1){//用法: // xCopy("feiy","feiy2",1):拷贝feiy下的文件到 fe... 阅读全文
posted @ 2019-01-02 10:54 Strive-count 阅读(1712) 评论(0) 推荐(0) 编辑