liudan 8 months ago
parent e7107ce8ae
commit 6a9c662c90
  1. 17
      public/index.html
  2. 42
      src/App.vue
  3. 3
      src/components/pageOne.vue
  4. 3
      src/components/pageTwo.vue

@ -8,6 +8,22 @@
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>商标注册查询备案系统</title>
<script type="text/javascript">
window._agl = window._agl || [];
(function () {
_agl.push(
['production', '_f7L2XwGXjyszb4d1e2oxPybgD']
);
(function () {
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);
})();
})();
</script>
<script>
var _hmt = _hmt || [];
(function() {
@ -17,6 +33,7 @@
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<noscript>

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

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

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

Loading…
Cancel
Save