Commit 10fa5683 by 赵增煜

替换logo

parent 10f756e4
...@@ -34,7 +34,7 @@ function traverseNodes(node, keyword, replacement) { ...@@ -34,7 +34,7 @@ function traverseNodes(node, keyword, replacement) {
} }
} }
} }
function replace_logo(){ function replaceLogo(){
// 选择所有具有 'logo-icon' 类的元素 // 选择所有具有 'logo-icon' 类的元素
const logoIcons = document.querySelectorAll('.logo-icon'); const logoIcons = document.querySelectorAll('.logo-icon');
...@@ -46,6 +46,7 @@ function replace_logo(){ ...@@ -46,6 +46,7 @@ function replace_logo(){
} }
window.onload = function() { window.onload = function() {
//replaceQrCode(); //replaceQrCode();
replaceLogo();
replaceKeywords('新橙科技', '同知堂科技'); replaceKeywords('新橙科技', '同知堂科技');
replaceKeywords('粤ICP备15024370号-7', '苏ICP备2023017636号-1'); replaceKeywords('粤ICP备15024370号-7', '苏ICP备2023017636号-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 sign in to comment