mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-01 07:26:47 +00:00
微调交互、样式
This commit is contained in:
@@ -43,7 +43,15 @@ const Header = props => {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 吸附滚动,移动端关闭
|
||||
* @returns
|
||||
*/
|
||||
const scrollTrigger = () => {
|
||||
if (screen.width <= 768) {
|
||||
return
|
||||
}
|
||||
|
||||
const scrollS = window.scrollY
|
||||
|
||||
// 自动滚动
|
||||
|
||||
Reference in New Issue
Block a user