1、错误详情是Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "D:\sms\xampp\htdocs\lanyun\templates\default\admin.html" on line 190 "if(g.o.find("#wsgate").attr("src").search("wsgate")>=0){//wsgate页面" - Unexpected "/", expected one of: "identifier" <-- thrown in D:\sms\xampp\htdocs\lanyun\plugins\smarty\sysplugins\smarty_internal_templatecompilerbase.php on line 190
2、确实是语法错误,因为jquery中大括号后面必须加回车或空格,不能直接跟字母。