lilishop-uniapp/pages/tabbar/home/index.vue

31 lines
482 B
Vue
Raw Normal View History

2021-05-13 11:03:32 +08:00
<template>
<div class="wrapper">
2021-05-24 15:49:22 +08:00
<!-- 楼层装修组件 -->
<tpl ref="tpl" />
2021-05-13 11:03:32 +08:00
</div>
</template>
<script>
import tpl from "@/pages/tabbar/home/views.vue";
2021-06-04 18:11:34 +08:00
2021-05-13 11:03:32 +08:00
export default {
data() {
return {
background: {
backgroundColor: "#fff",
},
};
},
onPullDownRefresh() {
this.$refs.tpl.init();
uni.stopPullDownRefresh();
},
2021-05-13 11:03:32 +08:00
components: {
tpl,
},
};
</script>
<style lang="scss" scoped>
</style>