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