源文件

This commit is contained in:
gyq
2024-05-23 14:39:33 +08:00
commit a1128dd791
2997 changed files with 500069 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<template>
<view class="main" :class="{ 'main-hidden': vdata.hidden }">
<slot />
</view>
</template>
<script setup>
import { reactive, provide } from 'vue'
const vdata = reactive({
hidden: false,
})
const wrapperHidden = (e) => {
return (vdata.hidden = e)
}
provide('wrapperHidden', wrapperHidden)
</script>
<style lang="scss" scoped>
.main {
min-height: 100vh;
}
.main-hidden {
height: 99vh;
overflow: hidden;
}
</style>