mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-03 11:48:17 +00:00
fix:修复导航按钮
This commit is contained in:
parent
45746684d5
commit
fd5088836b
3
public/site/css/common.css
vendored
3
public/site/css/common.css
vendored
@ -64,9 +64,6 @@ img {
|
|||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
}
|
}
|
||||||
.txt-4001620{
|
.txt-4001620{
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
|||||||
5
public/site/css/log.css
vendored
5
public/site/css/log.css
vendored
@ -132,3 +132,8 @@
|
|||||||
.filings{
|
.filings{
|
||||||
border-top: 1px solid var(--border-color);
|
border-top: 1px solid var(--border-color);
|
||||||
}
|
}
|
||||||
|
.log-a{
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|||||||
@ -247,7 +247,7 @@ const domHandle = (html)=>{
|
|||||||
const rLi = document.createElement('li');
|
const rLi = document.createElement('li');
|
||||||
rLi.className = `l-ul-item ${i==0?'active':''}`;
|
rLi.className = `l-ul-item ${i==0?'active':''}`;
|
||||||
rLi.innerHTML = `
|
rLi.innerHTML = `
|
||||||
<a class="txt-4001620 txt" href="#section-${i+1}">v${versionsNumbers[i]} 更新</a>
|
<a class="txt-4001620 txt log-a" href="#section-${i+1}">v${versionsNumbers[i]} 更新</a>
|
||||||
`;
|
`;
|
||||||
const rLi2 = document.createElement('li');
|
const rLi2 = document.createElement('li');
|
||||||
rLi2.className = `l-ul-item`;
|
rLi2.className = `l-ul-item`;
|
||||||
@ -256,7 +256,7 @@ const domHandle = (html)=>{
|
|||||||
logsDrawer.classList.remove('open-logs-drawer');
|
logsDrawer.classList.remove('open-logs-drawer');
|
||||||
});
|
});
|
||||||
rLi2.innerHTML = `
|
rLi2.innerHTML = `
|
||||||
<a class="txt-4001620 txt" href="#section-${i+1}" >v${versionsNumbers[i]} 更新</a>
|
<a class="txt-4001620 txt log-a" href="#section-${i+1}" >v${versionsNumbers[i]} 更新</a>
|
||||||
`;
|
`;
|
||||||
rlog.appendChild(rLi);
|
rlog.appendChild(rLi);
|
||||||
rlog2.appendChild(rLi2);
|
rlog2.appendChild(rLi2);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user