add bottom navigation bar
This commit is contained in:
parent
0e54335e9d
commit
4051138da8
11 changed files with 136 additions and 24 deletions
|
@ -0,0 +1,41 @@
|
|||
<template>
|
||||
|
||||
<v-layout class="overflow-visible" style="height: 56px;">
|
||||
<v-bottom-navigation
|
||||
v-model="value"
|
||||
color="teal"
|
||||
grow
|
||||
>
|
||||
<router-link :to="{name: 'home'}">
|
||||
<v-btn :to="{name: 'home'}">
|
||||
<v-icon>mdi-map</v-icon>
|
||||
แผนที่
|
||||
</v-btn>
|
||||
</router-link>
|
||||
|
||||
<router-link :to="{name: 'favorite'}">
|
||||
<v-btn :to="{name: 'favorite'}">
|
||||
<v-icon>mdi-heart</v-icon>
|
||||
สถานที่โปรด
|
||||
</v-btn>
|
||||
</router-link>
|
||||
|
||||
<router-link :to="{name: 'setting'}">
|
||||
<v-btn :to="{name: 'setting'}">
|
||||
<v-icon>mdi-cog</v-icon>
|
||||
การตั้งค่า
|
||||
</v-btn>
|
||||
</router-link>
|
||||
|
||||
</v-bottom-navigation>
|
||||
</v-layout>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {RouterLink} from 'vue-router';
|
||||
|
||||
export default {
|
||||
data: () => ({ value: 1 }),
|
||||
}
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue