This commit is contained in:
2025-11-10 13:58:41 +08:00
parent b6d39a2288
commit 9a74364c18
14 changed files with 1223 additions and 134 deletions

View File

@@ -184,6 +184,18 @@ function side_list() {
var corr = result.data.relats;
$('.jour_correlate>a').attr('href', '/' + corr[0].usx);
$('.jour_correlate>a>img').attr('src', imgjourUrl + corr[0].icon)
}else{
$('.jour_correlate').css('display', 'none')
const parent = document.querySelector('.jour_notice');
if (parent) {
// 找父容器下第一个符合样式特征的div只取第一个
const firstTargetDiv = parent.querySelector('div[style*="height: 1px"][style*="background-color: #ddd"]');
if (firstTargetDiv) {
firstTargetDiv.style.display = 'none';
console.log('已隐藏第一个目标分割线');
}
}
}
// 感谢图片