上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页
摘要: html { -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: grayscale(100%) 阅读全文
posted @ 2020-05-11 20:48 dongxiaolei 阅读(3944) 评论(0) 推荐(0) 编辑
摘要: var ary=[1,2,3,4,5,6,7,8] function shuffle(arr) { arr.sort(function () { return Math.random() - 0.5; }); } shuffle(ary) 阅读全文
posted @ 2018-10-29 16:36 dongxiaolei 阅读(462) 评论(0) 推荐(0) 编辑
摘要: //无缝滚动 function AutoScroll(obj) { var autoScrollTimer=null,timer=null; timer=setTimeout(function(){ move(); },3000); function m... 阅读全文
posted @ 2018-09-21 17:20 dongxiaolei 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/wangyingwing/article/details/79119592 阅读全文
posted @ 2018-09-14 16:31 dongxiaolei 阅读(117) 评论(0) 推荐(0) 编辑
摘要: function _throttling(fn,wait,mustRun){ var time=null; var startTime= new Date() return function(){ clearTimeout(time) ... 阅读全文
posted @ 2018-09-06 16:05 dongxiaolei 阅读(160) 评论(0) 推荐(0) 编辑
摘要: function setTimer(from,to,timmer,el) { var len=to - from, _space = timmer/len; var timer =null; clearInterval(timer); var intNum =from; timer=setInter 阅读全文
posted @ 2018-09-06 13:25 dongxiaolei 阅读(705) 评论(0) 推荐(0) 编辑
摘要: var ms_ie = false; var ua = window.navigator.userAgent.toLowerCase(); var old_ie = ua.indexOf('MSIE'); var new_ie = ua.indexOf('trident/'); var is360 = false; var a... 阅读全文
posted @ 2018-08-30 17:43 dongxiaolei 阅读(5365) 评论(0) 推荐(0) 编辑
摘要: template: js: 效果如图: 阅读全文
posted @ 2018-08-10 14:56 dongxiaolei 阅读(6188) 评论(0) 推荐(0) 编辑
摘要: 1、通过判断绑定class及点击事件总结<a :class='[item.status=="yes" ? `btn-primary` : `btn-danger`]' :title="item.status=='yes' ?'取消' :'监测'" @click="item.status=='yes' 阅读全文
posted @ 2018-08-07 16:41 dongxiaolei 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 1、登录阿里巴巴字体图标库http://www.iconfont.cn/home/index?spm=a313x.7781069.1998910419.2 2、在图标库中选择需要的图标,鼠标经过该图标加入购物车 3、选择完成后 点击右上角购物车--》添加到对应项目 4、图标管理--》我的图标--》我 阅读全文
posted @ 2018-07-19 16:01 dongxiaolei 阅读(775) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 25 下一页