提交 1c56519b 编写于 作者: X xjh22222228

fix: style

上级 00546a54
......@@ -192,11 +192,11 @@ Thank you for your [contribution](https://github.com/xjh22222228/nav/issues), me
您可以请作者喝杯咖啡,继续战斗下去(请备注Github名字)~
<img src="https://raw.sevencdn.com/xjh22222228/public/gh-pages/img/32.png" width="600">
<img src="https://cdn.jsdelivr.net/gh/xjh22222228/public@gh-pages/img/32.png" width="600">
感谢您的认可:
| 姓名 | 支持金额 |
| --------------------------------------- |----------- |
| [aiyou9](https://github.com/aiyou9) | ¥20.00 |
| [aiyou9](https://github.com/aiyou9) | ¥40.00 |
| 路人甲 | ¥50.00 |
......@@ -39,7 +39,7 @@ export function parseBookmark(htmlStr: string) {
const name = a.textContent
const createdAt = new Date(Number(a.getAttribute('add_date')) * 1000).toISOString()
const icon = a.getAttribute('icon') || null
const url = a.getAttribute('href')
const url = a.getAttribute('href') || ''
noCate.nav[0].nav[0].nav.push({
name,
createdAt,
......
......@@ -32,7 +32,7 @@ export default class HomeComponent {
openIndex = queryString().page
contentEl: HTMLElement
searchEngineList = searchEngineList
marginTop: number = 60
marginTop: number = 70
constructor (private router: Router, private activatedRoute: ActivatedRoute) {}
......@@ -69,7 +69,7 @@ export default class HomeComponent {
setTimeout(() => {
const headerEl = document.querySelector('.search-header')
this.marginTop = headerEl.clientHeight
this.marginTop = headerEl.clientHeight + 10
}, 26)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册