• This project
    • Loading...
  • Sign in

fe / yohoblk-wap · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohoblk-wap
  • src
  • components
  • layout
  • layout-body.vue
  • commit
    0c567280
    by 陈峰
    2017-12-22 14:11:55 +0800  
    Browse Files
layout-body.vue 416 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<template>
    <div class="page">
        <slot name="header"></slot>
        <div class="page-content">
            <slot></slot>
        </div>
    </div>
</template>

<script>
import {mapState} from 'vuex';
export default {
    name: 'LayoutBody',
    props: {
        hideHeader: Boolean,
        autoHideHeader: Boolean
    },
    computed: {
        ...mapState(['yoho'])
    }
};
</script>

<style>

</style>