- 浏览: 4591 次
最新评论
文章列表
1 样式
.overlay.dark { z-index: -1; background: rgba(0,0,0,.7); opacity: 0; }
.overlay.show { display: block; animation: showDialog 1s forwards; -webkit-animation: showDialog 1s forwards; }
.overlay.hide { display: block; animation: hideDialog 1s forwards; -webkit-animation: hideDialog 1s forwards ...
刚刚测试说我数字显示的格式不对,例如45000.00要显示成这样:45,000.00也就是千分制显示。
这个js方法很好用,特此记录。
function comdify(n)
{
var re=/\d{1,3}(?=(\d{3})+$)/g;
var n1=n.replace(/^(\d+)((\.\d+)?)$/,function(s,s1,s2){return s1.replace(re,"$&,")+s2;});
return n1;
}
//推送图文消息
String title="";
ArrayList<TextAndPicContentVo> articles=new ArrayList();
NewsVo news=new NewsVo();
StringReader read = new StringReader(xml);
InputSource source = new InputSource(read);
SAXBuilder sb = new SAXBuilder();
Document doc = sb.bu ...