app/pages/tabbar/home/index.vue

37 lines
574 B
Vue
Raw Normal View History

2025-03-14 16:27:50 +08:00
<template>
<div class="wrapper">
2025-03-24 10:53:42 +08:00
<!-- 楼层装修组件 -->
<!-- <div v-for="i in 200">{{i}}</div> -->
<tpl ref="tpl" />
2025-03-14 16:27:50 +08:00
</div>
</template>
<script>
import tpl from "@/pages/tabbar/home/views.vue";
export default {
data() {
return {
background: {
backgroundColor: "#fff",
},
};
},
2025-03-24 10:53:42 +08:00
components: {
tpl,
},
2025-03-14 16:27:50 +08:00
onPullDownRefresh() {
2025-03-24 10:53:42 +08:00
console.log("下拉刷新");
2025-03-14 16:27:50 +08:00
this.$refs.tpl.init();
uni.stopPullDownRefresh();
},
};
</script>
<style lang="scss" scoped>
2025-03-19 15:35:09 +08:00
.wrapper{
}
2025-03-24 10:53:42 +08:00
2025-03-14 16:27:50 +08:00
</style>