重写驭鑫网站 new yxsilicon
This commit is contained in:
@@ -164,4 +164,13 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
} else {
|
||||
console.error('地图容器不存在');
|
||||
}
|
||||
if (window.location.hash === '#address-li') {
|
||||
const addressLi = document.getElementById('address-li');
|
||||
if (addressLi) {
|
||||
addressLi.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user