33 lines
662 B
Vue
33 lines
662 B
Vue
<template>
|
|
<div class="fixed-bottom">
|
|
<div class="flex justify-content-between align-items-center border-round-xs py-2 px-3 bg-color shadow-1">
|
|
<div><slot name="left"></slot></div>
|
|
<div><slot name="middle"></slot></div>
|
|
<div><slot name="right"></slot></div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from "vue";
|
|
|
|
export default defineComponent({
|
|
name: "BottomNavigation",
|
|
setup() {
|
|
return {};
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<style scoped>
|
|
.fixed-bottom {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
.bg-color {
|
|
background-color: var(--surface-a);
|
|
color: var(--text-color);
|
|
}
|
|
</style>
|