2018年7月21日

phpword根据模板导出word

摘要: 参考网址:http://phpword.readthedocs.io/en/latest/installing.html在composer.json中添加 { "require": { "phpoffice/phpword": "v0.14.*" } } 然后composer update publ 阅读全文

posted @ 2018-07-21 17:41 七七2020 阅读(900) 评论(1) 推荐(0) 编辑

2018年7月17日

laravel5.6上传图片及显示

摘要: 在config下新建文件admin.php,定义上传文件的路径 在config/filesystems.php下定义 前端显示 阅读全文

posted @ 2018-07-17 14:42 七七2020 阅读(358) 评论(0) 推荐(0) 编辑

2018年7月3日

jggrid应用,后台c#

摘要: 参考网址: 1、https://www.cnblogs.com/miro/p/jqGrid.html 2、https://blog.csdn.net/ainuser/article/details/68482771 后台json格式 3、https://www.cnblogs.com/MonaSon 阅读全文

posted @ 2018-07-03 08:44 七七2020 阅读(102) 评论(0) 推荐(0) 编辑

2018年6月29日

js对键盘输入事件绑定到特定按钮

摘要: 转自:https://www.cnblogs.com/liluping860122/archive/2013/05/25/3099103.html<script type="text/javascript" language="javascript"> document.onkeyup = func 阅读全文

posted @ 2018-06-29 15:11 七七2020 阅读(446) 评论(0) 推荐(0) 编辑

2018年6月20日

laravel excel导出调节列宽度,对某列中数据颜色处理

摘要: //$cellData 表格标题栏各名称数组 //$result 表格内容数组//$items getForDataTable得到的表格数据 $result = array_merge($cellData,$result); Excel::create('表格名' . date("Ymdhis"), 阅读全文

posted @ 2018-06-20 08:11 七七2020 阅读(1162) 评论(0) 推荐(0) 编辑

2018年5月30日

三个<li>元素放一行

摘要: <ul><li style="float:left;display:inline;">0</li><li style="float:left;display:inline;">0</li><li style="float:left;display:inline;">0</li></ul>只要给li加 阅读全文

posted @ 2018-05-30 09:52 七七2020 阅读(418) 评论(0) 推荐(0) 编辑

2018年5月29日

php中bootstrap框架.popover弹出框,鼠标移动到上面自动显示,离开自动消失

摘要: <div rel="name"></div> <script> $(function(){//显示弹出框 $("[rel=name]").popover({ trigger:'manual', placement : 'bottom', //placement of the popover. als 阅读全文

posted @ 2018-05-29 10:06 七七2020 阅读(339) 评论(0) 推荐(0) 编辑

锚点,自动跳转到某处

摘要: <a href="#e-real-table" style="color:white;text-decoration:none ;"><!--#id,去掉下划线--> <!--中间可以放div,span,p等--> </a> 阅读全文

posted @ 2018-05-29 10:02 七七2020 阅读(183) 评论(0) 推荐(0) 编辑

2018年5月19日

WdatePicker控件Javascript取得当前时间、取得减30分钟时间

摘要: 1、取得当前时间 var now = new Date(); var year = now.getFullYear(); //年 var month = now.getMonth() + 1; //月 var day = now.getDate(); //日 var hour = now.getHo 阅读全文

posted @ 2018-05-19 09:42 七七2020 阅读(2155) 评论(0) 推荐(0) 编辑

2018年5月18日

(mysql数据库报错)The user specified as a definer ('root'@'%') does not exist

摘要: 权限问题,授权 给 root 所有sql 权限 解决办法: (1)登录MYSQL 以管理员身份运行cmd >mysql -u root -p >密码 (2)更改权限 mysql> grant all privileges on *.* to root@"%" identified by "."; Q 阅读全文

posted @ 2018-05-18 08:29 七七2020 阅读(206) 评论(0) 推荐(0) 编辑

导航