|
@@ -10,13 +10,24 @@
|
|
|
<div class="cm-modal"></div>
|
|
|
<!--导航栏-->
|
|
|
<template th:replace="article/components/article-header"></template>
|
|
|
+<!--<div class="tip-bar">-->
|
|
|
+<!-- <!– <div class="tip">提示:产品详情请到采美商城搜索</div> –>-->
|
|
|
+<!-- <!– 面包屑–>-->
|
|
|
+<!-- <div th:if="${typeId}>0" class="bar">-->
|
|
|
+<!-- <a href="/" target="_blank">首页</a>> <a th:each="type: ${articleType}" th:if="${typeId}==${type.id}" th:text="${type.name}" href="javascript:void(0);" class="title newTitle"></a>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!--</div>-->
|
|
|
<div class="info-banner PcBanner" th:if="${isSearch}">
|
|
|
- <div class="banner" th:each="type: ${articleImages}" th:if="${type.levelType} == 1" th:onclick="|trumpLink(${type.jumpLink})|">
|
|
|
- <img th:src="${type.headPcBanner}" style="width: 100%;height: 100%;" />
|
|
|
+ <div class="banner" th:each="type: ${articleImages}" th:if="${type.levelType} == 1" >
|
|
|
+ <a th:href="${type.jumpLink}">
|
|
|
+ <img th:src="${type.headPcBanner}" style="width: 100%;height: 100%;" />
|
|
|
+ </a>
|
|
|
</div>
|
|
|
<div class="sider-banner">
|
|
|
- <div th:each="type: ${articleImages}" th:if="${type.levelType} == 2" th:onclick="|trumpLink(${type.jumpLink})|">
|
|
|
- <img th:src="${type.headPcBanner}" style="width: 100%;height: 100%;" />
|
|
|
+ <div th:each="type: ${articleImages}" th:if="${type.levelType} == 2">
|
|
|
+ <a th:href="${type.jumpLink}">
|
|
|
+ <img th:src="${type.headPcBanner}" style="width: 100%;height: 100%;" />
|
|
|
+ </a>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="info-Notice" id="infoNotice" v-cloak>
|
|
@@ -36,22 +47,19 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="info-banner AppBanner" th:if="${isSearch}">
|
|
|
- <div class="banner" th:each="type: ${articleImages}" th:if="${type.levelType} == 1" th:onclick="|trumpLink(${type.jumpLink})|">
|
|
|
- <img th:src="${type.headAppBanner}" style="width: 100%;height: 100%;" />
|
|
|
+ <div class="banner" th:each="type: ${articleImages}" th:if="${type.levelType} == 1" >
|
|
|
+ <a th:href="${type.jumpLink}">
|
|
|
+ <img th:src="${type.headAppBanner}" style="width: 100%;height: 100%;" />
|
|
|
+ </a>
|
|
|
</div>
|
|
|
<div class="sider-banner">
|
|
|
- <div th:each="type: ${articleImages}" th:if="${type.levelType} == 2" th:onclick="|trumpLink(${type.jumpLink})|">
|
|
|
- <img th:src="${type.headAppBanner}" style="width: 100%;height: 100%;" />
|
|
|
+ <div th:each="type: ${articleImages}" th:if="${type.levelType} == 2" >
|
|
|
+ <a th:href="${type.jumpLink}">
|
|
|
+ <img th:src="${type.headAppBanner}" style="width: 100%;height: 100%;" />
|
|
|
+ </a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-<div class="tip-bar">
|
|
|
- <!--<div class="tip">提示:产品详情请到采美商城搜索</div> -->
|
|
|
- <!--面包屑-->
|
|
|
- <div th:if="${typeId}>0" class="bar">
|
|
|
- <a href="/" target="_blank">首页</a>> <a th:each="type: ${articleType}" th:if="${typeId}==${type.id}" th:text="${type.name}" href="javascript:void(0);" class="title newTitle"></a>
|
|
|
- </div>
|
|
|
-</div>
|
|
|
<!--主体内容-->
|
|
|
<div class="content clearfix" id="ArticleContent">
|
|
|
<!--侧边栏Ross广告图-->
|
|
@@ -213,15 +221,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
-<script type="text/javascript">
|
|
|
-const trumpLink = (jumpLink) => {
|
|
|
- console.log(jumpLink)
|
|
|
- if (jumpLink) {
|
|
|
- window.location.href = jumpLink
|
|
|
- }
|
|
|
-}
|
|
|
-</script>
|
|
|
-
|
|
|
<template th:replace="article/components/article-drawer"></template>
|
|
|
<template th:replace="article/components/article-footer"></template>
|
|
|
<template th:replace="components/foot-link"></template>
|