上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: 转载自:https://www.jianshu.com/p/827b041be446 https://segmentfault.com/a/1190000009773724 https://segmentfault.com/a/1190000013536703 跨域是什么,为什么会有跨域?跨域的解决 阅读全文
posted @ 2019-08-09 20:46 cecelia 阅读(177) 评论(0) 推荐(0)
摘要: 1. 原生js中,阻止事件冒泡,获取点击对象, e.stopPropagation(); 2. vue阻止事件冒泡@click.stop="show" <body> <div id="myApp" @click="show2()"> <div @click="show1()"> <button @c 阅读全文
posted @ 2019-08-08 16:20 cecelia 阅读(12763) 评论(0) 推荐(1)
摘要: 参考: https://www.cnblogs.com/Highdoudou/p/9993870.html https://www.cnblogs.com/ljx20180807/p/9987822.html 性能优化 观察者机制的变化:Proxy 替代 object.defineProperty 阅读全文
posted @ 2019-08-05 10:23 cecelia 阅读(3419) 评论(0) 推荐(0)
摘要: 拓展: grep 193. ref: https://blog.csdn.net/yanglingwell/article/details/82343407 Given a text file file.txt that contains list of phone numbers (one per 阅读全文
posted @ 2019-07-25 10:18 cecelia 阅读(149) 评论(0) 推荐(0)
摘要: leetcode 175. Table: Person + + + | Column Name | Type | + + + | PersonId | int | | FirstName | varchar | | LastName | varchar | + + + PersonId is the 阅读全文
posted @ 2019-07-21 22:24 cecelia 阅读(180) 评论(0) 推荐(0)
摘要: 1. 行内盒子高度(line-height)=上下两个半铅空+内容区高度(font-size) so, if line-height为30px, font-size为22px, 则半铅空为4px. 2. line-height单位可以是em, px, %, 或是number(倍数)。 number: 阅读全文
posted @ 2019-07-17 09:56 cecelia 阅读(232) 评论(0) 推荐(0)
摘要: 1. box-sizing: 默认取值content-box,width对应内容区content的宽度。 当box-sizing取值为border-box时,给出padding, border后,width对应的是content的宽度+padding(左右)+border(左右) 2. 元素widt 阅读全文
posted @ 2019-07-15 20:33 cecelia 阅读(110) 评论(0) 推荐(0)
摘要: 转载自:https://www.cnblogs.com/qcloud1001/p/10167756.html https://blog.csdn.net/a250758092/article/details/78543440 1.模块化 模块化是指把一个复杂的系统分解到一个一个的模块。 模块化开发的 阅读全文
posted @ 2019-06-16 17:04 cecelia 阅读(1015) 评论(0) 推荐(0)
摘要: 1.组件框架 Exparser(内置组件、自定义组件) WXML属性值传递是从父组件向子组件的基本通信方式,而事件系统是从子组件向父组件的基本通信方式。 事件可以分为冒泡事件和非冒泡事件。冒泡事件还可以划分为在Shadow Tree上冒泡的事件和在Composed Tree上冒泡的事件。如果在Sha 阅读全文
posted @ 2019-06-11 18:19 cecelia 阅读(693) 评论(0) 推荐(0)
摘要: 详情见:https://developers.weixin.qq.com/ebook?action=get_post_info&docid=000cc48f96c5989b0086ddc7e56c0a 笔者认为:第7步方向不对 阅读全文
posted @ 2019-06-09 21:45 cecelia 阅读(327) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页