技术 · 2016-09-19 15:18 · 522 阅读 smarty提示script错误 PHP smarty 把script套在{literal}{/literal}之间试试看,例如: {literal} <script type="text/javascript"> .... </script> {/literal} 上一篇 smarty格式化时间输出 下一篇 水仙花数