Commit 61311469 by 刘泽奇

123

parent 928bf664
...@@ -193,6 +193,8 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => { ...@@ -193,6 +193,8 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
$("#app").css("visibility", 'visible'); $("#app").css("visibility", 'visible');
this.loading = false; this.loading = false;
this.channelName = location.hash.split('/')[1]; this.channelName = location.hash.split('/')[1];
}, },
updated() { updated() {
...@@ -200,7 +202,6 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => { ...@@ -200,7 +202,6 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
this.accessTitle();
this.handleHeader(); this.handleHeader();
}); });
console.log($.fn.jquery, "vvvvvvvvvvvvvvvvv"); console.log($.fn.jquery, "vvvvvvvvvvvvvvvvv");
...@@ -214,18 +215,25 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => { ...@@ -214,18 +215,25 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
$route: { $route: {
handler: function (val, oldVal) { handler: function (val, oldVal) {
console.log("bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb;;", val, oldVal); console.log("bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb;;", val, oldVal);
if (val.path == "/bw/jdindentdetail") { var title = document.getElementById('idtitle');
if (location.hostname == "xwzc.xiaowangtech.com") {
title.innerText = "小望商标注册服务";
this.fromListPath = oldVal.path; this.fromListPath = oldVal.path;
this.logoImg = '/imgs/bwlogo.png';
this.homeUrl = "/bw/jdtrademark";
this.footerText = "浙江小望科技有限公司";
console.log(this.fromListPath, 'ttttttttttttttttttttttttttttttt'); console.log(this.fromListPath, 'ttttttttttttttttttttttttttttttt');
}; };
if (val.fullPath == "/jd/jdtrademark" && location.hostname == "tm.plus.jdcloud.com") { if (val.fullPath == "/jd/jdtrademark" && location.hostname == "tm.plus.jdcloud.com") {
this.jdSelfHeaderShow = true; this.jdSelfHeaderShow = true;
this.jdSelfFooterShow = true; this.jdSelfFooterShow = true;
title.innerText = "京东云商标注册服务";
this.channelName = location.hash.split('/')[1]; this.channelName = location.hash.split('/')[1];
}; };
if (val.fullPath == "/jd/jdindustry" && location.hostname == "gs.plus.jdcloud.com") { if (val.fullPath == "/jd/jdindustry" && location.hostname == "gs.plus.jdcloud.com") {
this.jdSelfHeaderShow = true; this.jdSelfHeaderShow = true;
this.jdSelfFooterShow = true; this.jdSelfFooterShow = true;
title.innerText = "京东云工商注册服务";
this.channelName = location.hash.split('/')[1]; this.channelName = location.hash.split('/')[1];
}; };
......
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