|
|
@ -43,7 +43,7 @@ |
|
|
|
<div class="content"> |
|
|
|
<div class="content"> |
|
|
|
<el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :xs="1" :sm="1" :md="1" :lg="1" :xl="1"></el-col> |
|
|
|
<el-col :xs="1" :sm="1" :md="1" :lg="1" :xl="1"></el-col> |
|
|
|
<el-col :xs="22" :sm="22" :md="22" :lg="22" :xl="22"><pageOne v-if="activeIndex==0"/><pageTwo v-if="activeIndex!=0"/></el-col> |
|
|
|
<el-col :xs="22" :sm="22" :md="22" :lg="22" :xl="22"><pageOne v-if="activeIndex==0"/><pageTwo v-if="activeIndex==1"/></el-col> |
|
|
|
<el-col :xs="1" :sm="1" :md="1" :lg="1" :xl="1"></el-col> |
|
|
|
<el-col :xs="1" :sm="1" :md="1" :lg="1" :xl="1"></el-col> |
|
|
|
|
|
|
|
|
|
|
|
</el-row> |
|
|
|
</el-row> |
|
|
@ -90,6 +90,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
methods:{ |
|
|
|
setIndex(index){ |
|
|
|
setIndex(index){ |
|
|
|
|
|
|
|
console.log(index) |
|
|
|
this.activeIndex = index; |
|
|
|
this.activeIndex = index; |
|
|
|
if(index==0){ |
|
|
|
if(index==0){ |
|
|
|
window.location.href='https://bdjhy.jzynkj.com/zhu' |
|
|
|
window.location.href='https://bdjhy.jzynkj.com/zhu' |
|
|
@ -98,33 +99,34 @@ export default { |
|
|
|
window.location.href='https://bdjhy.jzynkj.com/cha' |
|
|
|
window.location.href='https://bdjhy.jzynkj.com/cha' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
initInnerHandle(){ |
|
|
|
// initInnerHandle(){ |
|
|
|
var agl = document.createElement('script'); |
|
|
|
// var agl = document.createElement('script'); |
|
|
|
agl.type = 'text/javascript'; |
|
|
|
// agl.type = 'text/javascript'; |
|
|
|
agl.async = true; |
|
|
|
// agl.async = true; |
|
|
|
agl.src = 'https://fxgate.baidu.com/angelia/fcagl.js?production=_f7L2XwGXjyszb4d1e2oxPybgD'; |
|
|
|
// agl.src = 'https://fxgate.baidu.com/angelia/fcagl.js?production=_f7L2XwGXjyszb4d1e2oxPybgD'; |
|
|
|
var s = document.getElementsByTagName('script')[0]; |
|
|
|
// var s = document.getElementsByTagName('script')[0]; |
|
|
|
s.parentNode.insertBefore(agl, s); |
|
|
|
// s.parentNode.insertBefore(agl, s); |
|
|
|
window._agl && window._agl.push(['track', ['success', {t: 3}]]) |
|
|
|
// window._agl && window._agl.push(['track', ['success', {t: 3}]]) |
|
|
|
}, |
|
|
|
// }, |
|
|
|
initHandle(){ |
|
|
|
// initHandle(){ |
|
|
|
|
|
|
|
|
|
|
|
window._agl = window._agl || []; |
|
|
|
// window._agl = window._agl || []; |
|
|
|
_agl.push( |
|
|
|
// _agl.push( |
|
|
|
['production', '_f7L2XwGXjyszb4d1e2oxPybgD'] |
|
|
|
// ['production', '_f7L2XwGXjyszb4d1e2oxPybgD'] |
|
|
|
); |
|
|
|
// ); |
|
|
|
this.initInnerHandle() |
|
|
|
// this.initInnerHandle() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
// } |
|
|
|
}, |
|
|
|
}, |
|
|
|
created(){ |
|
|
|
created(){ |
|
|
|
this.initHandle(); |
|
|
|
// this.initHandle(); |
|
|
|
|
|
|
|
console.log(window.location.href) |
|
|
|
if(window.location.href.indexOf('/cha')!=-1){ |
|
|
|
if(window.location.href.indexOf('/cha')!=-1){ |
|
|
|
this.activeIndex==1 |
|
|
|
this.activeIndex=1 |
|
|
|
} |
|
|
|
} |
|
|
|
if(window.location.href.indexOf('/zhu')!=-1){ |
|
|
|
if(window.location.href.indexOf('/zhu')!=-1){ |
|
|
|
this.activeIndex==0 |
|
|
|
this.activeIndex=0 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|