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