Browse Source

统计收集

zhengjinyi 2 years ago
parent
commit
00aa44acc6

+ 1 - 1
src/main/resources/static/js/mixins/cmsMixins.js

@@ -20,7 +20,7 @@ var cmsMixins = function () {
                 this.cmsSysStatistics(type)
                 window.open($eventHref)
             },
-            handleHotStatistics:function($event,type){// 新品橱窗
+            handleHotStatistics:function($event){// 新品橱窗
                 const $eventHref  = $event[0].attributes[2].value;
                 console.log('新品橱窗',$eventHref)
                 this.cmsSysStatistics(5)

+ 1 - 1
src/main/resources/templates/index.html

@@ -143,7 +143,7 @@
                         <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">
                                 <!-- 商品/图片 列表 -->
-                                <a href="javascript:void(0)" onclick="handleHotStatistics($(this))" :data-href="pros.link"  class="swiper-slide page_main_item hot ad_04" v-for="pros in floor.floorImageList4">
+                                <a href="javascript:void(0)" onclick="handleHotStatistics($(this))" :data-href="pros.link" 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">
                                     <div class="page_main_type" v-if="pros.product && pros.product.productType === 2">医疗器械</div>
                                     <div class="page_main_text">