Ver Fonte

统计收集

zhengjinyi há 2 anos atrás
pai
commit
4198062b0b
1 ficheiros alterados com 5 adições e 5 exclusões
  1. 5 5
      src/main/resources/static/js/mixins/cmsMixins.js

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

@@ -8,25 +8,25 @@ var cmsMixins = function () {
             window.handleHotStatistics = this.handleHotStatistics;
         },
         methods: {
-            handleBannerStatistics:function($event){// banner点击统计
+            handleBannerStatistics:function($event){// 首页轮播
                 const $eventHref  = $event[0].attributes[2].value;
                 console.log('首页轮播',$eventHref)
                 this.cmsSysStatistics(1)
                 window.open($eventHref)
             },
-            handleRightStatistics:function($event,type){// banner点击统计
+            handleRightStatistics:function($event,type){// 右侧模块
                 const $eventHref  = $event[0].attributes[3].value;
                 console.log('右侧模块',$eventHref)
                 this.cmsSysStatistics(type)
                 window.open($eventHref)
             },
-            handleHotStatistics:function($event,type){// banner点击统计
-                const $eventHref  = $event[0].attributes[2].value;
+            handleHotStatistics:function($event,type){// 新品橱窗
+                const $eventHref  = $event[0].attributes[1].value;
                 console.log('新品橱窗',$eventHref)
                 this.cmsSysStatistics(5)
                 window.open($eventHref)
             },
-            handleActivityStatistics:function($eventHref){// banner点击统计
+            handleActivityStatistics:function($eventHref){// 活动列表
                 this.cmsSysStatistics(6)
                 console.log('活动列表',$eventHref)
                 window.open($eventHref)