上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 26 下一页
摘要: import Router from 'vue-router' Vue.use(Router) new Router({ routes: [ ] }) <router-view></router-view> <router-link to="/singer"></router-link> .rout 阅读全文
posted @ 2019-05-14 22:32 雨夜稻草 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 1.使用padding-top百分比 .pt_2_item { width: 50%; position: relative; float: left; padding: 3px; } .pt_2_in { padding-top: 100%; } .pt_2_pic { width: 100%; 阅读全文
posted @ 2019-05-13 16:58 雨夜稻草 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1rem = 1*根元素font-size px rem与px 场景:图片占位符 1em = 1*相对父类font-size px em与px 1vw = 可视窗口的宽度的1% vw与% 场景:图片占位符 100% 100%/3.5 = 28.57% 1vw = 1% 28.57% = 28.57v 阅读全文
posted @ 2019-05-10 17:37 雨夜稻草 阅读(126) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/haosit/p/6928165.html http://chartjs.cn/docs/#line-chart-chart-options 阅读全文
posted @ 2019-03-26 17:33 雨夜稻草 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 1、日期格式化(线上系统已有,无需引入) Date.prototype.format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours( 阅读全文
posted @ 2019-03-26 17:31 雨夜稻草 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 结论:将ESLint提示注意()里面的规则属性在tslint.json中"rules": { } 里设置为false 1、ES6: ESLint提示"Require Object Literal Shorthand Syntax (object-shorthand)" 是因为,ES6如果值的变量名称 阅读全文
posted @ 2019-03-14 10:58 雨夜稻草 阅读(2723) 评论(0) 推荐(0) 编辑
摘要: https://www.w3cplus.com/css/what-no-one-told-you-about-z-index.html https://www.jianshu.com/p/27315ff5f52d 阅读全文
posted @ 2019-03-13 17:00 雨夜稻草 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1、创建组件 在某目录下创建组件 ng g c content/membersManage 2、创建服务 在某目录下创建服务 ng g service services/storage 2、创建模块 在某目录下创建服务 ng g module 3、懒加载 4、ngModule 5\RouteReus 阅读全文
posted @ 2019-02-20 16:54 雨夜稻草 阅读(395) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/wf19930209/article/details/81109388 阅读全文
posted @ 2019-02-15 18:33 雨夜稻草 阅读(184) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/mttcug/p/8004359.html 阅读全文
posted @ 2019-02-15 18:29 雨夜稻草 阅读(543) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 26 下一页