<template>
    <view>
        <page ref="list" />
    </view>
</template>

<script>
import page from "./modules/page.vue";
export default {
    components: { page },
    data() {
        return {

        }
    },
    onLoad(options) {
        if (options.id) {
            this.id = options.id - 0;
            setTimeout(() => {
                this.$refs.list.getDetail(this.id).then(detail => {
                    this.detail = detail;
                })
            }, 100)
        }
    }
}
</script>

<style></style>