ThinkPHP5-前端调用函数方式

处理时间戳函数

{$vo.last_login_time|date='Y-m-d H:i:s',###}

链接加参数

<a href="{:url('admin/merchant_member/delete',['id'=>$vo['id']])}">删除</a>

截取字符串函数

{$vo.create_time|mb_substr=5,5,'utf-8'}  //截取格式时间2017-12-12 12:12:12中的月份和日期12-12

猜你喜欢

转载自blog.csdn.net/wake_me_up123/article/details/79031749