|
@@ -14,12 +14,11 @@
|
|
|
<form th:if="${not #strings.isEmpty(key)}" class="form-horizontal" role="form">
|
|
|
<div class="row text-center">
|
|
|
<div class="page-header">
|
|
|
- <h3>授权许可<img th:if="${productInfo?.products?.size() gt 0}" draggable="false" title="授权成功" th:src="@{'/img/check-circle.png'}"></h3>
|
|
|
+ <h3>授权许可<img th:if="${productInfo?.products?.size() gt 0}" draggable="false" title="授权成功" width="28px" height="28px" th:src="@{'/img/check-circle.png'}"></h3>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<table class="table table-hover">
|
|
|
- <caption>已授权([[${productInfo?.products?.size()} ?: 0]])</caption>
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th></th>
|
|
@@ -30,10 +29,12 @@
|
|
|
<tbody>
|
|
|
<tr th:id="${p?.name}" th:each="p,state : ${productInfo?.products}">
|
|
|
<td>[[${state.index+1}]]</td>
|
|
|
- <!-- 已过期 -->
|
|
|
- <td th:if="${#dates.createNow()?.time} > ${p?.effectiveTime}">[[${p?.name}]]<img draggable="false" width="30px" height="30px" title="已过期" th:src="@{'/img/warning.png'}"></td>
|
|
|
<!-- 有效期 -->
|
|
|
- <td th:if="${#dates.createNow()?.time} < ${p?.effectiveTime}">[[${p?.name}]]<img draggable="false" width="30px" height="30px" th:src="@{'/img/check.png'}"></td>
|
|
|
+ <td th:if="${#dates.createNow()?.time} < ${p?.effectiveTime} and ${p?.effectiveTime} - 1296000000 > ${#dates.createNow()?.time}">[[${p?.name}]] <img draggable="false" width="20px" height="20px" th:src="@{'/img/check.png'}"></td>
|
|
|
+ <!-- 即将过期 -->
|
|
|
+ <td th:if="${#dates.createNow()?.time} < ${p?.effectiveTime} and ${p?.effectiveTime} - 1296000000 <= ${#dates.createNow()?.time}">[[${p?.name}]] <img draggable="false" width="20px" height="20px" title="即将过期, 请联系售前客服续期" th:src="@{'/img/remind.png'}"></td>
|
|
|
+ <!-- 已过期 -->
|
|
|
+ <td th:if="${#dates.createNow()?.time} > ${p?.effectiveTime}">[[${p?.name}]] <img draggable="false" width="20px" height="20px" title="已过期, 请联系售前客服续期" th:src="@{'/img/warning.png'}"></td>
|
|
|
<td th:text="${#dates.format(p?.effectiveTime, 'yyyy-MM-dd HH:mm:ss')}"/>
|
|
|
</tr>
|
|
|
</tbody>
|