<template>
    <div class="wevue-page-container" data-wevue-type="__page_instance__">
        {{XML}}
    </div>
</template>

<script>
    import {defaultPageMixins} from 'wevue-tools/config/default-page.mixins.js'
    let pagePath = __dirname+"/{{PAGENAME}}"
    let pageIndex = pagePath.replace(/^src\//,'').replace(/^pages/, '').replace(/\..*/,'')
    pageIndex = pageIndex.trim()
    __WEVUE_GI.PAGE_TMP_INDEX = pageIndex
    require('./{{PAGENAME}}.js')
    let componentsList = {{PAGECDEP}}
    let mixinsList = {{PAGEMDEP}}
    let directivesList = {{PAGEDDEP}}
    let pageConfig = {{PAGECONFIG}}
    export default {
        mixins:[defaultPageMixins({
            componentsList,
            mixinsList,
            directivesList,
            pageConfig,
            index:pageIndex
        })]
    }
</script>
<style scoped lang="less">
    .wevue-page-container{
        height:100%;
        position:relative;
    }
    {{WXSS}}
</style>