Commit 2a69e611 by 蒋勇

d

parent 3e5e31ac
...@@ -114,6 +114,10 @@ Object.keys(routePath.bizs).map((k) => { ...@@ -114,6 +114,10 @@ Object.keys(routePath.bizs).map((k) => {
if (isp == 0) { if (isp == 0) {
if (pathTmp == "/") { if (pathTmp == "/") {
tmp.components[pathTmp] = componentFactory("moreservice"); tmp.components[pathTmp] = componentFactory("moreservice");
if (companyinfo.company.sitename=="公司宝"){
tmp.components[pathTmp] = componentFactory("bycquerytm");
}
tmp["query"] = { "itemtype": "ip" }; tmp["query"] = { "itemtype": "ip" };
console.log("ppppppppppppppppppppppppppppppppp", tmp); console.log("ppppppppppppppppppppppppppppppppp", tmp);
} }
...@@ -1050,6 +1054,7 @@ var app = new Vue({ ...@@ -1050,6 +1054,7 @@ var app = new Vue({
}, },
backhome(name) { backhome(name) {
location.href="https://www.gongsibao.com";
if (name == 'policyShop') { if (name == 'policyShop') {
return window.open( location.protocol+ "?paramtheme=policy#/"); return window.open( location.protocol+ "?paramtheme=policy#/");
} }
......
...@@ -344,13 +344,14 @@ ...@@ -344,13 +344,14 @@
this.content1Top = 'padding-top:' + (window.innerHeight/3)+'px'; this.content1Top = 'padding-top:' + (window.innerHeight/3)+'px';
this.$root.showtopmenu(); this.$root.showtopmenu();
} }
setTimeout(()=>{ setTimeout(()=>{
this.initMounted(); this.initMounted();
if(this.a){ if(this.a){
this.moreservice("ip"); this.moreservice("ip");
} }
},500); },500);
}, },
created:function(){ created:function(){
/*this.$root.pushx({ /*this.$root.pushx({
......
...@@ -306,6 +306,7 @@ ...@@ -306,6 +306,7 @@
} }
}, },
mounted:function(){ mounted:function(){
this.$root.showHeadLogo(); this.$root.showHeadLogo();
this.$root.headerRowType = true; this.$root.headerRowType = true;
window.addEventListener('scroll', this.handleScroll, true); window.addEventListener('scroll', this.handleScroll, true);
...@@ -335,7 +336,7 @@ ...@@ -335,7 +336,7 @@
f(); f();
}, },
created:function(){ created:function(){
}, },
methods:{ methods:{
handleScroll () { handleScroll () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment