|
@@ -8,7 +8,7 @@
|
|
|
|
|
|
<input type="hidden" th:value="${coreServer}" id="coreServer">
|
|
|
<input type="hidden" th:value="${agent}" id="userAgent">
|
|
|
- <div id="drawer-footer">
|
|
|
+ <div id="drawer-footer" th:if="${isSelectInfo}">
|
|
|
<div class="hot-recommend" v-if="recommend.list.length > 0">
|
|
|
<div class="hot-recommend-title">
|
|
|
<div>热门推荐</div>
|
|
@@ -45,7 +45,9 @@
|
|
|
<img th:src="${product.image}" style="width: 100%;height: 100%;object-fit: contain;" />
|
|
|
</a>
|
|
|
</div>
|
|
|
- <div th:text="${product.name}"></div>
|
|
|
+ <div>
|
|
|
+ <a th:text="${product.name}" th:href="'/product-'+${product.id}+'.html'" target="_blank"></a>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -59,17 +61,21 @@
|
|
|
<div class="hot-recommend-content">
|
|
|
<div class="hot-recommend-content-item" th:each="file: ${archiveFiles}">
|
|
|
<div>
|
|
|
- <a th:href="${file.ossUrl}" target="_blank">
|
|
|
- <img src="/img/article/PC--pdf.png" style="width: 100%;height: 100%;object-fit: contain;" />
|
|
|
+ <a href="javascript:void(0)" target="_blank" th:onclick="handleFileUrl([[${file.ossUrl}]])">
|
|
|
+ <img src="/img/article/PC--pdf.png" th:if="${#strings.containsIgnoreCase(file.ossUrl, 'pdf')}">
|
|
|
+ <img src="/img/info/PC-doc.png" th:if="${#strings.containsIgnoreCase(file.ossUrl, 'doc')}">
|
|
|
+ <img src="/img/info/PC-ppt.png" th:if="${#strings.containsIgnoreCase(file.ossUrl, 'ppt')}">
|
|
|
</a>
|
|
|
</div>
|
|
|
- <div th:text="${file.fileName}"></div>
|
|
|
+ <div>
|
|
|
+ <a th:text="${file.fileName}" target="_blank" href="javascript:void(0)" th:onclick="handleFileUrl([[${file.ossUrl}]])"></a>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 广告-->
|
|
|
-<div class="advertisement">
|
|
|
+<div class="advertisement" th:if="${#arrays.length(ads)} > 0 and ${isSelectInfo}">
|
|
|
<a class="advertisement-link" th:each="ad : ${ads}" th:href="${ad.link}">
|
|
|
<img th:src="${ad.image}" th:alt="${ad.title}" class="advertisement-img"/>
|
|
|
</a>
|