feat: 添加 useIntersectionObserverList 页面,支持懒加载和可见性检测
This commit is contained in:
@ -16,8 +16,8 @@
|
||||
app.style.minHeight = `${window.innerHeight}px`;
|
||||
}
|
||||
|
||||
window.addEventListener('resize', setAppHeight);
|
||||
window.addEventListener('load', setAppHeight);
|
||||
// window.addEventListener('resize', setAppHeight);
|
||||
// window.addEventListener('load', setAppHeight);
|
||||
</script>
|
||||
<style type="text/css">
|
||||
body {
|
||||
@ -43,7 +43,8 @@
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body ontouchstart ontouchend>
|
||||
<!-- ontouchstart ontouchend -->
|
||||
<body>
|
||||
<div id="app">
|
||||
<div class="page-wrapper" style="display: flex; justify-content: center; align-items: center">Loading...</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user