thymeleaf <li class="padding" th:text="#{watchhouse.userName}">:<span></span></li> js 操作span显示内容,显示不出,因为li里面的 th:text会覆盖掉整个span标签,可用相对定位或在其外添加新标签