Browse Source

fixed:信息平台美业资料显示

xiebaomin 1 year ago
parent
commit
629eee4e30

+ 3 - 3
src/main/resources/templates/article/components/article-sidebar.html

@@ -60,9 +60,9 @@
             <div class="row" th:each="file: ${archiveFiles}">
                 <div class="new-img xiao">
                     <a href="javascript:void(0);" th:onclick="handleFileUrl([[${file.productId}]])" target="_blank">
-                        <img src="/img/article/PC--pdf.png" th:if="${#strings.containsIgnoreCase(file.fileName, 'pdf')}">
-                        <img src="/img/info/PC-doc.png" th:if="${#strings.containsIgnoreCase(file.fileName, 'doc')}">
-                        <img src="/img/info/PC-ppt.png" th:if="${#strings.containsIgnoreCase(file.fileName, 'ppt')}">
+                        <img src="/img/article/PC--pdf.png" th:if="${#strings.containsIgnoreCase(file.fileName, '.pdf')}">
+                        <img src="/img/info/PC-doc.png" th:if="${#strings.containsIgnoreCase(file.fileName, '.doc')}">
+                        <img src="/img/info/PC-ppt.png" th:if="${#strings.containsIgnoreCase(file.fileName, '.ppt')}">
                     </a>
                 </div>
                 <div class="new-blurb xiao">