2017年11月12日
摘要: 移动端懒加载需要监听文档高度。以下是提供的所有方法 网页可见区域宽: document.body.clientWidth网页可见区域高: document.body.clientHeight网页可见区域宽: document.body.offsetWidth (包括边线的宽)网页可见区域高: doc 阅读全文
posted @ 2017-11-12 21:11 Leifmin.Lin 阅读(554) 评论(0) 推荐(0) 编辑
2017年11月10日
摘要: x5-video-player-type='h5' webkit-playsinline 理想全屏 webkit-playsinline//允许小屏幕播放 /*去掉全屏按钮*/ video::-webkit-media-controls-fullscreen-button { display: no 阅读全文
posted @ 2017-11-10 22:50 Leifmin.Lin 阅读(195) 评论(0) 推荐(0) 编辑
2017年11月8日
摘要: trantion:proterty duration timing-function delay ; 过渡的css属性 过渡时间 过渡曲线 延迟 animation : name duration timing-function delay iteration-count direction; 动画 阅读全文
posted @ 2017-11-08 20:50 Leifmin.Lin 阅读(110) 评论(0) 推荐(0) 编辑
2017年10月13日
摘要: ::-webkit-scrollbar { display: none;/*隐藏滚轮*/ } 阅读全文
posted @ 2017-10-13 21:32 Leifmin.Lin 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Object.assign(this.$data, this.$options.data()) Object.assign是对象深复制this.$data是组件内的数据对象,this.$options.data()指的就是原始的数据。参考文档https://developer.mozilla.org 阅读全文
posted @ 2017-10-13 21:28 Leifmin.Lin 阅读(664) 评论(0) 推荐(0) 编辑
2017年9月8日
摘要: <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>Document</title><style type="text/css">*{border: 0;padding: 0;margin: 0;}#box{font-s 阅读全文
posted @ 2017-09-08 22:29 Leifmin.Lin 阅读(74) 评论(0) 推荐(0) 编辑