2017年8月16日

摘要: 参考页面:http://www.cnblogs.com/chenwenhao/p/7368111.html 研究背景:网站中如果图片过多,就会因为加载图片而等待很长时间,此时我们就用到图片延时加载插件jquery.lazyload.js,这个插件可以让我们在向下滚动的时候加载图片。让网页首屏尽可能快 阅读全文
posted @ 2017-08-16 10:52 水月纯明 阅读(156) 评论(0) 推荐(0)

2017年8月14日

摘要: 1.html部分: 2. 全选实现: 3. 勾选部分: 阅读全文
posted @ 2017-08-14 11:27 水月纯明 阅读(131) 评论(0) 推荐(0)

2017年8月11日

摘要: 参考链接:http://www.cnblogs.com/1wen/p/5421212.html http://blog.csdn.net/playboyanta123/article/details/71083576 gulp-rev:项目部署缓存解决方案 引言: 前端工程化部署比较重要考虑的一个问 阅读全文
posted @ 2017-08-11 14:25 水月纯明 阅读(180) 评论(0) 推荐(0)

2017年7月28日

摘要: 1. 阅读全文
posted @ 2017-07-28 18:04 水月纯明 阅读(89) 评论(0) 推荐(0)

2017年7月27日

摘要: <style type="text/css"> .fileInputContainer{ height:256px; background:url(http://images.cnblogs.com/cnblogs_com/dreamback/437546/o_ff6.png); position: 阅读全文
posted @ 2017-07-27 16:08 水月纯明 阅读(124) 评论(0) 推荐(0)

2017年7月25日

摘要: 1.保留小数点2位 ( ).toFixed(2) 阅读全文
posted @ 2017-07-25 14:33 水月纯明 阅读(82) 评论(0) 推荐(0)

2017年7月24日

摘要: 官网: http://layer.layui.com/ layer.msg('添加规则成功', { icon: 1, time:'1200' }) layer.msg('警告', { icon: 5, time:'1200' }) layer.msg("失败", { icon:2, time: 20 阅读全文
posted @ 2017-07-24 17:31 水月纯明 阅读(107) 评论(0) 推荐(0)

2017年7月21日

摘要: 1. 2. 阅读全文
posted @ 2017-07-21 17:49 水月纯明 阅读(117) 评论(0) 推荐(0)

2017年7月19日

摘要: 1. 2. 阅读全文
posted @ 2017-07-19 14:20 水月纯明 阅读(341) 评论(0) 推荐(0)
摘要: 第一步 先给路由 列表页 和 编辑页 都增加一个 参数page 列表页点编辑页面的时候 把当前页数 作为参数传递过去 商品编辑完以后再把这个参数 还给 列表页 列表页收到这个以后 就把分页的当前页设置为这个参数即可 列表页点编辑页面的时候 把当前页数 作为参数传递过去 商品编辑完以后再把这个参数 还 阅读全文
posted @ 2017-07-19 11:57 水月纯明 阅读(111) 评论(0) 推荐(0)

导航