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

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

@ -210,6 +210,7 @@ export default{
}) })
.then((res)=>{ .then((res)=>{
console.log(res) console.log(res)
window._agl && window._agl.push(['track', ['success', {t: 3}]])
if(res.data.code==1){ if(res.data.code==1){
this.dialogVisible = false; this.dialogVisible = false;
alert(res.data.msg); alert(res.data.msg);
@ -258,6 +259,8 @@ export default{
font-size:1.4rem; font-size:1.4rem;
margin-top: 8.7rem; margin-top: 8.7rem;
margin-bottom:1rem; margin-bottom:1rem;
font-size: 2.0rem;
font-weight:bold;
} }
.pageOne{ .pageOne{

@ -196,6 +196,7 @@
} }
}) })
.then((res)=>{ .then((res)=>{
window._agl && window._agl.push(['track', ['success', {t: 3}]])
if(res.data.code==1){ if(res.data.code==1){
this.dialogVisible = false; this.dialogVisible = false;
alert(res.data.msg); alert(res.data.msg);
@ -245,6 +246,8 @@
font-size:1.4rem; font-size:1.4rem;
margin-top: 8.7rem; margin-top: 8.7rem;
margin-bottom:1rem; margin-bottom:1rem;
font-size: 2.0rem;
font-weight:bold;
} }
.pageOne{ .pageOne{

Loading…
Cancel
Save