This commit is contained in:
xiaoyu
2023-09-03 20:08:42 +08:00
parent b1b6628af7
commit 27b8f6343c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -57,7 +57,7 @@
let link = document.querySelector("link[rel*='icon']") || document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
link.href = 'https://bo.liche.cn/favicon_liche.ico';
link.href = 'https://bo.liche.cn/favicon_hd.ico';
document.getElementsByTagName('head')[0].appendChild(link);
}else if(hostname=='dongfeng.haodian.cn'){
let link = document.querySelector("link[rel*='icon']") || document.createElement('link');
@@ -68,7 +68,7 @@
let link = document.querySelector("link[rel*='icon']") || document.createElement('link');
link.type = 'image/x-icon';
link.rel = 'shortcut icon';
link.href = 'https://bo.liche.cn/favicon_liche.ico';
link.href = 'https://bo.liche.cn/favicon_hd.ico';
}
}
</script>
+2 -2
View File
@@ -136,13 +136,13 @@
let hostname = window.location.hostname;
if (hostname == 'bo.liche.cn') {
this.logo =
'https://qs.haodian.cn/web/images/project/Admin-ShiYu/logo_liche.png';
'https://qs.haodian.cn/web/images/project/Admin-ShiYu/logo_hd.png';
} else if (hostname == 'dongfeng.haodian.cn') {
this.logo =
'https://qs.haodian.cn/web/images/project/Admin-ShiYu/logo_df.png';
} else {
this.logo =
'https://qs.haodian.cn/web/images/project/Admin-ShiYu/logo_liche.png';
'https://qs.haodian.cn/web/images/project/Admin-ShiYu/logo_hd.png';
}
},
computed: {