mirror of
https://github.com/spark-store-project/spark-store-abyss
synced 2026-06-22 09:44:16 +08:00
feat: implement index section 2
Co-authored-by: Sylvanysc <Sylvanysc@users.noreply.github.com> Co-authored-by: xudeyu444 <xudeyu444@users.noreply.github.com> Co-authored-by: 奕 <a18355849597@outlook.com>
This commit is contained in:
@@ -44,7 +44,18 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<ScrollPanel ref="scrollPanel" style="width: 100vw; height: 100vh">
|
||||
<ScrollPanel
|
||||
ref="scrollPanel"
|
||||
style="width: 100vw; height: 100vh"
|
||||
:pt="{
|
||||
content: {
|
||||
class: 'snap-y snap-mandatory scroll-smooth',
|
||||
style: {
|
||||
scrollDuration: '2s',
|
||||
},
|
||||
},
|
||||
}"
|
||||
>
|
||||
<header
|
||||
class="fixed w-full z-10 px-12"
|
||||
:style="{ '--s-progress': sProgress }"
|
||||
|
||||
Reference in New Issue
Block a user