https://www.smarty.net/docs/zh_CN/language.function.if.tpl 转载于:https://www.cnblogs.com/roseY/p/9382333.html