摘要: jekyll 将纯文本转化为静态网站和博客 静态网站生成器 这个貌似对windows 支持不是很好~ 但是有支持,官方说不建议使用 阅读全文
posted @ 2018-12-17 15:40 彭成刚 阅读(190) 评论(0) 推荐(0) 编辑
摘要: config/index.js 问题是这样改完了,根index.html路径也不对,最后还是得手改 阅读全文
posted @ 2018-12-17 15:03 彭成刚 阅读(1085) 评论(0) 推荐(0) 编辑
摘要: iview构建 Node.js Vue(全局安装) npm install -g vue-cli npm install vue-cli 问题:发现如果不全局安装VUE-cli,\n在它初始化的时候,会建立项目的目录,\n所以只好全局建立VUE-cli 用VUE初始化一个webpack vue init webpack iviewDemo 安装iView ... 阅读全文
posted @ 2018-12-14 14:09 彭成刚 阅读(233) 评论(0) 推荐(0) 编辑
摘要: config / index.js 里面将 / 改成 ./ 有两个 都改了 反正管用 然后npm run build 如果涉及到字体 css里面不会改 需要手工改成 ../../ 反正一般用到字体也不是很多 就手工改吧 阅读全文
posted @ 2018-12-14 14:05 彭成刚 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 安装 Beautify 插件 然后 F1 输入 Beautify file 回车即可 阅读全文
posted @ 2018-12-14 13:58 彭成刚 阅读(591) 评论(0) 推荐(0) 编辑
摘要: 简单说就是里面只能有一个跟的divbutton1.vue Default Primary Dashed Text Info Success Warning Error app.vue 阅读全文
posted @ 2018-12-14 09:35 彭成刚 阅读(5556) 评论(0) 推荐(0) 编辑
摘要: 前端UI iView webapp一套高质量的 微信小程序 UI 组件库 https://weapp.iviewui.com/?from=iview Mint UI 基于 Vue.js 的移动端组件库 Mint UI 基于 Vue.js 的移动端组件库 http://mint-ui.github.i 阅读全文
posted @ 2018-12-12 15:56 彭成刚 阅读(469) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/dasusu/p/10105433.html 阅读全文
posted @ 2018-12-12 10:16 彭成刚 阅读(130) 评论(0) 推荐(0) 编辑
摘要: callback: { onClick:function(event, treeId, treeNode){ console.info("onClick") var treeObj = $.fn.zTree.getZTreeObj(treeId); treeObj.checkNode(treeNod 阅读全文
posted @ 2018-12-12 08:58 彭成刚 阅读(270) 评论(0) 推荐(0) 编辑
摘要: https://hnzzmsf.github.io/example/example_v4.html 阅读全文
posted @ 2018-12-11 11:21 彭成刚 阅读(312) 评论(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 彭成刚 阅读(223) 评论(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 彭成刚 阅读(143) 评论(0) 推荐(0) 编辑
摘要: https://cloud.tencent.com/developer/article/1361189 阅读全文
posted @ 2018-12-08 23:09 彭成刚 阅读(184) 评论(0) 推荐(0) 编辑
摘要: $("[lay-id='demo'] tbody tr[data-index=0]") 阅读全文
posted @ 2018-12-07 15:18 彭成刚 阅读(3086) 评论(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 彭成刚 阅读(5223) 评论(0) 推荐(0) 编辑
摘要: 最近发现右键使用notepad++打开文件时提示如下错误: ShellExecute failed (2): Is this command Correct? ... 经用搜索引擎搜索得知,应该是开启了notepad++的【以管理员身份运行此程序】选项而导致的。 解决方法: 找到notepad++. 阅读全文
posted @ 2018-12-07 09:19 彭成刚 阅读(1102) 评论(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 彭成刚 阅读(205) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_40877388/article/details/80911934 阅读全文
posted @ 2018-12-05 15:26 彭成刚 阅读(296) 评论(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 彭成刚 阅读(357) 评论(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 彭成刚 阅读(299) 评论(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 彭成刚 阅读(141) 评论(0) 推荐(0) 编辑
摘要: underscore _ 对象封装 遍历 阅读全文
posted @ 2018-12-04 17:32 彭成刚 阅读(268) 评论(0) 推荐(0) 编辑
摘要: http://www.syntevo.com/smartgithg/ 阅读全文
posted @ 2018-12-04 14:27 彭成刚 阅读(223) 评论(0) 推荐(0) 编辑
摘要: https://www.lucidchart.com 阅读全文
posted @ 2018-12-04 10:12 彭成刚 阅读(20963) 评论(0) 推荐(1) 编辑
摘要: https://www.iplaysoft.com/rolan.html 阅读全文
posted @ 2018-12-03 09:00 彭成刚 阅读(284) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/zls986992484/article/details/70819462 下面这个不好使 https://blog.csdn.net/gao531162436/article/details/79129334 阅读全文
posted @ 2018-11-30 23:40 彭成刚 阅读(127) 评论(0) 推荐(0) 编辑
摘要: $("[lay-id='"+this.id+"']") 阅读全文
posted @ 2018-11-30 10:32 彭成刚 阅读(986) 评论(0) 推荐(0) 编辑
摘要: mathAge.call(btn) 函数call 改变函数内 this 阅读全文
posted @ 2018-11-27 11:02 彭成刚 阅读(170) 评论(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 彭成刚 阅读(592) 评论(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 彭成刚 阅读(687) 评论(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 彭成刚 阅读(162) 评论(0) 推荐(0) 编辑
摘要: element-ui iview-admin 都是基于vue的ui框架 阅读全文
posted @ 2018-11-21 11:00 彭成刚 阅读(738) 评论(0) 推荐(0) 编辑
摘要: Mock.js Mock.js 生成随机数据,拦截 Ajax请求 开始 前后端分离 让前端攻城师独立于后端进行开发。 增加单元测试的真实性 通过随机数据,模拟各种场景。 阅读全文
posted @ 2018-11-21 09:43 彭成刚 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 今天被 <!doctype html> 搞了两个小时,两个页面同样的样式,chosen右边的小箭头,一个上下居中对齐 一个居顶对齐。最后找到问题所在doctype <-- 这个小箭头 阅读全文
posted @ 2018-11-20 16:02 彭成刚 阅读(127) 评论(0) 推荐(0) 编辑
摘要: <link rel="apple-touch-icon-precomposed" sizes="114x114" href="jiajian.png"> 阅读全文
posted @ 2018-11-19 13:47 彭成刚 阅读(278) 评论(0) 推荐(0) 编辑
摘要: chrome 查看样式的时候默认没有 focus的样式,可以把选择器开开select 修改选中时候的默认默认样式 outline:none 把系统的线关了 然后自己再border一下input:focus { outline: none; border-color: #cfdc00; } 阅读全文
posted @ 2018-11-16 11:08 彭成刚 阅读(212) 评论(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 彭成刚 阅读(100) 评论(0) 推荐(0) 编辑
摘要: ECMAScript 6入门(###,com) http://www.hubwiz.###/course/5594e91ac086935f4a6fb8ef/ ECMAScript 6 入门 作者:阮一峰 http://es6.ruanyifeng.com/ 阅读全文
posted @ 2018-11-13 21:54 彭成刚 阅读(97) 评论(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 彭成刚 阅读(82) 评论(0) 推荐(0) 编辑
摘要: //①不定义接受参数的方式来接受参数(arguments) function getparams(){ //利用arguments来接受参数,arguments表示参数集合, //里面存放的调用这个方法所传递过来的所有参数的集合 var _q=arguments[0];//0位置表示q参数 var  阅读全文
posted @ 2018-10-30 15:56 彭成刚 阅读(391) 评论(0) 推荐(0) 编辑