上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 28 下一页
摘要: # template 模版项目> A Vue.js project* 构建过程* 安装过程* 差异点* 打包优化## 构建过程```bashbogon:vue-cli caoke$ vue init webpack template? Project name template? Project d 阅读全文
posted @ 2018-08-23 18:44 无工时代 阅读(689) 评论(0) 推荐(0)
摘要: 图片延迟加载组件 阅读全文
posted @ 2018-07-04 14:24 无工时代 阅读(230) 评论(0) 推荐(0)
摘要: 解决性能问题 使用demo 源码 scroller.vue 阅读全文
posted @ 2018-07-04 14:22 无工时代 阅读(581) 评论(0) 推荐(0)
摘要: 组件化相关概念 怎么理解组件化开发 https://www.cnblogs.com/zs-note/p/7093323.html 前端组件化框架之路 https://blog.csdn.net/happyduoduo1/article/details/51831682 前端组件化认识 https:/ 阅读全文
posted @ 2018-05-09 15:53 无工时代 阅读(1230) 评论(0) 推荐(0)
摘要: //es6实现方式 const getData = async ()=> { //同步请求数据 const res1=await this.$http.get("https://www.cnblogs.com/yxy99/p/5852987.html") //并发请求数据 const res2=aw 阅读全文
posted @ 2018-05-09 15:51 无工时代 阅读(506) 评论(0) 推荐(0)
摘要: 1、字体兼容bug 描叙:ios默认字体和andriod不一样,需要设置html的默认字体样式例子:font-family: PingFang-SC-Regular,Helvetica,sans-serif; 2、WeiboJSBridge设置bug 描叙:android的jsbride设置不起作用 阅读全文
posted @ 2018-03-21 14:31 无工时代 阅读(246) 评论(0) 推荐(0)
摘要: let obj={a:{c:21},b:2} const path='a.c' const val=hget(obj,path,'默认值') 没有值就返回默认值 //利用字符串路径获取对象集合的值 对象:result 路径:path 默认值:def function hget(result,path 阅读全文
posted @ 2018-03-16 16:54 无工时代 阅读(302) 评论(0) 推荐(0)
摘要: //n个骰子的和,组成数字m的可能 function f(n,m) { if(n==1){ return 1; } var len=m-n; var sum=0; while (len>=0){ len-- //当前骰子和剩余骰子不能大于7 if(m-n+1-len<7&&n-1+len<... 阅读全文
posted @ 2018-03-16 14:54 无工时代 阅读(517) 评论(0) 推荐(0)
摘要: 之前面试的时候,面试官问我的一个题目, 问:一个人在w*h的地图上走,每次走一步,先向左走到头,然后向下走,然后向上走,然后向左走,不能重复,求n步所在的位置 如下: 它会依次输出1-64, 阅读全文
posted @ 2017-12-19 15:40 无工时代 阅读(473) 评论(0) 推荐(0)
摘要: class _Getch: """Gets a single character from standard input. Does not echo to the screen.""" def __init__(self): try: self.impl = _GetchWindows() except ImportEr... 阅读全文
posted @ 2017-12-06 19:33 无工时代 阅读(1342) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 28 下一页