提交修改

new-v20240713
dshclm 8 months ago
parent 0dcaa5cb47
commit 887b131027

@ -150,7 +150,7 @@
</span> </span>
</div> </div>
<div class="layui-card-body" style="min-height: 400px;overflow: hidden;"> <div class="layui-card-body" style="min-height: 400px;overflow: hidden;">
<div th:if="${!workList.isEmpty()}" style="width:100%;height: 165px;display: flex;justify-content: space-between;"> <div th:if="${workList.size() > 0}" style="width:100%;height: 165px;display: flex;justify-content: space-between;">
<div style="height: 100%;width: 47%;filter: brightness(1.1);"> <div style="height: 100%;width: 47%;filter: brightness(1.1);">
<a th:href="@{/public_view.html(type=2,id=${workList[0].workId})}" th:title="${workList[0].workTitle}" target="_blank"> <a th:href="@{/public_view.html(type=2,id=${workList[0].workId})}" th:title="${workList[0].workTitle}" target="_blank">
<img style="height: 95%;width: 90%" th:src="${workList[0].imgUrl}" th:alt="${workList[0].workTitle}" th:title="${workList[0].workTitle}"> <img style="height: 95%;width: 90%" th:src="${workList[0].imgUrl}" th:alt="${workList[0].workTitle}" th:title="${workList[0].workTitle}">
@ -169,7 +169,7 @@
<span class="time">[[${work.createBy}]]</span> <span class="time">[[${work.createBy}]]</span>
</li> </li>
</ul> </ul>
<span style="position: absolute;top: 45%;left: 20%;" th:if="${workList.isEmpty()}"> <span style="position: absolute;top: 45%;left: 20%;" th:if="${workList.size() == 0}">
<img src="/home/base/nodata.png"/> <img src="/home/base/nodata.png"/>
</span> </span>
</div> </div>
@ -242,7 +242,7 @@
</div> </div>
<div class="layui-card-body" style="min-height: 400px;overflow: hidden;"> <div class="layui-card-body" style="min-height: 400px;overflow: hidden;">
<ul class="newslist-to"> <ul class="newslist-to">
<li style="list-style: none" th:each="business,status : ${businessList}" th:if="${!status.first}" th:class="${status.count == 1 ? 'firstLi' : (status.count == 2 ? 'secondLi' : (status.count == 3 ? 'thirdLi' : ''))}"> <li style="list-style: none" th:each="business,status : ${businessList}" th:if="${businessList.size() > 0}" th:class="${status.count == 1 ? 'firstLi' : (status.count == 2 ? 'secondLi' : (status.count == 3 ? 'thirdLi' : ''))}">
<span <span
th:class="${status.count == 1 ? 'first' : (status.count == 2 ? 'second' : (status.count == 3 ? 'third' : ''))}" th:class="${status.count == 1 ? 'first' : (status.count == 2 ? 'second' : (status.count == 3 ? 'third' : ''))}"
style=" style="
@ -261,7 +261,7 @@
<span class="time">[[${business.createBy}]]</span> <span class="time">[[${business.createBy}]]</span>
</li> </li>
</ul> </ul>
<span style="position: absolute;top: 45%;left: 30%;" th:if="${workList.isEmpty()}"> <span style="position: absolute;top: 45%;left: 30%;" th:if="${businessList.size() == 0}">
<img src="/home/base/nodata.png"/> <img src="/home/base/nodata.png"/>
</span> </span>
</div> </div>

Loading…
Cancel
Save