|
@@ -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)
|