摘要: 再H-ui.js 中 原因对应的图片class 名称不正确 glyphicon-arrow-left glyphicon-arrow-right 替换成 Hui-iconfont Hui-iconfont-slider-left Hui-iconfont Hui-iconfont-slider-le 阅读全文
posted @ 2021-06-01 17:59 太菜 阅读(122) 评论(0) 推荐(0) 编辑
摘要: $(ele).prop('scrollHeight') 阅读全文
posted @ 2019-01-24 19:51 太菜 阅读(887) 评论(0) 推荐(0) 编辑
摘要: $where=[ 'cat_id'=>3, 'zt'=>$newId, 'is_show'=>1, 'address_province_code'=>['exp','is not null']];新版 $where['nickname']=['<>','not null']; $where['nic 阅读全文
posted @ 2018-09-17 17:03 太菜 阅读(7172) 评论(0) 推荐(0) 编辑
摘要: paginate(分几页,是否是简洁模式,['quert']=>传的参数) request()->param() 为所有提交 的参数 $list=Db::name('name')->where('cat_id','=',$_GET['id'])->where('zt','=',$_GET['ids' 阅读全文
posted @ 2018-09-16 14:14 太菜 阅读(1343) 评论(0) 推荐(0) 编辑
摘要: $('#js_file_input').on('change',function(e){ var name = e.currentTarget.files[0].name; console.log(name);}); 阅读全文
posted @ 2018-09-04 09:57 太菜 阅读(2731) 评论(0) 推荐(0) 编辑
摘要: 老版本的密码策略变量: validate_password_policy 这个参数用于控制validate_password的验证策略 0-->low 1-->MEDIUM 2-->strong。 validate_password_length密码长度的最小值(这个值最小要是4)。 validat 阅读全文
posted @ 2018-07-18 22:37 太菜 阅读(17530) 评论(1) 推荐(1) 编辑
摘要: 注 需要安装zip扩展 /** * 压缩单个文件 * @method zip_file * @param string $filename 文件名 * @return boolean true|false */function zip_file(string $filename){ if(!is_f 阅读全文
posted @ 2018-07-06 12:02 太菜 阅读(442) 评论(0) 推荐(0) 编辑
摘要: ** * 单文件上传 * @method upload_file * @param array $fileInfo 上传文件的信息,是一个数组 * @param string $uploadPath 文件上传默认路径 * @param boolean $imageFlag 是否检测真实图片 * @p 阅读全文
posted @ 2018-07-06 12:01 太菜 阅读(189) 评论(0) 推荐(0) 编辑
摘要: <?php/** * @param $filePath //下载文件的路径 * @param int $readBuffer //分段下载 每次下载的字节数 默认1024bytes * @param array $allowExt //允许下载的文件类型 * @return void */funct 阅读全文
posted @ 2018-07-05 15:42 太菜 阅读(14071) 评论(0) 推荐(0) 编辑
摘要: <?php header('HTTP/1.1 200 OK'); // ok 正常访问 header('HTTP/1.1 404 Not Found'); //通知浏览器 页面不存在 header('HTTP/1.1 301 Moved Permanently'); //设置地址被永久的重定向 30 阅读全文
posted @ 2018-07-05 14:29 太菜 阅读(13543) 评论(0) 推荐(1) 编辑