CMS优化全文检索模块提示

This commit is contained in:
thinkgem
2023-04-11 11:29:22 +08:00
parent 5a11da74ca
commit 03a519fd23
7 changed files with 25 additions and 38 deletions

View File

@@ -95,7 +95,15 @@ $(function(){
</#html:forEach>
</#html:if>
<#html:if test="${page! == null || page.list.~size == 0}">
<dt><#html:if test="${isBlank(q)}">请键入要查找的关键字。</#html:if><#html:if test="${isNotBlank(q)}">抱歉,没有找到与“${q}”相关内容。</#html:if><br/><br/>建议:</dt>
<dt>
<% if (isNotBlank(page.otherData.message!)){ %>
${page.otherData.message!}
<% } else if (isBlank(q)){ %>
请键入要查找的关键字。
<% } else if (isNotBlank(q)){ %>
抱歉,没有找到与 “${q}” 相关内容。
<% } %>
<br/><br/>建议:</dt>
<dd><ul><li>检查输入是否正确;</li><li>简化输入词;</li><li>尝试其他相关词,如同义、近义词等。</li></ul></dd>
</#html:if>
</dl>