|
@@ -141,8 +141,9 @@
|
|
|
<div class="active">
|
|
|
<ul class="notice_tzgg">
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('通知公告')}" th:if="${proStat.index} le 8" >
|
|
|
- <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+<!-- <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">-->
|
|
|
+ <a th:href="@{${'/article/details/'+item.id}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|
|
@@ -152,8 +153,8 @@
|
|
|
<div>
|
|
|
<ul>
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('领导批示')}" th:if="${proStat.index} le 7">
|
|
|
- <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+ <a th:href="@{${'/article/details/'+item.id}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|
|
@@ -162,8 +163,8 @@
|
|
|
<div>
|
|
|
<ul>
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('文件发布')}" th:if="${proStat.index} le 7">
|
|
|
- <a th:href="@{${isProvince?'/article/details/'+item.id:''}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+ <a th:href="@{${isProvince?'/article/details/'+item.id:''}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|
|
@@ -195,8 +196,8 @@
|
|
|
<div class="active">
|
|
|
<ul class="notice_mrjq">
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('每日警情')}" th:if="${proStat.index} le 7">
|
|
|
- <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+ <a th:href="@{${'/article/details/'+item.id}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|
|
@@ -206,8 +207,8 @@
|
|
|
<ul>
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('公安信息')}" th:if="${proStat.index} le 7" >
|
|
|
<!-- <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">-->
|
|
|
- <a th:href="@{${isProvince?'/article/details/'+item.id:''}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+ <a th:href="@{${isProvince?'/article/details/'+item.id:''}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|
|
@@ -217,8 +218,8 @@
|
|
|
<div>
|
|
|
<ul>
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('部门动态')}" th:if="${proStat.index} le 7" >
|
|
|
- <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+ <a th:href="@{${'/article/details/'+item.id}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|
|
@@ -251,8 +252,8 @@
|
|
|
<div class="active">
|
|
|
<ul>
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('党建队建')}" th:if="${proStat.index} le 7">
|
|
|
- <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+ <a th:href="@{${'/article/details/'+item.id}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|
|
@@ -261,8 +262,8 @@
|
|
|
<div>
|
|
|
<ul>
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('督考工作')}" th:if="${proStat.index} le 7">
|
|
|
- <a th:href="@{${isProvince?'/article/details/'+item.id:''}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+ <a th:href="@{${isProvince?'/article/details/'+item.id:''}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|
|
@@ -271,8 +272,8 @@
|
|
|
<div>
|
|
|
<ul>
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('一线警事')}" th:if="${proStat.index} le 7">
|
|
|
- <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+ <a th:href="@{${'/article/details/'+item.id}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|
|
@@ -304,8 +305,8 @@
|
|
|
<div class="active">
|
|
|
<ul>
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('学习园地')}" th:if="${proStat.index} le 7">
|
|
|
- <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+ <a th:href="@{${'/article/details/'+item.id}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|
|
@@ -314,8 +315,8 @@
|
|
|
<div>
|
|
|
<ul>
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('媒体聚焦')}" th:if="${proStat.index} le 7">
|
|
|
- <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+ <a th:href="@{${'/article/details/'+item.id}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|
|
@@ -324,8 +325,8 @@
|
|
|
<div>
|
|
|
<ul>
|
|
|
<li th:each="item,proStat:${@module.getArticleAll('法律法规')}" th:if="${proStat.index} le 7">
|
|
|
- <a th:href="@{${'/article/details/'+item.id}}" th:title="${item.title}" target="_blank">
|
|
|
- <span th:text="${item.title}"></span>
|
|
|
+ <a th:href="@{${'/article/details/'+item.id}}" th:title="${#strings.replace(item.title, '</br>', '')}" target="_blank">
|
|
|
+ <span th:text="${#strings.replace(item.title, '</br>', '')}"></span>
|
|
|
<span th:text="${#dates.format(item.createTime, 'MM-dd')}"></span>
|
|
|
</a>
|
|
|
</li>
|