66 lines
957 B
Vue
66 lines
957 B
Vue
|
<template>
|
||
|
<view>
|
||
|
<view class="pad-zy30" :style="{paddingBottom: '70px'}">
|
||
|
<slot name="content"></slot>
|
||
|
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
name:"container-subgroup",
|
||
|
props:{
|
||
|
ifLoading:{
|
||
|
type:Boolean,
|
||
|
default:true
|
||
|
}
|
||
|
},
|
||
|
data() {
|
||
|
return {
|
||
|
statusBarHeight:uni.getSystemInfoSync().statusBarHeight + 50,
|
||
|
loading:true,
|
||
|
exist:''
|
||
|
};
|
||
|
},
|
||
|
// 执行顺序 第一
|
||
|
beforeCreate(){
|
||
|
|
||
|
},
|
||
|
// 执行顺序 第二
|
||
|
created(){
|
||
|
|
||
|
},
|
||
|
// 执行顺序 第三
|
||
|
beforeMount(){
|
||
|
|
||
|
},
|
||
|
// 执行顺序 第四
|
||
|
mounted(){
|
||
|
setTimeout(()=>{
|
||
|
this.loading = false;
|
||
|
},500)
|
||
|
},
|
||
|
// 组件更新前
|
||
|
beforeUpdate(){
|
||
|
|
||
|
},
|
||
|
// 组件更新后
|
||
|
updated(){
|
||
|
|
||
|
},
|
||
|
// 组件销毁前:实例销毁之前调用。在这一步,实例仍然完全可用
|
||
|
beforeDestroy(){
|
||
|
|
||
|
},
|
||
|
// 销毁所有实例
|
||
|
destroyed(){
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped>
|
||
|
|
||
|
</style>
|