会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
糖糖部落
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
下一页
2017年11月1日
下拉刷新加载
摘要: https://github.com/minirefresh/minirefresh
阅读全文
posted @ 2017-11-01 16:29 糖糖部落
阅读(116)
评论(0)
推荐(0)
编辑
flex 居中并两端对齐
摘要: 投资金额美通卡奖励 h3{ width:100%; height: 0.8rem; /* line-height: 0.85rem; */ display: flex; align-items: center; justify-content: space-between; }
阅读全文
posted @ 2017-11-01 16:02 糖糖部落
阅读(26124)
评论(0)
推荐(0)
编辑
2017年10月20日
全局加token
摘要: token = JSON.parse(data).token; $.ajaxSetup({ //发送请求前触发 beforeSend: function(xhr) { //可以设置自定义标头 xhr.setRequestHeader('token', token); } })
阅读全文
posted @ 2017-10-20 18:36 糖糖部落
阅读(593)
评论(0)
推荐(0)
编辑
web移动端浮层滚动阻止window窗体滚动JS/CSS处理
摘要: js代码: 调用: 参考链接:http://www.zhangxinxu.com/wordpress/2016/12/web-mobile-scroll-prevent-window-js-css/ demo:http://www.zhangxinxu.com/study/201612/mobile
阅读全文
posted @ 2017-10-20 17:38 糖糖部落
阅读(1463)
评论(0)
推荐(0)
编辑
css 三角形样式
摘要: 参考链接:https://segmentfault.com/a/1190000002783179
阅读全文
posted @ 2017-10-20 14:27 糖糖部落
阅读(470)
评论(0)
推荐(0)
编辑
css文字渐变+内发光+投影效果
摘要: 参考链接:http://www.jianshu.com/p/caa1032e5865
阅读全文
posted @ 2017-10-20 11:33 糖糖部落
阅读(832)
评论(0)
推荐(0)
编辑
2017年10月19日
如何解决安卓上按钮文字偏上的问题
摘要: 原css: 解决方法:去掉line-height和vertical-align 使用 flex 布局。 把父元素设为:
阅读全文
posted @ 2017-10-19 18:20 糖糖部落
阅读(1774)
评论(0)
推荐(0)
编辑
2017年10月18日
webpack入门
摘要: 参考:http://www.jianshu.com/p/42e11515c10f
阅读全文
posted @ 2017-10-18 10:55 糖糖部落
阅读(112)
评论(0)
推荐(0)
编辑
2017年10月16日
a:active在ios上无效解决方法
摘要: 原因: By default, Safari Mobile does not use the :active state unless there is a touchstart event handler on the relevant element or on the <body>. 解决方法
阅读全文
posted @ 2017-10-16 11:12 糖糖部落
阅读(256)
评论(0)
推荐(0)
编辑
移动端$(document) click不管事, 使用touchend
摘要: $(document).on('touchend',function(e){ if(!$('.menuIcon')[0].contains(e.target)){ if(flag == 0){ $('.navMenu').slideUp(); flag = 1; } ...
阅读全文
posted @ 2017-10-16 11:06 糖糖部落
阅读(436)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
下一页
公告