价钱格式化:{$p.sale|number_format=###, 2, '.', ''} 两位有效数字
时间格式化:{$p.time|date='Y-m-d H:i:s',###}
thinkphp中在页面怎么格式输出小数和时间
猜你喜欢
转载自www.cnblogs.com/apolloren/p/12124600.html
今日推荐
周排行