|
@@ -23,7 +23,7 @@
|
|
<div id="swiper-container" class="swiper-container">
|
|
<div id="swiper-container" class="swiper-container">
|
|
<ul class="swiper-wrapper swiper-wrapper-banner">
|
|
<ul class="swiper-wrapper swiper-wrapper-banner">
|
|
<li class="swiper-slide mfc" th:each="img: ${bannerList}">
|
|
<li class="swiper-slide mfc" th:each="img: ${bannerList}">
|
|
- <a th:href="${img.link}"><img th:src="${img.image}" th:alt="${img.title}"></a>
|
|
|
|
|
|
+ <a href="javascript:void(0)" th:attr="data-href=${img.link}" onclick="handleBannerStatistics($(this))"><img th:src="${img.image}" th:alt="${img.title}"></a>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
<div class="swiper-pagination swiper-pagination-banner mfc"><span v-if="isPC" th:each="img: ${bannerList}"></span></div>
|
|
<div class="swiper-pagination swiper-pagination-banner mfc"><span v-if="isPC" th:each="img: ${bannerList}"></span></div>
|
|
@@ -62,7 +62,7 @@
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="right_item_main" th:each="live,stat : ${sideJson.get('liveList')}" th:object="${live}">
|
|
<div class="right_item_main" th:each="live,stat : ${sideJson.get('liveList')}" th:object="${live}">
|
|
- <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{liveTitle}" class="item_banner" target="_blank" rel="nofollow" onclick="_czc.push(['_trackEvent','商城首页','精彩直播','点击','','Um_Event_HomeLiveTemplateClick'])">
|
|
|
|
|
|
+ <a th:if="${stat.index}==0" th:attr="data-href=*{link}" href="javascript:void(0)" onclick="handleRightStatistics($(this),2)" th:title="*{liveTitle}" class="item_banner">
|
|
<img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{liveTitle}">
|
|
<img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{liveTitle}">
|
|
<div class="name" th:text="*{liveTitle}"></div>
|
|
<div class="name" th:text="*{liveTitle}"></div>
|
|
<div class="statu">
|
|
<div class="statu">
|
|
@@ -71,7 +71,7 @@
|
|
<template th:if="*{liveStatus}==3"><i class="mIcon icon-end"></i><p>看回放</p></template>
|
|
<template th:if="*{liveStatus}==3"><i class="mIcon icon-end"></i><p>看回放</p></template>
|
|
</div>
|
|
</div>
|
|
</a>
|
|
</a>
|
|
- <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{liveTitle}" class="item_text" target="_blank" rel="nofollow" onclick="_czc.push(['_trackEvent','商城首页','精彩直播','点击','','Um_Event_HomeLiveTemplateClick'])">
|
|
|
|
|
|
+ <a th:if="${stat.index}>0" th:attr="data-href=*{link}" href="javascript:void(0)" onclick="handleRightStatistics($(this),2)" th:title="*{liveTitle}" class="item_text">
|
|
<p class="item_text_name" th:text="*{liveTitle}"></p>
|
|
<p class="item_text_name" th:text="*{liveTitle}"></p>
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
@@ -84,11 +84,11 @@
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="right_item_main" th:each="image,stat : ${sideJson.get('cmImageList')}" th:object="${image}">
|
|
<div class="right_item_main" th:each="image,stat : ${sideJson.get('cmImageList')}" th:object="${image}">
|
|
- <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{title}" class="item_banner" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','最新活动','点击','','Um_Event_HomeActivityTemplateClick'])">
|
|
|
|
|
|
+ <a th:if="${stat.index}==0" th:attr="data-href=*{link}" onclick="handleRightStatistics($(this),3)" href="javascript:void(0)" th:title="*{title}" class="item_banner">
|
|
<img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
|
|
<img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
|
|
<div class="name" th:text="*{title}"></div>
|
|
<div class="name" th:text="*{title}"></div>
|
|
</a>
|
|
</a>
|
|
- <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{title}" class="item_text" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','最新活动','点击','','Um_Event_HomeActivityTemplateClick'])">
|
|
|
|
|
|
+ <a th:if="${stat.index}>0" th:attr="data-href=*{link}" onclick="handleRightStatistics($(this),3)" href="javascript:void(0)" th:title="*{title}" class="item_text">
|
|
<p class="item_text_name" th:text="*{title}"></p>
|
|
<p class="item_text_name" th:text="*{title}"></p>
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
@@ -101,11 +101,11 @@
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="right_item_main" th:each="info,stat : ${sideJson.get('infoList')}" th:object="${info}">
|
|
<div class="right_item_main" th:each="info,stat : ${sideJson.get('infoList')}" th:object="${info}">
|
|
- <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{title}" class="item_banner" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门文章','点击','','Um_Event_HomeArticleTemplateClick'])">
|
|
|
|
|
|
+ <a th:if="${stat.index}==0" th:attr="data-href=*{link}" onclick="handleRightStatistics($(this),4)" href="javascript:void(0)" th:title="*{title}" class="item_banner">
|
|
<img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
|
|
<img src="/img/base/placeholder.png" th:attr="data-original=*{homePageImage}" th:alt="*{title}">
|
|
<div class="name" th:text="*{title}"></div>
|
|
<div class="name" th:text="*{title}"></div>
|
|
</a>
|
|
</a>
|
|
- <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{title}" class="item_text" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门文章','点击','','Um_Event_HomeArticleTemplateClick'])">
|
|
|
|
|
|
+ <a th:if="${stat.index}>0" th:attr="data-href=*{link}" onclick="handleRightStatistics($(this),4)" href="javascript:void(0)" th:title="*{title}" class="item_text">
|
|
<p class="item_text_name info" th:text="*{title}"></p>
|
|
<p class="item_text_name info" th:text="*{title}"></p>
|
|
<p class="item_text_time" v-if="isPC" th:text="*{createDate}"></p>
|
|
<p class="item_text_time" v-if="isPC" th:text="*{createDate}"></p>
|
|
</a>
|
|
</a>
|
|
@@ -119,11 +119,11 @@
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="right_item_main" th:each="info,stat : ${sideJson.get('baikeList')}" th:object="${info}">
|
|
<div class="right_item_main" th:each="info,stat : ${sideJson.get('baikeList')}" th:object="${info}">
|
|
- <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{name}" class="item_banner" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门百科','点击','','Um_Event_HomeBaikeTemplateClick'])">
|
|
|
|
|
|
+ <a th:if="${stat.index}==0" th:href="*{link}" th:title="*{name}" class="item_banner">
|
|
<img src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
|
|
<img src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
|
|
<div class="name" th:text="*{name}"></div>
|
|
<div class="name" th:text="*{name}"></div>
|
|
</a>
|
|
</a>
|
|
- <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{name}" class="item_text" target="_blank" onclick="_czc.push(['_trackEvent','商城首页','热门百科','点击','','Um_Event_HomeBaikeTemplateClick'])">
|
|
|
|
|
|
+ <a th:if="${stat.index}>0" th:href="*{link}" th:title="*{name}" class="item_text">
|
|
<p class="item_text_name info" th:text="*{name}"></p>
|
|
<p class="item_text_name info" th:text="*{name}"></p>
|
|
<!-- <p class="item_text_time" v-if="isPC" th:text="*{createDate}"></p> -->
|
|
<!-- <p class="item_text_time" v-if="isPC" th:text="*{createDate}"></p> -->
|
|
</a>
|
|
</a>
|
|
@@ -143,7 +143,7 @@
|
|
<div class="swiper-container-floor hotList mySwiper" id="recommendBox">
|
|
<div class="swiper-container-floor hotList mySwiper" id="recommendBox">
|
|
<div class="swiper-wrapper section_page_main type_08 recommendBox-wrapperHot clear mfw section_8 max">
|
|
<div class="swiper-wrapper section_page_main type_08 recommendBox-wrapperHot clear mfw section_8 max">
|
|
<!-- 商品/图片 列表 -->
|
|
<!-- 商品/图片 列表 -->
|
|
- <a :href="'/product-'+pros.product.productId+'.html'" class="swiper-slide page_main_item hot ad_04" target="_blank" v-for="pros in floor.floorImageList4">
|
|
|
|
|
|
+ <a href="javascript:void(0)" :data-href="pros.link" onclick="handleHotStatistics($(this))" class="swiper-slide page_main_item hot ad_04" v-for="pros in floor.floorImageList4">
|
|
<img class="page_main_image" src="/img/base/placeholder.png" :data-original="pros.product.image" :alt="pros.product && pros.product.name">
|
|
<img class="page_main_image" src="/img/base/placeholder.png" :data-original="pros.product.image" :alt="pros.product && pros.product.name">
|
|
<div class="page_main_type" v-if="pros.product && pros.product.productType === 2">医疗器械</div>
|
|
<div class="page_main_type" v-if="pros.product && pros.product.productType === 2">医疗器械</div>
|
|
<div class="page_main_text">
|
|
<div class="page_main_text">
|
|
@@ -391,7 +391,7 @@
|
|
<div class="section_page_main type_08 swiper-wrapper recommendBox-wrapperHot clear mfw section_8">
|
|
<div class="section_page_main type_08 swiper-wrapper recommendBox-wrapperHot clear mfw section_8">
|
|
<!-- 商品/图片 列表 -->
|
|
<!-- 商品/图片 列表 -->
|
|
<th:block th:each="pros : ${floor.get('floorImageList4')}" th:object="${pros}">
|
|
<th:block th:each="pros : ${floor.get('floorImageList4')}" th:object="${pros}">
|
|
- <a th:href="*{link}" class="swiper-slide page_main_item hot ad_04" target="_blank">
|
|
|
|
|
|
+ <a href="javascript:void(0)" th:attr="data-href=*{link}" onclick="handleHotStatistics($(this))" class="swiper-slide page_main_item hot ad_04">
|
|
<th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
|
|
<th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
|
|
<img class="page_main_image" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
|
|
<img class="page_main_image" src="/img/base/placeholder.png" th:attr="data-original=*{image}" th:alt="*{name}">
|
|
</th:block>
|
|
</th:block>
|
|
@@ -580,6 +580,8 @@
|
|
<!-- 引入底部 -->
|
|
<!-- 引入底部 -->
|
|
<template th:replace="components/footer"></template>
|
|
<template th:replace="components/footer"></template>
|
|
<template th:replace="components/foot-link"></template>
|
|
<template th:replace="components/foot-link"></template>
|
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/product.service.js(v=${version})}"></script>
|
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/mixins/cmsMixins.js(v=${version})}"></script>
|
|
<script charset="utf-8" type="text/javascript" th:src="@{/js/index.js(v=${version})}"></script>
|
|
<script charset="utf-8" type="text/javascript" th:src="@{/js/index.js(v=${version})}"></script>
|
|
</body>
|
|
</body>
|
|
</html>
|
|
</html>
|