refactor PageTransition and PullDownRefresh

This commit is contained in:
Timi
2026-09-21 01:22:10 +08:00
parent 2fbd4c9fd0
commit 4e860800a7
40 changed files with 506 additions and 116 deletions
+28
View File
@@ -0,0 +1,28 @@
<template>
<div class="page">
<component :is="component" />
</div>
</template>
<script setup lang="ts">
import type { Component } from "vue";
defineOptions({
name: "RoutePage"
});
defineProps<{
component: Component;
background: string;
}>();
</script>
<style scoped lang="less">
.page {
width: 100%;
height: 100%;
overflow: auto;
overflow-x: clip;
background: v-bind(background);
}
</style>