摘要: https://hnzzmsf.github.io/example/example_v4.html 阅读全文
posted @ 2018-12-11 11:21 彭成刚 阅读(353) 评论(0) 推荐(0)
摘要: { // Place your snippets for html here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is 阅读全文
posted @ 2018-12-10 09:40 彭成刚 阅读(233) 评论(0) 推荐(0)
摘要: var k = { name:"kName" ,getName:function(){ console.info(this.name) } ,getParentName:function(_this){ console.info(_this.name) } } var j = { name:"jNa 阅读全文
posted @ 2018-12-10 08:36 彭成刚 阅读(151) 评论(0) 推荐(0)
摘要: https://cloud.tencent.com/developer/article/1361189 阅读全文
posted @ 2018-12-08 23:09 彭成刚 阅读(189) 评论(0) 推荐(0)
摘要: $("[lay-id='demo'] tbody tr[data-index=0]") 阅读全文
posted @ 2018-12-07 15:18 彭成刚 阅读(3150) 评论(0) 推荐(0)
摘要: // 默认展开一级节点var nodes = tree.getNodesByParam("level", 0);for (var i = 0; i < nodes.length; i++) { tree.expandNode(nodes[i], true, false, false);} //ztr 阅读全文
posted @ 2018-12-07 10:09 彭成刚 阅读(5287) 评论(0) 推荐(0)
摘要: 最近发现右键使用notepad++打开文件时提示如下错误: ShellExecute failed (2): Is this command Correct? ... 经用搜索引擎搜索得知,应该是开启了notepad++的【以管理员身份运行此程序】选项而导致的。 解决方法: 找到notepad++. 阅读全文
posted @ 2018-12-07 09:19 彭成刚 阅读(1229) 评论(1) 推荐(0)
摘要: node 安装 webstorm 安装 略过 npm install -y //生成package.json npm install babel-cli -g //全局安装babel-cli npm install babel-preset-env --save-dev //这个会在package. 阅读全文
posted @ 2018-12-06 14:36 彭成刚 阅读(239) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_40877388/article/details/80911934 阅读全文
posted @ 2018-12-05 15:26 彭成刚 阅读(313) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/u012182627/article/details/55060594 http-server的安装######注意事项 安装http-server的时候 用管理员权限运行cmd 如果是win10的话 npm install http-server -g 阅读全文
posted @ 2018-12-05 15:05 彭成刚 阅读(372) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/ddqyc/p/6200539.html 本意是想加载外面的navi,这个模板只能本页用 换这个 使用jquery获取iframe加载完成事件 https://blog.csdn.net/szwangdf/article/details/7099370 阅读全文
posted @ 2018-12-05 10:38 彭成刚 阅读(318) 评论(0) 推荐(0)
摘要: component: resolve => { require(['@/views/system/system.vue'], resolve); } require.js text 插件使用 https://www.cnblogs.com/hwldyz/p/9166918.html 这个也是只能在服 阅读全文
posted @ 2018-12-04 17:33 彭成刚 阅读(147) 评论(0) 推荐(0)
摘要: underscore _ 对象封装 遍历 阅读全文
posted @ 2018-12-04 17:32 彭成刚 阅读(274) 评论(0) 推荐(0)
摘要: http://www.syntevo.com/smartgithg/ 阅读全文
posted @ 2018-12-04 14:27 彭成刚 阅读(229) 评论(0) 推荐(0)
摘要: https://www.lucidchart.com 阅读全文
posted @ 2018-12-04 10:12 彭成刚 阅读(21295) 评论(0) 推荐(1)
摘要: https://www.iplaysoft.com/rolan.html 阅读全文
posted @ 2018-12-03 09:00 彭成刚 阅读(319) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/zls986992484/article/details/70819462 下面这个不好使 https://blog.csdn.net/gao531162436/article/details/79129334 阅读全文
posted @ 2018-11-30 23:40 彭成刚 阅读(136) 评论(0) 推荐(0)
摘要: $("[lay-id='"+this.id+"']") 阅读全文
posted @ 2018-11-30 10:32 彭成刚 阅读(992) 评论(0) 推荐(0)
摘要: mathAge.call(btn) 函数call 改变函数内 this 阅读全文
posted @ 2018-11-27 11:02 彭成刚 阅读(177) 评论(0) 推荐(0)
摘要: ImageFlow https://finnrudolph.com/products/imageflow https://github.com/countzero/ImageFlow http://www.jq22.com/jquery-info11927 图片滚动组件 最后一个demo https 阅读全文
posted @ 2018-11-23 14:02 彭成刚 阅读(609) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> 改为 <!DOCTYPE> <html> OK了 <!DOCTYPE html> <html> 改为 <!DOCTYPE> <html> OK了 <!DOCTYPE> <html> OK了 <!DOCTYPE> <html> OK了 阅读全文
posted @ 2018-11-22 09:32 彭成刚 阅读(695) 评论(0) 推荐(0)
摘要: 使用 LESS 简化层叠样式表(CSS)的编写 https://less.bootcss.com/ Sass完全兼容所有版本的CSS https://gojs.net/latest/samples/flowchart.html https://www.cnblogs.com/landeanfen/ 阅读全文
posted @ 2018-11-21 11:09 彭成刚 阅读(172) 评论(0) 推荐(0)
摘要: element-ui iview-admin 都是基于vue的ui框架 阅读全文
posted @ 2018-11-21 11:00 彭成刚 阅读(748) 评论(0) 推荐(0)
摘要: Mock.js Mock.js 生成随机数据,拦截 Ajax请求 开始 前后端分离 让前端攻城师独立于后端进行开发。 增加单元测试的真实性 通过随机数据,模拟各种场景。 阅读全文
posted @ 2018-11-21 09:43 彭成刚 阅读(145) 评论(0) 推荐(0)
摘要: 今天被 <!doctype html> 搞了两个小时,两个页面同样的样式,chosen右边的小箭头,一个上下居中对齐 一个居顶对齐。最后找到问题所在doctype <-- 这个小箭头 阅读全文
posted @ 2018-11-20 16:02 彭成刚 阅读(131) 评论(0) 推荐(0)
摘要: <link rel="apple-touch-icon-precomposed" sizes="114x114" href="jiajian.png"> 阅读全文
posted @ 2018-11-19 13:47 彭成刚 阅读(289) 评论(0) 推荐(0)
摘要: chrome 查看样式的时候默认没有 focus的样式,可以把选择器开开select 修改选中时候的默认默认样式 outline:none 把系统的线关了 然后自己再border一下input:focus { outline: none; border-color: #cfdc00; } 阅读全文
posted @ 2018-11-16 11:08 彭成刚 阅读(222) 评论(0) 推荐(0)
摘要: .chosen-container-active .chosen-single { border: 1px solid #5897fb; -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); box-shadow: 0 0 5px rgba(0, 0, 0, 阅读全文
posted @ 2018-11-16 09:00 彭成刚 阅读(105) 评论(0) 推荐(0)
摘要: ECMAScript 6入门(###,com) http://www.hubwiz.###/course/5594e91ac086935f4a6fb8ef/ ECMAScript 6 入门 作者:阮一峰 http://es6.ruanyifeng.com/ 阅读全文
posted @ 2018-11-13 21:54 彭成刚 阅读(101) 评论(0) 推荐(0)
摘要: function a() {console.info("a");} function b() {console.info("b");} var c = a; a = function(){c();b();} a(); //输入 a b function a() {console.info("a"); 阅读全文
posted @ 2018-11-08 13:58 彭成刚 阅读(87) 评论(0) 推荐(0)
摘要: //①不定义接受参数的方式来接受参数(arguments) function getparams(){ //利用arguments来接受参数,arguments表示参数集合, //里面存放的调用这个方法所传递过来的所有参数的集合 var _q=arguments[0];//0位置表示q参数 var  阅读全文
posted @ 2018-10-30 15:56 彭成刚 阅读(413) 评论(0) 推荐(0)
摘要: <div style="width:100px; background-color: aqua; min-width:100%">kkk</div> 阅读全文
posted @ 2018-10-25 17:53 彭成刚 阅读(933) 评论(0) 推荐(0)
摘要: 背景渐变 background-image:linear-gradient(0deg,#fff,#ccc); 阅读全文
posted @ 2018-10-23 19:13 彭成刚 阅读(521) 评论(0) 推荐(0)
摘要: width:auto; border-bottom:1px solid #ccc; height:30px; display: inline-block;white-space: nowrap; 阅读全文
posted @ 2018-10-22 18:59 彭成刚 阅读(410) 评论(0) 推荐(0)
摘要: https://www.runoob.com/w3cnote/flex-grammar.html display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; 两列Div居中 显示 用传统float方式就 阅读全文
posted @ 2018-10-22 09:23 彭成刚 阅读(1084) 评论(0) 推荐(0)
摘要: https://code.visualstudio.com/ 阅读全文
posted @ 2018-10-20 22:20 彭成刚 阅读(136) 评论(0) 推荐(0)
摘要: @import "http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.css" /*-防止各大cdn公共库加载地址失效问题,此地址我们会时时监控,及调整以保障正常访问,如果您不喜欢请改为自己的地址-www.jq22.com为您服务*/ / 阅读全文
posted @ 2018-10-19 15:40 彭成刚 阅读(2073) 评论(0) 推荐(0)
摘要: 1 延时事件 window.setTimeout('dofunction()',2000); 函数外面要有引号 如果没有引号 就不能延时执行 应该是内容进行eval,所以外层不是传递字符串的话,外层函数就直接执行了 2.layui form 表单提交 事件 如果不写事件,他有 <input type 阅读全文
posted @ 2018-10-19 11:43 彭成刚 阅读(298) 评论(0) 推荐(0)
摘要: win10 闹钟和时钟 用个倒计时 Inno Setup 编译器 把应用程序打包成安装程序 nwjs-v0.14.7-win-ia32 XP专用 chrome用的49的版本 作用是把浏览器地址的程序打包成exe 研究页面最后插入函数执行 研究结果是 页面js 分 同步 和 异步 异步最后肯定在同步之 阅读全文
posted @ 2018-10-17 20:02 彭成刚 阅读(249) 评论(0) 推荐(0)
摘要: // // var showColumns = getShowColsRows("table");// var showArray = [];// $.each(showColumns, function (index, data) {// showArray.push(data);// });// 阅读全文
posted @ 2018-10-17 15:15 彭成刚 阅读(236) 评论(0) 推荐(0)