摘要: -Xms512m -Xmx1024m -XX:PermSize=512m -XX:MaxNewSize=512m -XX:MaxPermSize=512m 将这段代码粘贴到 VM options 后面的文本中。 阅读全文
posted @ 2017-09-06 11:14 ^cherish~ 阅读(3109) 评论(0) 推荐(0) 编辑
摘要: 在ie8浏览器中,js不支持console,所有带console的js都会阻止,不用向下运行。 ie8背景图片大小显示问题: 解决backgroundsize不兼容问题, 阅读全文
posted @ 2017-06-09 10:32 ^cherish~ 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1、https://github.com/ddtramp/voucher-basic.git 这是用react 写的凭证录入组件 2、https://github.com/ddtramp/voucher-redux.git 这用react + redux 写的凭证录入界面 3、https://git 阅读全文
posted @ 2017-04-21 15:20 ^cherish~ 阅读(125) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style type="text/css"> .file-input-wrapper { height: 40px; margin 阅读全文
posted @ 2016-04-28 10:02 ^cherish~ 阅读(814) 评论(0) 推荐(0) 编辑
摘要: 1、通过exports暴露接口。2、通过require引入依赖。 阅读全文
posted @ 2015-01-19 17:44 ^cherish~ 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 当使用a标签时候,要将a标签放到li标签里面。例如: 而不是 阅读全文
posted @ 2014-12-23 15:55 ^cherish~ 阅读(1208) 评论(0) 推荐(0) 编辑
摘要: 1. 页面中不能有 `style` tag, 如果有, 则下面写法的不会调起轮播: AnyThing android don't work ios is ok2. 如果标签中有 `img` tag, 属性不能有百分比, 例如不能有 `width="100%"` 标记 ... 阅读全文
posted @ 2014-12-15 09:31 ^cherish~ 阅读(264) 评论(0) 推荐(0) 编辑
摘要: $scope:一个指向应用model的object$watch:使用$watch监控数据模型的变化 阅读全文
posted @ 2014-12-13 13:25 ^cherish~ 阅读(124) 评论(0) 推荐(0) 编辑
摘要: img中的width属性在ie10以下,会被其他的css样式覆盖掉。img{width:auto\9;} ie 6 7 8 9 10 会设置这个标签的 宽度为 auto,覆盖掉自己写的属性 阅读全文
posted @ 2014-12-05 15:44 ^cherish~ 阅读(676) 评论(0) 推荐(0) 编辑
摘要: CSS里width: auto\9是什么意思?_这是专门针对ie的hack写法“\9″在IE6/IE7/IE8/IE9/IE10下生效“\0”在IE8/IE9/IE10下生效“\9\0”在IE9/IE10下生效 阅读全文
posted @ 2014-12-05 14:59 ^cherish~ 阅读(158) 评论(0) 推荐(0) 编辑