提交
This commit is contained in:
@@ -5,6 +5,31 @@ var commonTableTitleColor = 'rgb(210,90,90)'//上角标颜色
|
||||
var commonSupFontColor = 'color:rgb(0,112,192);'//上角标字体颜色
|
||||
const style = document.createElement('style');
|
||||
style.innerHTML = `
|
||||
.mb_aform{
|
||||
display:none;
|
||||
}
|
||||
.pos_ter{
|
||||
padding:10px;
|
||||
}
|
||||
.pos_ter>div:nth-child(1) {
|
||||
width: 25%;
|
||||
}
|
||||
.pos_ter>a {
|
||||
width: 23%;
|
||||
}
|
||||
.pos_ter>div:nth-child(3) {
|
||||
width: 23%;
|
||||
}
|
||||
|
||||
.pos_ter>div:nth-child(4) {
|
||||
width: 23%;
|
||||
|
||||
}
|
||||
|
||||
.footer .daohang ul{
|
||||
width: 26% !important;
|
||||
|
||||
}
|
||||
|
||||
`
|
||||
|
||||
@@ -2399,11 +2424,11 @@ function initArticleHtml(htmlData, refs, type, otherList) {
|
||||
// anchor.addEventListener('click', function (e) {
|
||||
// const href = this.getAttribute('href');
|
||||
// const target = document.querySelector(href);
|
||||
|
||||
|
||||
// if (target) {
|
||||
// e.preventDefault();
|
||||
// const offset = 100; // 调整这里的偏移距离
|
||||
|
||||
|
||||
// window.scrollTo({
|
||||
// top: target.offsetTop - offset,
|
||||
// behavior: 'smooth'
|
||||
@@ -2411,7 +2436,7 @@ function initArticleHtml(htmlData, refs, type, otherList) {
|
||||
// }
|
||||
// });
|
||||
// });
|
||||
|
||||
|
||||
const waitForTop = setInterval(() => {
|
||||
const bar = document.querySelector('.v4-art-top');
|
||||
if (bar) {
|
||||
|
||||
Reference in New Issue
Block a user