ChartApp.vue 1.36 KB
Newer Older
Cheng's avatar
Cheng committed
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
<template>
    <v-content class="ma-0 pa-0">
        <v-container ma-0 pa-0 flat>

            <router-view></router-view>

            <v-bottom-nav
                    :active.sync="bottomNav"
                    :value="true"
                    absolute
                    style=" overflow: hidden;
                        position: fixed;
                        bottom: 0;
                        width: 100%;"

            >
                <v-btn
                        color="teal"
                        flat
                        value="panel"
                        depressed
                        :to="{name: 'panel'}"
                >
                    <span>仪表盘</span>
                    <v-icon>table_chart</v-icon>
                </v-btn>

                <v-btn
                        color="teal"
                        flat
                        value="mine"
                        depressed
                        :to="{name: 'mine'}"
                >
                    <span>我的</span>
                    <v-icon>account_box</v-icon>

                </v-btn>
            </v-bottom-nav>
        </v-container>
    </v-content>
</template>
<script>

    export default {
        data() {
            return {
                bottomNav: 'panel'
            }
        },

        components: {}
    }
</script>

<style scoped>

</style>