thinkphp5 if标签模板里判断值是否为空 <if condition="empty($recharge) eq true"> <else /> </if> //注意,如果没有解析这个语法,可能是开始结束标签错了