瀏覽代碼

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

xiebaomin 1 年之前
父節點
當前提交
629eee4e30
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/main/resources/templates/article/components/article-sidebar.html

+ 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">