-
+
@@ -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
}
}
}
diff --git a/src/components/pageOne.vue b/src/components/pageOne.vue
index 19239b8..2e761f5 100644
--- a/src/components/pageOne.vue
+++ b/src/components/pageOne.vue
@@ -210,6 +210,7 @@ export default{
})
.then((res)=>{
console.log(res)
+ window._agl && window._agl.push(['track', ['success', {t: 3}]])
if(res.data.code==1){
this.dialogVisible = false;
alert(res.data.msg);
@@ -258,6 +259,8 @@ export default{
font-size:1.4rem;
margin-top: 8.7rem;
margin-bottom:1rem;
+ font-size: 2.0rem;
+ font-weight:bold;
}
.pageOne{
diff --git a/src/components/pageTwo.vue b/src/components/pageTwo.vue
index 16f0a23..f4eca3d 100644
--- a/src/components/pageTwo.vue
+++ b/src/components/pageTwo.vue
@@ -196,6 +196,7 @@
}
})
.then((res)=>{
+ window._agl && window._agl.push(['track', ['success', {t: 3}]])
if(res.data.code==1){
this.dialogVisible = false;
alert(res.data.msg);
@@ -245,6 +246,8 @@
font-size:1.4rem;
margin-top: 8.7rem;
margin-bottom:1rem;
+ font-size: 2.0rem;
+ font-weight:bold;
}
.pageOne{