摘要: 阅读全文
posted @ 2017-08-03 23:30 SherryLovesCode 阅读(307) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/blade2001/article/details/6341078 阅读全文
posted @ 2017-07-25 10:28 SherryLovesCode 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 问题一:怎么在phpstrom中open in browser运行php文件 问题二(之前胡乱改了很久,忽然发现php没选) 参考连接 http://www.jb51.net/article/21118.htm http://www.jb51.net/article/30064.htm 方法1.在代 阅读全文
posted @ 2017-07-25 10:24 SherryLovesCode 阅读(297) 评论(0) 推荐(0) 编辑
摘要: http://www.liaoxuefeng.com/article/001483334369637742e254a5a9645909e6551921eae0e10000 阅读全文
posted @ 2017-04-27 14:31 SherryLovesCode 阅读(70) 评论(0) 推荐(0) 编辑
摘要: http://www.daqianduan.com/6179.html 阅读全文
posted @ 2017-04-27 10:52 SherryLovesCode 阅读(97) 评论(0) 推荐(0) 编辑
摘要: JS代码压缩之后单行注释和空格都会被去掉。代码压缩不能在js用单行注释 阅读全文
posted @ 2017-03-30 11:30 SherryLovesCode 阅读(612) 评论(0) 推荐(0) 编辑
摘要: 在header.php 删除这些代码 阅读全文
posted @ 2017-03-30 11:23 SherryLovesCode 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 问题:当价格大于等于1000价格错误 如3000.00 结果3000.00被转换为3 原因:原来代码$price是带千分符的字串型3,000.00,在和数量相乘时发生强制类型转换,转换为3,在js中去掉千分符,然后parseFloat,在html中去掉千分符,然后doubleFloat,不能转换为整 阅读全文
posted @ 2017-03-30 10:13 SherryLovesCode 阅读(277) 评论(0) 推荐(0) 编辑
摘要: $(function(){ $('.breadcrumb li:last-child a').click(function(event){ event.preventDefault(); }); }); 阅读全文
posted @ 2017-03-28 11:34 SherryLovesCode 阅读(2448) 评论(0) 推荐(0) 编辑
摘要: margin:0 auto; 使用前提:元素有宽度 阅读全文
posted @ 2017-03-27 09:59 SherryLovesCode 阅读(175) 评论(0) 推荐(0) 编辑