index.html
将徽标和标题var scene=window.location.host添加到web导航栏
if(Scene===‘Anfang.cn‘) ) ) ) ) )。
文档. query selector (link [ rel=' icon ' ] ).href='/static/anfang _ favicon.ico '
document.getelementsbytagname (' title ' )0).innertext=‘安全性‘;
}elseif(Scene===‘Xuexiao.cn‘) ) ) ) ) ) ) ) ) )。
document.query selector (link [ rel=' icon ' ] ).href='/static/school _ fac icon.ico '
document.getelementsbytagname (' title ' )0).innertext=‘校园云‘;
}