Commit 378b5f0f by 赵增煜

替换logo

parent 99e6df7d
...@@ -42,6 +42,10 @@ function replaceLogo(){ ...@@ -42,6 +42,10 @@ function replaceLogo(){
logoIcons.forEach(element => { logoIcons.forEach(element => {
// 替换背景图片的 URL 和位置等信息 // 替换背景图片的 URL 和位置等信息
element.style.background = "url('https://cloud-rx-prod-1324994225.cos.ap-shanghai.myqcloud.com/static/images/logo.png')"; element.style.background = "url('https://cloud-rx-prod-1324994225.cos.ap-shanghai.myqcloud.com/static/images/logo.png')";
element.style.backgroundSize = "cover";
element.style.backgroundPosition = "center";
element.style.width = "50px";
element.style.height = "50px";
}); });
} }
window.onload = function() { window.onload = function() {
......
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