10 2015 档案

摘要:jQuery中json对象与json字符串互换(2014-03-03 13:35:37)转载▼json字符串转json对象:jQuery.parseJSON(jsonStr);json对象转json字符串:JSON.stringify(jsonObj);IE中可能对unicode使用“\uXXXX”... 阅读全文
posted @ 2015-10-28 11:00 JIN__JIN 阅读(360) 评论(0) 推荐(0)
摘要:/** * 将数值四舍五入(保留2位小数)后格式化成金额形式 * * @param num 数值(Number或者String) * @return 金额格式的字符串,如'1,234,567.45' * @type String */function formatCurrency(num) { ... 阅读全文
posted @ 2015-10-27 11:22 JIN__JIN 阅读(632) 评论(0) 推荐(0)
摘要:/** *获取访问用户的客户端IP(适用于公网与局域网). */ publicfinalStringgetIpAddr(finalHttpServletRequestrequest) throwsException{ if(request==null){ throw(newException("ge... 阅读全文
posted @ 2015-10-23 11:13 JIN__JIN 阅读(474) 评论(0) 推荐(0)
摘要:https://github.com/Meituan-Dianping/mpvue mpvue Vue.js 小程序版, fork 自 vuejs/vue@2.4.1,保留了 vue runtime 能力,添加了小程序平台的支持。 http://www.runoob.com/(菜鸟教程) http: 阅读全文
posted @ 2015-10-09 10:21 JIN__JIN 阅读(156) 评论(0) 推荐(0)