[#assign script] [#if user??]你好,${user.username}[退出][#else]游客,你好,你还未登录![/#if] [/#assign] document.write("${script?js_string}");