瀏覽代碼

统计收集

zhengjinyi 2 年之前
父節點
當前提交
4198062b0b
共有 1 個文件被更改,包括 5 次插入5 次删除
  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)