随笔分类 -  thymeleaf

thymeleaf根据传入的数据判断页面元素是否显示
摘要:th:style="'display:' + @{(*{monitorType=='1'} ? 'block' : 'none')} + ''" thymeleaf根据传入的数据判断页面元素是否显示 阅读全文

posted @ 2020-11-04 14:47 七七2020 阅读(3167) 评论(0) 推荐(0)

thymeleaf JS中获取前台数据
摘要:<script th:inline="javascript"> var params= [[${params}]]; </script> 参考链接:https://blog.csdn.net/fanpeizhong/article/details/80173452 阅读全文

posted @ 2020-03-19 17:22 七七2020 阅读(3086) 评论(0) 推荐(0)

thymeleaf用法记录
摘要:参考链接:https://www.cnblogs.com/topwill/p/7434955.html 1、基本循环 <tr th:each="prod : ${prods}"> <td th:text="${prod.name}">Onions</td> <td th:text="${prod.p 阅读全文

posted @ 2019-09-23 14:45 七七2020 阅读(264) 评论(0) 推荐(0)

导航