<template>
  <div class="container">
    <v-header :title="title">
      <span slot="action" class="header-slot pull-right">xxx</span>
    </v-header>
    <div class="content" ref="contentWrapper">
      <div>
          <div>content</div>
      </div>
    </div>
  </div>
</template>

<script>
import BScroll from 'better-scroll'
export default {
    name: 'Template',
    components: {
        VHeader: () => import('@/common/header/VHeader')
    },
    data () {
        return {
            title: 'Template'
        }
    },
    methods: {
    },
    created () {
    },
    mounted () {
        this.$nextTick(() => {
            this.scroll = new BScroll(this.$refs.contentWrapper, {
                click: true
            })
        })
    }
}
</script>

<style lang="less" scoped>
</style>
